aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2019-07-24 19:40:34 +0100
committerRoland Levillain <rpl@google.com>2019-07-24 20:02:10 +0100
commitd4628f1401069daf81c3a1e7d7622a43572f60dd (patch)
treec08fd19e009dcc4776bca422e24d2e0030de44ce
parent9ae23c4ac3095c2b4826d0830e22f1a74e4e8bf4 (diff)
downloadcpu_features-d4628f1401069daf81c3a1e7d7622a43572f60dd.tar.gz
Remove architecture-specific cpu_features-cpuinfo-*-test tests.
They are no longer useful now that we have cpu_features-cpuinfo_test. Test: atest --all-abi --test-mapping external/cpu_features:presubmit Bug: 122712425 Change-Id: I877f96e84de3f7f8ff797241b2adcb13db0eea6e
-rw-r--r--Android.bp79
1 files changed, 4 insertions, 75 deletions
diff --git a/Android.bp b/Android.bp
index ac007ed..79a3a29 100644
--- a/Android.bp
+++ b/Android.bp
@@ -263,84 +263,13 @@ cc_test {
],
}
-cc_defaults {
- name: "cpu_features-cpuinfo-test-defaults",
- defaults: ["cpu_features-test-defaults"],
- static_libs: [
- "libcpu_features-all_libraries",
- ],
-}
-
-cc_test {
- name: "cpu_features-cpuinfo_x86_test",
- defaults: ["cpu_features-cpuinfo-test-defaults"],
- enabled: false,
- arch: {
- x86: {
- enabled: true,
- },
- x86_64: {
- enabled: true,
- },
- },
- target: {
- windows: {
- enabled: false,
- },
- },
- cflags: [
- "-DCPU_FEATURES_MOCK_CPUID_X86",
- "-Wno-unused-variable",
- ],
- srcs: [
- "test/cpuinfo_x86_test.cc",
- "src/cpuinfo_x86.c",
- ],
-}
-
-cc_test {
- name: "cpu_features-cpuinfo_arm_test",
- defaults: [
- "cpu_features-cpuinfo-test-defaults",
- "stack_line_reader-defaults",
- ],
- enabled: false,
- arch: {
- arm: {
- enabled: true,
- },
- },
- srcs: [
- "test/cpuinfo_arm_test.cc",
- "src/cpuinfo_arm.c",
- ],
-}
-
-cc_test {
- name: "cpu_features-cpuinfo_aarch64_test",
- enabled: false,
- defaults: [
- "cpu_features-cpuinfo-test-defaults",
- "stack_line_reader-defaults",
- ],
- arch: {
- arm64: {
- enabled: true,
- },
- },
- cflags: [
- "-Wno-gnu-designator",
- ],
- srcs: [
- "test/cpuinfo_aarch64_test.cc",
- "src/cpuinfo_aarch64.c",
- ],
-}
-
cc_test {
name: "cpu_features-cpuinfo_test",
defaults: [
- "cpu_features-cpuinfo-test-defaults",
+ "cpu_features-test-defaults",
+ ],
+ static_libs: [
+ "libcpu_features-all_libraries",
],
arch: {
x86: {