summaryrefslogtreecommitdiffstats
path: root/cmds/uiautomator/Android.mk
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2014-12-11 15:12:30 -0800
committerGuang Zhu <guangzhu@google.com>2014-12-12 17:31:38 -0800
commit18b892c723e812a7e111f102d2b0c0782b116bb6 (patch)
treeab7f42c778169da272b503d308c2cc712effef2b /cmds/uiautomator/Android.mk
parent1f28a6a571a9b4ff78d85e2b62a30d77ce986d7b (diff)
downloadframeworks_base-18b892c723e812a7e111f102d2b0c0782b116bb6.zip
frameworks_base-18b892c723e812a7e111f102d2b0c0782b116bb6.tar.gz
frameworks_base-18b892c723e812a7e111f102d2b0c0782b116bb6.tar.bz2
shell based UI Automator source move
frameworks/testing/uiautomator -> frameworks/base/cmds/uiautomator (samples, utils sub folders exlcuded) frameworks/testing/uiautomator/utils -> frameworks/base/tests/utils no source files changed, only one line makefile update (for UI Automator API check) Bug: 18708851 Change-Id: I396bd386d3d55a52df18af183685daf80caa9f73
Diffstat (limited to 'cmds/uiautomator/Android.mk')
-rw-r--r--cmds/uiautomator/Android.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/cmds/uiautomator/Android.mk b/cmds/uiautomator/Android.mk
new file mode 100644
index 0000000..5391305
--- /dev/null
+++ b/cmds/uiautomator/Android.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2012 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.
+#
+
+# don't build uiautomator in unbundled env
+ifndef TARGET_BUILD_APPS
+include $(call all-subdir-makefiles)
+else
+ifneq ($(filter uiautomator,$(TARGET_BUILD_APPS)),)
+# used by the platform apps build.
+include $(call all-subdir-makefiles)
+endif
+endif