@@ -147,8 +147,7 @@ LOCAL_MODULE_TAGS := debug
147
147
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES )
148
148
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target )
149
149
LOCAL_SRC_FILES := main.cpp
150
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
151
- LOCAL_STATIC_LIBRARIES := $(simpleperf_static_libraries_target )
150
+ LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_target )
152
151
LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_target )
153
152
LOCAL_MULTILIB := first
154
153
include $(BUILD_EXECUTABLE )
@@ -162,9 +161,7 @@ LOCAL_CPPFLAGS_darwin := $(simpleperf_cppflags_host_darwin)
162
161
LOCAL_CPPFLAGS_linux := $(simpleperf_cppflags_host_linux )
163
162
LOCAL_CPPFLAGS_windows := $(simpleperf_cppflags_host_windows )
164
163
LOCAL_SRC_FILES := main.cpp
165
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
166
- LOCAL_STATIC_LIBRARIES := $(simpleperf_static_libraries_host )
167
- LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_host )
164
+ LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_host )
168
165
LOCAL_SHARED_LIBRARIES_darwin := $(simpleperf_shared_libraries_host_darwin )
169
166
LOCAL_SHARED_LIBRARIES_linux := $(simpleperf_shared_libraries_host_linux )
170
167
LOCAL_SHARED_LIBRARIES_windows := $(simpleperf_shared_libraries_host_windows )
@@ -202,8 +199,7 @@ LOCAL_SRC_FILES := \
202
199
$(simpleperf_unit_test_src_files ) \
203
200
$(simpleperf_unit_test_src_files_linux ) \
204
201
205
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
206
- LOCAL_STATIC_LIBRARIES += $(simpleperf_static_libraries_target )
202
+ LOCAL_STATIC_LIBRARIES += libsimpleperf $(simpleperf_static_libraries_target )
207
203
LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_target )
208
204
LOCAL_MULTILIB := first
209
205
include $(BUILD_NATIVE_TEST )
@@ -218,9 +214,7 @@ LOCAL_CPPFLAGS_linux := $(simpleperf_cppflags_host_linux)
218
214
LOCAL_CPPFLAGS_windows := $(simpleperf_cppflags_host_windows )
219
215
LOCAL_SRC_FILES := $(simpleperf_unit_test_src_files )
220
216
LOCAL_SRC_FILES_linux := $(simpleperf_unit_test_src_files_linux )
221
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
222
- LOCAL_STATIC_LIBRARIES := $(simpleperf_static_libraries_host )
223
- LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_host )
217
+ LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_host )
224
218
LOCAL_SHARED_LIBRARIES_darwin := $(simpleperf_shared_libraries_host_darwin )
225
219
LOCAL_SHARED_LIBRARIES_linux := $(simpleperf_shared_libraries_host_linux )
226
220
LOCAL_SHARED_LIBRARIES_windows := $(simpleperf_shared_libraries_host_windows )
@@ -240,9 +234,8 @@ LOCAL_CLANG := true
240
234
LOCAL_MODULE := simpleperf_cpu_hotplug_test
241
235
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target )
242
236
LOCAL_SRC_FILES := $(simpleperf_cpu_hotplug_test_src_files )
243
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
237
+ LOCAL_STATIC_LIBRARIES := libsimpleperf $( simpleperf_static_libraries_target )
244
238
LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_target )
245
- LOCAL_STATIC_LIBRARIES := $(simpleperf_static_libraries_target )
246
239
LOCAL_MULTILIB := first
247
240
include $(BUILD_NATIVE_TEST )
248
241
@@ -254,9 +247,7 @@ LOCAL_MODULE_HOST_OS := linux
254
247
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host )
255
248
LOCAL_CPPFLAGS_linux := $(simpleperf_cppflags_host_linux )
256
249
LOCAL_SRC_FILES := $(simpleperf_cpu_hotplug_test_src_files )
257
- LOCAL_WHOLE_STATIC_LIBRARIES := libsimpleperf
258
- LOCAL_STATIC_LIBRARIES := $(simpleperf_static_libraries_host )
259
- LOCAL_SHARED_LIBRARIES := $(simpleperf_shared_libraries_host )
250
+ LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_host )
260
251
LOCAL_SHARED_LIBRARIES_linux := $(simpleperf_shared_libraries_host_linux )
261
252
LOCAL_LDLIBS_linux := $(simpleperf_ldlibs_host_linux )
262
253
LOCAL_MULTILIB := first
0 commit comments