aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTreehugger Robot2019-01-07 11:44:20 -0600
committerGerrit Code Review2019-01-07 11:44:20 -0600
commitebe0b7a1c935a9bfb6943946611bdee350a79b0d (patch)
tree6690278e726f7695c10d802a0ce99f661d26cdcf /tools
parent575402b96772e13deeb702e7e0ce86eed2e98d2c (diff)
parentef453812214754d709f40181fc5fe07d44275cd2 (diff)
downloadplatform-build-ebe0b7a1c935a9bfb6943946611bdee350a79b0d.tar.gz
platform-build-ebe0b7a1c935a9bfb6943946611bdee350a79b0d.tar.xz
platform-build-ebe0b7a1c935a9bfb6943946611bdee350a79b0d.zip
Merge "Remove more Android.mk files from build/make"
Diffstat (limited to 'tools')
-rw-r--r--tools/Android.mk23
-rw-r--r--tools/droiddoc/Android.mk17
-rw-r--r--tools/signapk/Android.bp6
-rw-r--r--tools/signapk/Android.mk26
4 files changed, 6 insertions, 66 deletions
diff --git a/tools/Android.mk b/tools/Android.mk
deleted file mode 100644
index c05d68155..000000000
--- a/tools/Android.mk
+++ /dev/null
@@ -1,23 +0,0 @@
1#
2# Copyright (C) 2010 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19# Only if this Android.mk was included not by a symlink should it be used.
20# This facilitates the transition away from symlinks: b/64397960
21ifeq ($(LOCAL_PATH),build/make/tools)
22include $(call all-makefiles-under,$(LOCAL_PATH))
23endif
diff --git a/tools/droiddoc/Android.mk b/tools/droiddoc/Android.mk
deleted file mode 100644
index ff08edc10..000000000
--- a/tools/droiddoc/Android.mk
+++ /dev/null
@@ -1,17 +0,0 @@
1# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17# Droiddoc is now Doclava -- See external/doclava.
diff --git a/tools/signapk/Android.bp b/tools/signapk/Android.bp
index e95205d04..ad9d957dd 100644
--- a/tools/signapk/Android.bp
+++ b/tools/signapk/Android.bp
@@ -28,4 +28,10 @@ java_library_host {
28 ], 28 ],
29 29
30 required: ["libconscrypt_openjdk_jni"], 30 required: ["libconscrypt_openjdk_jni"],
31
32 // The post-build signing tools need signapk.jar (and its shared libraries,
33 // handled in their own Android.bp files)
34 dist: {
35 targets: ["droidcore"],
36 },
31} 37}
diff --git a/tools/signapk/Android.mk b/tools/signapk/Android.mk
deleted file mode 100644
index ff54d6d84..000000000
--- a/tools/signapk/Android.mk
+++ /dev/null
@@ -1,26 +0,0 @@
1#
2# Copyright (C) 2008 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH := $(call my-dir)
17
18ifeq ($(TARGET_BUILD_APPS),)
19# The post-build signing tools need signapk.jar and its shared libraries,
20# but we don't need this if we're just doing unbundled apps.
21my_dist_files := $(HOST_OUT_JAVA_LIBRARIES)/signapk.jar \
22 $(HOST_OUT_SHARED_LIBRARIES)/libconscrypt_openjdk_jni$(HOST_SHLIB_SUFFIX)
23
24$(call dist-for-goals,droidcore,$(my_dist_files))
25my_dist_files :=
26endif