e1ddc6df75
Bug: 37008075 Test: build policy on Marlin Change-Id: I53748f94c5df66fa17a53e7d0bed1be6b8603544
21 lines
485 B
Text
21 lines
485 B
Text
cc_library_host_shared {
|
|
name: "libsepolwrap",
|
|
srcs: ["sepol_wrap.cpp"],
|
|
shared_libs: ["libbase", "libsepol"],
|
|
cflags: ["-Wall", "-Werror",],
|
|
export_include_dirs: ["include"],
|
|
}
|
|
|
|
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"],
|
|
}
|