2022-02-09 14:36:00 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_defaults {
|
|
|
|
name: "compos_key_defaults",
|
|
|
|
apex_available: ["com.android.compos"],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libcrypto",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library {
|
|
|
|
name: "libcompos_key",
|
|
|
|
defaults: ["compos_key_defaults"],
|
|
|
|
srcs: ["compos_key.cpp"],
|
2022-02-10 15:07:27 +00:00
|
|
|
export_include_dirs: ["."],
|
2022-02-09 14:36:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
name: "compos_key_helper",
|
|
|
|
defaults: ["compos_key_defaults"],
|
|
|
|
srcs: ["compos_key_main.cpp"],
|
|
|
|
|
2022-11-10 12:17:42 +00:00
|
|
|
header_libs: ["vm_payload_restricted_headers"],
|
2022-10-06 18:53:56 +00:00
|
|
|
static_libs: [
|
|
|
|
"libcompos_key",
|
|
|
|
],
|
2022-02-09 14:36:00 +00:00
|
|
|
shared_libs: [
|
2022-10-31 17:02:50 +00:00
|
|
|
"libvm_payload#current",
|
2022-02-10 15:07:27 +00:00
|
|
|
"libbinder_ndk",
|
2022-02-09 14:36:00 +00:00
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
name: "compos_key_tests",
|
|
|
|
defaults: ["compos_key_defaults"],
|
|
|
|
test_suites: [
|
|
|
|
"general-tests",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: ["compos_key_test.cpp"],
|
|
|
|
static_libs: ["libcompos_key"],
|
|
|
|
}
|