OSDN Git Service

release-request-8cd2a23c-f767-488e-8139-390d1636483f-for-git_oc-mr1-release-4323561...
[android-x86/hardware-interfaces.git] / Android.bp
index 1e930dc..7ae00b6 100644 (file)
@@ -1,55 +1,40 @@
-// This is an autogenerated file, do not edit.
 subdirs = [
-    "audio/2.0",
-    "audio/2.0/default",
-    "audio/common/2.0",
-    "audio/effect/2.0",
-    "benchmarks/msgq/1.0",
-    "biometrics/fingerprint/2.1",
-    "bluetooth/1.0",
-    "boot/1.0",
-    "broadcastradio/1.0",
-    "example/extension/light/2.0",
-    "gnss/1.0",
-    "graphics/allocator/2.0",
-    "graphics/allocator/2.0/default",
-    "graphics/composer/2.1",
-    "graphics/composer/2.1/default",
-    "graphics/mapper/2.0",
-    "graphics/mapper/2.0/default",
-    "light/2.0",
-    "memtrack/1.0",
-    "memtrack/1.0/default",
-    "nfc/1.0",
-    "nfc/1.0/default",
-    "nfc/1.0/vts/functional",
-    "power/1.0",
-    "power/1.0/default",
-    "radio/1.0",
-    "sensors/1.0",
-    "sensors/1.0/default",
-    "soundtrigger/2.0",
-    "tests/bar/1.0",
-    "tests/bar/1.0/default",
-    "tests/baz/1.0",
-    "tests/expression/1.0",
-    "tests/foo/1.0",
-    "tests/foo/1.0/default",
-    "tests/foo/1.0/default/lib",
-    "tests/libhwbinder/1.0",
-    "tests/libhwbinder/1.0/default",
-    "tests/msgq/1.0",
-    "tests/pointer/1.0",
-    "tests/pointer/1.0/default",
-    "tests/pointer/1.0/default/lib",
-    "thermal/1.0",
-    "thermal/1.0/default",
-    "tv/input/1.0",
-    "vehicle/2.0",
-    "vibrator/1.0",
-    "vibrator/1.0/default",
-    "vr/1.0",
-    "vr/1.0/default",
-    "wifi/1.0",
-    "wifi/supplicant/1.0",
+    "*"
 ]
+
+cc_defaults {
+    name: "hidl_defaults",
+    cflags: [
+        "-Wall",
+        "-Werror",
+    ],
+}
+
+// VTS tests must link to HAL definition libraries statically.
+cc_defaults {
+    name: "VtsHalTargetTestDefaults",
+    defaults: ["hidl_defaults"],
+
+    // Lists all dependencies that can *not* be expected on the device.
+    static_libs: [
+        "VtsHalHidlTargetTestBase",
+    ],
+    group_static_libs: true,
+
+    // Lists all system dependencies that can be expected on the device.
+    shared_libs: [
+        "libbase",
+        // All the following are dependencies of any HAL definition library.
+        "libcutils",
+        "liblog",
+        "libhidlbase",
+        "libhidltransport",
+        "libhwbinder",
+        "libutils",
+    ],
+    cflags: [
+        "-O0",
+        "-g",
+    ],
+
+}