summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-03-24 22:22:20 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-24 22:22:20 -0700
commitc3e7ee4f693455f6f7bc5b5e573de6692fb3bc05 (patch)
treedbdfa1a5e871697ec4088b3d09987953b987a8d8
parenta120c15f6f4190fcda3853be10f21c9812bb349b (diff)
parentcf86673c9f92982902037b203b39514084018310 (diff)
downloadframework-c3e7ee4f693455f6f7bc5b5e573de6692fb3bc05.tar.gz
am: cf86673c9f Change-Id: I6f43310507c37840152f082980bf726032444950
-rw-r--r--harnesses/Android.bp20
-rw-r--r--harnesses/Android.mk26
-rw-r--r--tools/host_controller/Android.bp18
-rw-r--r--tools/host_controller/Android.mk21
4 files changed, 38 insertions, 47 deletions
diff --git a/harnesses/Android.bp b/harnesses/Android.bp
new file mode 100644
index 0000000..93e059b
--- /dev/null
+++ b/harnesses/Android.bp
@@ -0,0 +1,20 @@
+//
+// Copyright (C) 2017 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+java_import_host {
+ name: "tradefed-cts-prebuilt",
+ jars: ["cts-tradefed/tradefed-cts-prebuilt.jar"],
+}
diff --git a/harnesses/Android.mk b/harnesses/Android.mk
deleted file mode 100644
index 8992ecf..0000000
--- a/harnesses/Android.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright (C) 2017 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-
-LOCAL_IS_HOST_MODULE := true
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
- tradefed-cts-prebuilt:cts-tradefed/tradefed-cts-prebuilt.jar \
-
-include $(BUILD_MULTI_PREBUILT)
-
diff --git a/tools/host_controller/Android.bp b/tools/host_controller/Android.bp
new file mode 100644
index 0000000..174ac4a
--- /dev/null
+++ b/tools/host_controller/Android.bp
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+sh_binary_host {
+ name: "run",
+ src: "run",
+}
diff --git a/tools/host_controller/Android.mk b/tools/host_controller/Android.mk
deleted file mode 100644
index f4ee939..0000000
--- a/tools/host_controller/Android.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright (C) 2017 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE_TAGS := optional
-LOCAL_PREBUILT_EXECUTABLES := run
-include $(BUILD_HOST_PREBUILT)