1cc_defaults { 2 name: "mcld-defaults", 3 defaults: ["llvm-defaults"], 4 5 cppflags: [ 6 "-Wall", 7 "-Wno-unused-parameter", 8 "-Wno-unused-private-field", 9 "-Wno-unused-const-variable", 10 "-Werror", 11 12 //To enable asserts: 13 //"-D_DEBUG", 14 //"-UNDEBUG", 15 ], 16 17 target: { 18 arm_on_x86: { 19 cflags: [ 20 "-DPROVIDE_ARM_CODEGEN", 21 "-DFORCE_BUILD_ARM", 22 ], 23 }, 24 arm_on_x86_64: { 25 cflags: [ 26 "-DPROVIDE_ARM_CODEGEN", 27 "-DFORCE_BUILD_ARM", 28 ], 29 }, 30 }, 31 32 include_dirs: [ 33 "frameworks/compile/mclinker/include", 34 ], 35} 36 37subdirs = [ 38 "lib", 39 "tools/mcld", 40] 41