Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
system_core
Commits
29e1e739
Commit
29e1e739
authored
14 years ago
by
Jeff Brown
Browse files
Options
Download
Email Patches
Plain Diff
Remove the simulator target from all makefiles.
Bug: 5010576 Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
parent
56286d6f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
88 deletions
+14
-88
Android.mk
Android.mk
+1
-14
adb/Android.mk
adb/Android.mk
+3
-15
libcutils/Android.mk
libcutils/Android.mk
+0
-16
libdiskconfig/Android.mk
libdiskconfig/Android.mk
+0
-4
liblog/Android.mk
liblog/Android.mk
+10
-21
libnetutils/Android.mk
libnetutils/Android.mk
+0
-7
libsysutils/Android.mk
libsysutils/Android.mk
+0
-11
No files found.
Android.mk
View file @
29e1e739
...
...
@@ -15,17 +15,4 @@
#
LOCAL_PATH
:=
$
(
my-dir
)
ifneq
($(TARGET_SIMULATOR),true)
include
$(call first-makefiles-under,$(LOCAL_PATH))
else
include
$(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \
adb
\
libcutils
\
libsysutils
\
liblog
\
libnetutils
\
libpixelflinger
\
libusbhost
\
libzipfile
\
))
endif
include
$(call first-makefiles-under,$(LOCAL_PATH))
This diff is collapsed.
Click to expand it.
adb/Android.mk
View file @
29e1e739
...
...
@@ -95,11 +95,7 @@ endif
# adbd device daemon
# =========================================================
# build adbd in all non-simulator builds
BUILD_ADBD
:=
false
ifneq
($(TARGET_SIMULATOR),true)
BUILD_ADBD
:=
true
endif
BUILD_ADBD
:=
true
# build adbd for the Linux simulator build
# so we can use it to test the adb USB gadget driver on x86
...
...
@@ -143,21 +139,14 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH
:=
$(TARGET_ROOT_OUT_SBIN)
LOCAL_UNSTRIPPED_PATH
:=
$(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
ifeq
($(TARGET_SIMULATOR),true)
LOCAL_STATIC_LIBRARIES
:=
libcutils
LOCAL_LDLIBS
+=
-lpthread
include
$(BUILD_HOST_EXECUTABLE)
else
LOCAL_STATIC_LIBRARIES
:=
libcutils libc
include
$(BUILD_EXECUTABLE)
endif
LOCAL_STATIC_LIBRARIES
:=
libcutils libc
include
$(BUILD_EXECUTABLE)
endif
# adb host tool for device-as-host
# =========================================================
ifneq
($(TARGET_SIMULATOR),true)
ifneq
($(SDK_ONLY),true)
include
$(CLEAR_VARS)
...
...
@@ -196,4 +185,3 @@ LOCAL_STATIC_LIBRARIES := libzipfile libunz libcutils
include
$(BUILD_EXECUTABLE)
endif
endif
This diff is collapsed.
Click to expand it.
libcutils/Android.mk
View file @
29e1e739
...
...
@@ -93,20 +93,6 @@ LOCAL_CFLAGS += $(hostSmpFlag)
include
$(BUILD_HOST_STATIC_LIBRARY)
ifeq
($(TARGET_SIMULATOR),true)
# Shared library for simulator
# ========================================================
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
libcutils
LOCAL_SRC_FILES
:=
$(commonSources)
$(commonHostSources)
memory.c dlmalloc_stubs.c
LOCAL_LDLIBS
:=
-lpthread
LOCAL_SHARED_LIBRARIES
:=
liblog
LOCAL_CFLAGS
+=
$(targetSmpFlag)
include
$(BUILD_SHARED_LIBRARY)
else
#!sim
# Shared and static library for target
# ========================================================
include
$(CLEAR_VARS)
...
...
@@ -147,5 +133,3 @@ LOCAL_SRC_FILES := str_parms.c hashmap.c memory.c
LOCAL_SHARED_LIBRARIES
:=
liblog
LOCAL_MODULE_TAGS
:=
optional
include
$(BUILD_EXECUTABLE)
endif
#!sim
This diff is collapsed.
Click to expand it.
libdiskconfig/Android.mk
View file @
29e1e739
LOCAL_PATH
:=
$(
call
my-dir
)
include
$(CLEAR_VARS)
ifneq
($(TARGET_SIMULATOR),true)
commonSources
:=
\
diskconfig.c
\
diskutils.c
\
...
...
@@ -23,5 +21,3 @@ LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils
LOCAL_CFLAGS
:=
-O2
-g
-W
-Wall
-Werror
-D_LARGEFILE64_SOURCE
include
$(BUILD_HOST_STATIC_LIBRARY)
endif
# HOST_OS == linux
endif
# ! TARGET_SIMULATOR
This diff is collapsed.
Click to expand it.
liblog/Android.mk
View file @
29e1e739
...
...
@@ -48,25 +48,14 @@ LOCAL_LDLIBS := -lpthread
LOCAL_CFLAGS
:=
-DFAKE_LOG_DEVICE
=
1
include
$(BUILD_HOST_STATIC_LIBRARY)
ifeq
($(TARGET_SIMULATOR),true)
# Shared library for simulator
# ========================================================
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
liblog
LOCAL_SRC_FILES
:=
$(liblog_host_sources)
LOCAL_LDLIBS
:=
-lpthread
LOCAL_CFLAGS
:=
-DFAKE_LOG_DEVICE
=
1
include
$(BUILD_SHARED_LIBRARY)
else
# !sim
# Shared and static library for target
# ========================================================
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
liblog
LOCAL_SRC_FILES
:=
$(liblog_sources)
include
$(BUILD_STATIC_LIBRARY)
# Shared and static library for target
# ========================================================
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
liblog
LOCAL_SRC_FILES
:=
$(liblog_sources)
include
$(BUILD_STATIC_LIBRARY)
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
liblog
LOCAL_WHOLE_STATIC_LIBRARIES
:=
liblog
include
$(BUILD_SHARED_LIBRARY)
endif
# !sim
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
liblog
LOCAL_WHOLE_STATIC_LIBRARIES
:=
liblog
include
$(BUILD_SHARED_LIBRARY)
This diff is collapsed.
Click to expand it.
libnetutils/Android.mk
View file @
29e1e739
...
...
@@ -11,13 +11,6 @@ LOCAL_SRC_FILES:= \
LOCAL_SHARED_LIBRARIES
:=
\
libcutils
# need "-lrt" on Linux simulator to pick up clock_gettime
ifeq
($(TARGET_SIMULATOR),true)
ifeq
($(HOST_OS),linux)
LOCAL_LDLIBS
+=
-lrt
-lpthread
endif
endif
LOCAL_MODULE
:=
libnetutils
include
$(BUILD_SHARED_LIBRARY)
This diff is collapsed.
Click to expand it.
libsysutils/Android.mk
View file @
29e1e739
ifneq
($(BUILD_TINY_ANDROID),true)
BUILD_LIBSYSUTILS
:=
false
ifneq
($(TARGET_SIMULATOR),true)
BUILD_LIBSYSUTILS
:=
true
endif
ifeq
($(BUILD_LIBSYSUTILS),true)
LOCAL_PATH
:=
$(
call
my-dir
)
...
...
@@ -27,11 +21,6 @@ LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES
:=
libcutils
ifeq
($(TARGET_SIMULATOR),true)
LOCAL_LDLIBS
+=
-lpthread
endif
include
$(BUILD_SHARED_LIBRARY)
endif
endif
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment