46 lines
985 B
Plaintext
46 lines
985 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "server_configurable_flags",
|
|
srcs: ["server_configurable_flags.cc"],
|
|
host_supported: true,
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.os.statsd",
|
|
"com.android.neuralnetworks",
|
|
"com.android.resolv",
|
|
],
|
|
min_sdk_version: "29",
|
|
}
|
|
|
|
// Tests
|
|
// ------------------------------------------------------------------------------
|
|
cc_test {
|
|
name: "server_configurable_flags_test",
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wextra",
|
|
],
|
|
srcs: [
|
|
"server_configurable_flags_test.cc",
|
|
],
|
|
shared_libs: [
|
|
"server_configurable_flags",
|
|
"libbase",
|
|
],
|
|
local_include_dirs: ["."],
|
|
test_suites: ["device-tests"],
|
|
}
|