a0e75045e6
adbd (and its dependencies) are marked as recovery_available:true so that recovery version of the binary is built separately from the one for system partition. This allows us to stop copying the system version to the recovery partition and also opens up the way to enable shared libraries in the recovery partition. Then we can also build adbd as a dynamic executable. Bug: 79146551 Test: m -j adbd.recovery Change-Id: Ib95614c7435f9d0afc02a0c7d5ae1a94e439e32a
18 lines
430 B
Text
18 lines
430 B
Text
cc_library {
|
|
name: "libkeyutils",
|
|
cflags: ["-Werror"],
|
|
defaults: ["linux_bionic_supported"],
|
|
recovery_available: true,
|
|
export_include_dirs: ["include/"],
|
|
local_include_dirs: ["include/"],
|
|
srcs: ["keyutils.cpp"],
|
|
stl: "none",
|
|
}
|
|
|
|
cc_test {
|
|
name: "libkeyutils-tests",
|
|
cflags: ["-Werror"],
|
|
shared_libs: ["libkeyutils"],
|
|
srcs: ["keyutils_test.cpp"],
|
|
test_suites: ["device-tests"],
|
|
}
|