1cc_library { 2 name: "libseccomp_policy", 3 srcs: [ 4 "seccomp_policy.cpp", 5 "arm_app_policy.cpp", 6 "arm_global_policy.cpp", 7 "arm_system_policy.cpp", 8 "arm64_app_policy.cpp", 9 "arm64_global_policy.cpp", 10 "arm64_system_policy.cpp", 11 "x86_app_policy.cpp", 12 "x86_global_policy.cpp", 13 "x86_system_policy.cpp", 14 "x86_64_app_policy.cpp", 15 "x86_64_global_policy.cpp", 16 "x86_64_system_policy.cpp", 17 "mips_app_policy.cpp", 18 "mips_global_policy.cpp", 19 "mips_system_policy.cpp", 20 "mips64_app_policy.cpp", 21 "mips64_global_policy.cpp", 22 "mips64_system_policy.cpp", 23 ], 24 export_include_dirs: ["include"], 25 cflags: [ 26 "-Wall", 27 "-Werror", 28 ], 29 shared: { 30 shared_libs: ["libbase"], 31 }, 32 static: { 33 static_libs: ["libbase"], 34 }, 35} 36