-
Notifications
You must be signed in to change notification settings - Fork 4
/
Android.v8common.mk
44 lines (35 loc) · 1000 Bytes
/
Android.v8common.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
LOCAL_CXX_STL := libc++
LOCAL_CPP_EXTENSION := cc
LOCAL_CFLAGS += \
-Wno-endif-labels \
-Wno-import \
-Wno-format \
-Wno-unused-parameter \
-Wno-sign-compare \
-Wno-missing-field-initializers \
-Wno-ignored-qualifiers \
-Wno-undefined-var-template \
-fno-exceptions \
-fvisibility=hidden \
-DENABLE_DEBUGGER_SUPPORT \
-DENABLE_LOGGING_AND_PROFILING \
-DENABLE_VMSTATE_TRACKING \
-DV8_NATIVE_REGEXP \
-DV8_I18N_SUPPORT \
-std=gnu++0x \
-Os
LOCAL_CFLAGS_arm += -DV8_TARGET_ARCH_ARM
LOCAL_CFLAGS_arm64 += -DV8_TARGET_ARCH_ARM64
# atomicops_internals_arm64_gcc.h:77:49: error:
# expected compatible register, symbol or integer in range [0, 4095]
LOCAL_CLANG_CFLAGS_arm64 += -no-integrated-as
LOCAL_CFLAGS_mips += -DV8_TARGET_ARCH_MIPS \
-Umips \
-finline-limit=64 \
-fno-strict-aliasing
LOCAL_CFLAGS_mips64 += -DV8_TARGET_ARCH_MIPS64 \
-Umips \
-finline-limit=64 \
-fno-strict-aliasing
LOCAL_CFLAGS_x86 += -DV8_TARGET_ARCH_IA32
LOCAL_CFLAGS_x86_64 += -DV8_TARGET_ARCH_X64