2017-05-25 18:53:47 +02:00
|
|
|
cc_library_host_shared {
|
|
|
|
name: "libsepolwrap",
|
|
|
|
srcs: ["sepol_wrap.cpp"],
|
|
|
|
shared_libs: ["libbase", "libsepol"],
|
|
|
|
cflags: ["-Wall", "-Werror",],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
}
|
2017-06-01 00:36:07 +02:00
|
|
|
|
|
|
|
cc_prebuilt_binary {
|
|
|
|
name: "policy.py",
|
|
|
|
srcs: ["policy.py"],
|
|
|
|
host_supported: true,
|
|
|
|
required: ["libsepolwrap"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_prebuilt_binary {
|
|
|
|
name: "treble_sepolicy_tests.py",
|
|
|
|
srcs: ["treble_sepolicy_tests.py"],
|
|
|
|
host_supported: true,
|
|
|
|
required: ["policy.py"],
|
|
|
|
}
|
2017-06-07 18:59:26 +02:00
|
|
|
|
|
|
|
cc_prebuilt_binary {
|
|
|
|
name: "sepolicy_tests.py",
|
|
|
|
srcs: ["sepolicy_tests.py"],
|
|
|
|
host_supported: true,
|
|
|
|
required: ["policy.py"],
|
|
|
|
}
|