Files
android_packages_modules_Co…/tests/cts/net/native/dns/Android.bp
Luke Huang b243be34f7 Set the SDK version to 29 for networking native tests included in MTS
Here comes a new relocations scheme that isn't compatible with Q
devices after aosp/1673945.
In order to avoid our tests are built with the new scheme, set SDK
version to 29.

Bug: 187905499
Test: forrest, atest
Change-Id: I31f13e2b95bacdca4c1897742cada2da169a89fd
2021-05-24 19:33:48 +00:00

49 lines
946 B
Plaintext

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults {
name: "dns_async_defaults",
cflags: [
"-fstack-protector-all",
"-g",
"-Wall",
"-Wextra",
"-Werror",
"-Wnullable-to-nonnull-conversion",
"-Wsign-compare",
"-Wthread-safety",
"-Wunused-parameter",
],
srcs: [
"NativeDnsAsyncTest.cpp",
],
shared_libs: [
"libandroid",
"liblog",
"libutils",
],
// To be compatible with Q devices, the min_sdk_version must be 29.
min_sdk_version: "29",
}
cc_test {
name: "CtsNativeNetDnsTestCases",
defaults: ["dns_async_defaults"],
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
test_suites: [
"cts",
"general-tests",
"mts-dnsresolver",
"mts-networking",
],
}