From: djsollen Date: Tue, 11 Nov 2014 15:02:03 +0000 (-0800) Subject: Move from libstlport to libc++ for Android framework builds X-Git-Tag: submit/tizen/20180928.044319~4965 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce259510a738fab05a0d456440104f5aba1c9d72;p=platform%2Fupstream%2FlibSkiaSharp.git Move from libstlport to libc++ for Android framework builds Review URL: https://codereview.chromium.org/714113002 --- diff --git a/platform_tools/android/bin/android_gdbserver b/platform_tools/android/bin/android_gdbserver index b1391c737f..f3ee6b99b3 100755 --- a/platform_tools/android/bin/android_gdbserver +++ b/platform_tools/android/bin/android_gdbserver @@ -29,6 +29,7 @@ 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 c5baedcf26..726908283d 100755 --- a/platform_tools/android/bin/android_perf +++ b/platform_tools/android/bin/android_perf @@ -41,6 +41,7 @@ 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 d8d0c6196f..0105e1dc57 100644 --- a/platform_tools/android/gyp_gen/makefile_writer.py +++ b/platform_tools/android/gyp_gen/makefile_writer.py @@ -161,14 +161,6 @@ 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. @@ -233,7 +225,6 @@ 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 0bf7e129e3..2dacb042b6 100644 --- a/platform_tools/android/gyp_gen/tool_makefile_writer.py +++ b/platform_tools/android/gyp_gen/tool_makefile_writer.py @@ -34,8 +34,6 @@ 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 f5fbc29209..daa2125acd 100644 --- a/platform_tools/android/tests/expectations/Android.mk +++ b/platform_tools/android/tests/expectations/Android.mk @@ -148,7 +148,6 @@ 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 ea990e9133..10a5fb2207 100644 --- a/platform_tools/android/tests/expectations/tool/Android.mk +++ b/platform_tools/android/tests/expectations/tool/Android.mk @@ -40,5 +40,4 @@ LOCAL_MODULE := \ LOCAL_PICKUP_FILES := \ $(LOCAL_PATH)/../resources -include external/stlport/libstlport.mk include $(BUILD_NATIVE_TEST)