1LOCAL_CXX_STL := libc++ 2 3LOCAL_CPP_EXTENSION := cc 4 5LOCAL_CFLAGS += \ 6 -Wall \ 7 -Werror \ 8 -Wno-endif-labels \ 9 -Wno-import \ 10 -Wno-format \ 11 -Wno-unused-parameter \ 12 -Wno-unused-private-field \ 13 -Wno-sign-compare \ 14 -Wno-missing-field-initializers \ 15 -Wno-ignored-qualifiers \ 16 -Wno-undefined-var-template \ 17 -fno-exceptions \ 18 -fvisibility=hidden \ 19 -DENABLE_DEBUGGER_SUPPORT \ 20 -DENABLE_LOGGING_AND_PROFILING \ 21 -DENABLE_VMSTATE_TRACKING \ 22 -DV8_NATIVE_REGEXP \ 23 -DV8_I18N_SUPPORT \ 24 -std=gnu++0x \ 25 -Os 26 27LOCAL_CFLAGS_arm += -DV8_TARGET_ARCH_ARM 28LOCAL_CFLAGS_arm64 += -DV8_TARGET_ARCH_ARM64 29 30LOCAL_CFLAGS_mips += -DV8_TARGET_ARCH_MIPS \ 31 -Umips \ 32 -finline-limit=64 \ 33 -fno-strict-aliasing 34LOCAL_CFLAGS_mips64 += -DV8_TARGET_ARCH_MIPS64 \ 35 -Umips \ 36 -finline-limit=64 \ 37 -fno-strict-aliasing 38 39LOCAL_CFLAGS_x86 += -DV8_TARGET_ARCH_IA32 40LOCAL_CFLAGS_x86_64 += -DV8_TARGET_ARCH_X64 41 42 43 44