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