aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/tools/Android.mk
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-04-14 14:13:44 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-04-14 14:13:44 +0200
commit9bdeb24279a840dc75379b76828e6904f7edcd79 (patch)
tree0e07fca5dc5b39ee5e4a45d98118964dcb7cae76 /emulator/tools/Android.mk
parent58f6f27bacf15d066e5f453f40c8a9630119ba63 (diff)
downloadsdk-9bdeb24279a840dc75379b76828e6904f7edcd79.zip
sdk-9bdeb24279a840dc75379b76828e6904f7edcd79.tar.gz
sdk-9bdeb24279a840dc75379b76828e6904f7edcd79.tar.bz2
Revert 183675b74e5a58211e5d9a90a9ca86546ed3e245
Unfortunately, we need to keep the duplicate libraries here to prevent breaking a few internal branches for now. Remove obsolete emulator modules The corresponding modules have all been moved to development/tools/emulator/system/ already. Note that we use a global variable Make trick to prevent the same module from being built twice, so removing these files doesn't break the builds. Another patch should remove the global variable Make trick from development/tools/emulator/system after this patch. Change-Id: I97332216b311608de61919cb75f4b760b249c0d9
Diffstat (limited to 'emulator/tools/Android.mk')
-rw-r--r--emulator/tools/Android.mk44
1 files changed, 44 insertions, 0 deletions
diff --git a/emulator/tools/Android.mk b/emulator/tools/Android.mk
new file mode 100644
index 0000000..1bdbf68
--- /dev/null
+++ b/emulator/tools/Android.mk
@@ -0,0 +1,44 @@
+# Copyright (C) 2009 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.
+
+# this file is used to build emulator-specific program tools
+# that should only run in the emulator.
+#
+
+# We're moving the emulator-specific platform libs to
+# development.git/tools/emulator/. The following test is to ensure
+# smooth builds even if the tree contains both versions.
+#
+ifndef BUILD_EMULATOR_QEMU_PROPS
+BUILD_EMULATOR_QEMU_PROPS := true
+
+LOCAL_PATH := $(call my-dir)
+
+ifneq ($(TARGET_PRODUCT),sim)
+
+# The 'qemu-props' program is run from /system/etc/init.goldfish.rc
+# to setup various system properties sent by the emulator program.
+#
+include $(CLEAR_VARS)
+LOCAL_MODULE := qemu-props
+LOCAL_SRC_FILES := qemu-props.c
+LOCAL_SHARED_LIBRARIES := libcutils
+# we don't want this in 'user' builds which don't have
+# emulator-specific binaries.
+LOCAL_MODULE_TAGS := debug
+include $(BUILD_EXECUTABLE)
+
+endif # TARGET_PRODUCT != sim
+
+endif # BUILD_EMULATOR_QEMU_PROPS