OSDN Git Service

List test_config_template to android platform only.
authorDan Shi <dshi@google.com>
Fri, 14 Dec 2018 17:56:36 +0000 (09:56 -0800)
committerDan Shi <dshi@google.com>
Fri, 14 Dec 2018 17:56:36 +0000 (09:56 -0800)
This allows host side test config to be auto-generated from the right
template.

Bug: 120993548
Test: m -j net_test_avrcp && atest net_test_avrcp --host
Change-Id: I003713ea3c1c4c1c0686551828d817227ec19019

build/Android.bp

index 529d957..677ad7b 100644 (file)
@@ -55,7 +55,11 @@ fluoride_defaults {
 
 fluoride_defaults {
     name: "fluoride_defaults",
-    test_config_template: ":BluetoothTestConfigTemplate",
+    target: {
+        android: {
+            test_config_template: ":BluetoothTestConfigTemplate",
+        }
+    },
     defaults: ["fluoride_types_defaults"],
     header_libs: ["libbluetooth_headers"],
     static_libs: [