aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:26:50 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:26:50 +0000
commit65c65da413a9f2ee927c1c7b732ac3b511a22a1c (patch)
tree27fcc13cfa1c51779019fca53b64af3d62140d1f
parenta3197f5b8cc833f0e80b6cc57d0de66b5b948df4 (diff)
parentd40ca99b08984704448e04c6672ab9169e7ce924 (diff)
downloadsdk-android-mainline-12.0.0_r54.tar.gz
Change-Id: I1f65d59926e8fb9630d667329453e50d83ad4c4a
-rw-r--r--annotations/Android.bp22
-rw-r--r--annotations/Android.mk26
-rw-r--r--dumpeventlog/Android.bp12
-rw-r--r--dumpeventlog/Android.mk5
-rw-r--r--dumpeventlog/etc/Android.mk8
-rw-r--r--dumpeventlog/etc/manifest.txt1
-rw-r--r--dumpeventlog/src/Android.mk13
-rw-r--r--eventanalyzer/Android.bp25
-rw-r--r--eventanalyzer/Android.mk18
-rw-r--r--eventanalyzer/etc/Android.mk21
-rw-r--r--eventanalyzer/etc/manifest.txt1
-rw-r--r--eventanalyzer/src/Android.mk26
-rw-r--r--hierarchyviewer/Android.bp27
-rw-r--r--hierarchyviewer/etc/Android.bp18
-rw-r--r--hierarchyviewer/etc/Android.mk19
-rw-r--r--hierarchyviewer/src/Android.mk28
16 files changed, 166 insertions, 104 deletions
diff --git a/annotations/Android.bp b/annotations/Android.bp
deleted file mode 100644
index 35a0d58fa..000000000
--- a/annotations/Android.bp
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// Copyright (C) 2008 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_library_host {
- name: "annotations",
-
- srcs: ["src/**/*.java"],
- java_resource_dirs: ["src"],
-}
diff --git a/annotations/Android.mk b/annotations/Android.mk
new file mode 100644
index 000000000..cbfe92d95
--- /dev/null
+++ b/annotations/Android.mk
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2008 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_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_JAVA_RESOURCE_DIRS := src
+
+LOCAL_MODULE := annotations
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_HOST_JAVA_LIBRARY)
+
diff --git a/dumpeventlog/Android.bp b/dumpeventlog/Android.bp
deleted file mode 100644
index 618446f83..000000000
--- a/dumpeventlog/Android.bp
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2007 The Android Open Source Project
-//
-
-java_binary_host {
- name: "dumpeventlog",
-
- srcs: ["src/**/*.java"],
-
- wrapper: "etc/dumpeventlog",
- main_class: "com.android.dumpeventlog.DumpEventLog",
- libs: ["ddmlib-prebuilt"],
-}
diff --git a/dumpeventlog/Android.mk b/dumpeventlog/Android.mk
new file mode 100644
index 000000000..7bb870dee
--- /dev/null
+++ b/dumpeventlog/Android.mk
@@ -0,0 +1,5 @@
+# Copyright 2007 The Android Open Source Project
+#
+DUMPEVENTLOG_LOCAL_DIR := $(call my-dir)
+include $(DUMPEVENTLOG_LOCAL_DIR)/etc/Android.mk
+include $(DUMPEVENTLOG_LOCAL_DIR)/src/Android.mk
diff --git a/dumpeventlog/etc/Android.mk b/dumpeventlog/etc/Android.mk
new file mode 100644
index 000000000..80947346f
--- /dev/null
+++ b/dumpeventlog/etc/Android.mk
@@ -0,0 +1,8 @@
+# Copyright 2007 The Android Open Source Project
+#
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_PREBUILT_EXECUTABLES := dumpeventlog
+include $(BUILD_HOST_PREBUILT)
+
diff --git a/dumpeventlog/etc/manifest.txt b/dumpeventlog/etc/manifest.txt
new file mode 100644
index 000000000..0eea91537
--- /dev/null
+++ b/dumpeventlog/etc/manifest.txt
@@ -0,0 +1 @@
+Main-Class: com.android.dumpeventlog.DumpEventLog
diff --git a/dumpeventlog/src/Android.mk b/dumpeventlog/src/Android.mk
new file mode 100644
index 000000000..f0c1aeb0d
--- /dev/null
+++ b/dumpeventlog/src/Android.mk
@@ -0,0 +1,13 @@
+# Copyright 2007 The Android Open Source Project
+#
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_JAR_MANIFEST := ../etc/manifest.txt
+LOCAL_JAVA_LIBRARIES := \
+ ddmlib-prebuilt
+LOCAL_MODULE := dumpeventlog
+
+include $(BUILD_HOST_JAVA_LIBRARY)
diff --git a/eventanalyzer/Android.bp b/eventanalyzer/Android.bp
deleted file mode 100644
index 40f8276ab..000000000
--- a/eventanalyzer/Android.bp
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright (C) 2008 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_binary_host {
- name: "eventanalyzer",
-
- srcs: ["src/**/*.java"],
-
- wrapper: "etc/eventanalyzer",
- main_class: "com.android.eventanalyzer.EventAnalyzer",
- libs: ["ddmlib-prebuilt"],
-}
diff --git a/eventanalyzer/Android.mk b/eventanalyzer/Android.mk
new file mode 100644
index 000000000..18e730ed3
--- /dev/null
+++ b/eventanalyzer/Android.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2008 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.
+#
+EVENTANALUZER_LOCAL_DIR := $(call my-dir)
+include $(EVENTANALUZER_LOCAL_DIR)/etc/Android.mk
+include $(EVENTANALUZER_LOCAL_DIR)/src/Android.mk
diff --git a/eventanalyzer/etc/Android.mk b/eventanalyzer/etc/Android.mk
new file mode 100644
index 000000000..e7703b412
--- /dev/null
+++ b/eventanalyzer/etc/Android.mk
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2008 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_PREBUILT_EXECUTABLES := eventanalyzer
+include $(BUILD_HOST_PREBUILT)
+
diff --git a/eventanalyzer/etc/manifest.txt b/eventanalyzer/etc/manifest.txt
new file mode 100644
index 000000000..6d99ea175
--- /dev/null
+++ b/eventanalyzer/etc/manifest.txt
@@ -0,0 +1 @@
+Main-Class: com.android.eventanalyzer.EventAnalyzer
diff --git a/eventanalyzer/src/Android.mk b/eventanalyzer/src/Android.mk
new file mode 100644
index 000000000..1d55be526
--- /dev/null
+++ b/eventanalyzer/src/Android.mk
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2008 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_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_JAR_MANIFEST := ../etc/manifest.txt
+LOCAL_JAVA_LIBRARIES := \
+ ddmlib-prebuilt
+LOCAL_MODULE := eventanalyzer
+
+include $(BUILD_HOST_JAVA_LIBRARY)
diff --git a/hierarchyviewer/Android.bp b/hierarchyviewer/Android.bp
deleted file mode 100644
index 69134f0a6..000000000
--- a/hierarchyviewer/Android.bp
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2008 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_library_host {
- name: "hierarchyviewer",
-
- srcs: ["src/**/*.java"],
- java_resource_dirs: ["src/resources"],
-
- manifest: "etc/manifest.txt",
- libs: [
- "ddmlib-prebuilt",
- "org-openide-util",
- "org-netbeans-api-visual",
- ],
-}
diff --git a/hierarchyviewer/etc/Android.bp b/hierarchyviewer/etc/Android.bp
deleted file mode 100644
index c1d852510..000000000
--- a/hierarchyviewer/etc/Android.bp
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (C) 2008 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: "hierarchyviewer1",
- src: "hierarchyviewer1",
-}
diff --git a/hierarchyviewer/etc/Android.mk b/hierarchyviewer/etc/Android.mk
new file mode 100644
index 000000000..c61d76414
--- /dev/null
+++ b/hierarchyviewer/etc/Android.mk
@@ -0,0 +1,19 @@
+# Copyright (C) 2008 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_PREBUILT_EXECUTABLES := hierarchyviewer1
+include $(BUILD_HOST_PREBUILT)
diff --git a/hierarchyviewer/src/Android.mk b/hierarchyviewer/src/Android.mk
new file mode 100644
index 000000000..f4c4838ab
--- /dev/null
+++ b/hierarchyviewer/src/Android.mk
@@ -0,0 +1,28 @@
+# Copyright (C) 2008 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_SRC_FILES := $(call all-subdir-java-files)
+LOCAL_JAVA_RESOURCE_DIRS := resources
+
+LOCAL_JAR_MANIFEST := ../etc/manifest.txt
+LOCAL_JAVA_LIBRARIES := \
+ ddmlib-prebuilt \
+ org-openide-util \
+ org-netbeans-api-visual
+LOCAL_MODULE := hierarchyviewer
+
+include $(BUILD_HOST_JAVA_LIBRARY)