Add asm.js to build_config.h.
Bug: 804907 Change-Id: I194c59129cad52b0775181d8582c9529590af74f Reviewed-on: https://chromium-review.googlesource.com/870813 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#531574} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: afff0508d704346222ee1c72e598d53e0ff146bc
This commit is contained in:
Родитель
e817cfa9e5
Коммит
b2f47fdae0
|
@ -63,6 +63,8 @@
|
|||
#define OS_QNX 1
|
||||
#elif defined(_AIX)
|
||||
#define OS_AIX 1
|
||||
#elif defined(__asmjs__)
|
||||
#define OS_ASMJS
|
||||
#else
|
||||
#error Please add support for your platform in build/build_config.h
|
||||
#endif
|
||||
|
@ -77,10 +79,10 @@
|
|||
|
||||
// For access to standard POSIXish features, use OS_POSIX instead of a
|
||||
// more specific macro.
|
||||
#if defined(OS_AIX) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \
|
||||
defined(OS_FUCHSIA) || defined(OS_LINUX) || defined(OS_MACOSX) || \
|
||||
defined(OS_NACL) || defined(OS_NETBSD) || defined(OS_OPENBSD) || \
|
||||
defined(OS_QNX) || defined(OS_SOLARIS)
|
||||
#if defined(OS_AIX) || defined(OS_ANDROID) || defined(OS_ASMJS) || \
|
||||
defined(OS_FREEBSD) || defined(OS_FUCHSIA) || defined(OS_LINUX) || \
|
||||
defined(OS_MACOSX) || defined(OS_NACL) || defined(OS_NETBSD) || \
|
||||
defined(OS_OPENBSD) || defined(OS_QNX) || defined(OS_SOLARIS)
|
||||
#define OS_POSIX 1
|
||||
#endif
|
||||
|
||||
|
@ -143,7 +145,7 @@
|
|||
#define ARCH_CPU_ARM64 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
#elif defined(__pnacl__)
|
||||
#elif defined(__pnacl__) || defined(__asmjs__)
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
#elif defined(__MIPSEL__)
|
||||
|
|
Загрузка…
Ссылка в новой задаче