diff options
Diffstat (limited to 'platform_tools')
6 files changed, 13 insertions, 2 deletions
diff --git a/platform_tools/android/bin/android_gdbserver b/platform_tools/android/bin/android_gdbserver index f3ee6b99b3..b1391c737f 100755 --- a/platform_tools/android/bin/android_gdbserver +++ b/platform_tools/android/bin/android_gdbserver @@ -29,7 +29,6 @@ else fi for library_file in \ libc.so \ - libc++.so \ libstdc++.so \ libm.so \ liblog.so \ diff --git a/platform_tools/android/bin/android_perf b/platform_tools/android/bin/android_perf index 726908283d..c5baedcf26 100755 --- a/platform_tools/android/bin/android_perf +++ b/platform_tools/android/bin/android_perf @@ -41,7 +41,6 @@ perf_setup() { echo "Copying symbol files" adb_pull_if_needed /system/lib/libc.so $TMP_SYS_LIB - adb_pull_if_needed /system/lib/libc++.so $TMP_SYS_LIB adb_pull_if_needed /system/lib/libstlport.so $TMP_SYS_LIB adb_pull_if_needed /system/lib/libGLESv2.so $TMP_SYS_LIB adb_pull_if_needed /system/lib/libandroid.so $TMP_SYS_LIB diff --git a/platform_tools/android/gyp_gen/makefile_writer.py b/platform_tools/android/gyp_gen/makefile_writer.py index 0105e1dc57..d8d0c6196f 100644 --- a/platform_tools/android/gyp_gen/makefile_writer.py +++ b/platform_tools/android/gyp_gen/makefile_writer.py @@ -161,6 +161,14 @@ def write_clear_vars(f): """ f.write('include $(CLEAR_VARS)\n') +def write_include_stlport(f): + """Add a line to include stlport. + + Args: + f: File open for writing. + """ + f.write('include external/stlport/libstlport.mk\n') + def write_android_mk(target_dir, common, deviations_from_common): """Given all the variables, write the final make file. @@ -225,6 +233,7 @@ def write_android_mk(target_dir, common, deviations_from_common): if data.condition: f.write('endif\n\n') + write_include_stlport(f) f.write('include $(BUILD_SHARED_LIBRARY)\n') f.write(SKIA_TOOLS) diff --git a/platform_tools/android/gyp_gen/tool_makefile_writer.py b/platform_tools/android/gyp_gen/tool_makefile_writer.py index 2dacb042b6..0bf7e129e3 100644 --- a/platform_tools/android/gyp_gen/tool_makefile_writer.py +++ b/platform_tools/android/gyp_gen/tool_makefile_writer.py @@ -34,6 +34,8 @@ def write_tool_android_mk(target_dir, var_dict): makefile_writer.write_group(f, 'LOCAL_PICKUP_FILES', ['$(LOCAL_PATH)/../resources'], False) + makefile_writer.write_include_stlport(f) + f.write('include $(BUILD_NATIVE_TEST)\n') diff --git a/platform_tools/android/tests/expectations/Android.mk b/platform_tools/android/tests/expectations/Android.mk index daa2125acd..f5fbc29209 100644 --- a/platform_tools/android/tests/expectations/Android.mk +++ b/platform_tools/android/tests/expectations/Android.mk @@ -148,6 +148,7 @@ LOCAL_MODULE_TAGS_bar += \ LOCAL_MODULE_bar += \ local_module_bar +include external/stlport/libstlport.mk include $(BUILD_SHARED_LIBRARY) ############################################################# diff --git a/platform_tools/android/tests/expectations/tool/Android.mk b/platform_tools/android/tests/expectations/tool/Android.mk index 10a5fb2207..ea990e9133 100644 --- a/platform_tools/android/tests/expectations/tool/Android.mk +++ b/platform_tools/android/tests/expectations/tool/Android.mk @@ -40,4 +40,5 @@ LOCAL_MODULE := \ LOCAL_PICKUP_FILES := \ $(LOCAL_PATH)/../resources +include external/stlport/libstlport.mk include $(BUILD_NATIVE_TEST) |