Reland "Move from libstlport to libc++ for Android framework builds" (patchset #1 id:1 of https://codereview.chromium.org/718793003/)
> Original issue's description: > > Move from libstlport to libc++ for Android framework builds > > > > Committed: https://skia.googlesource.com/skia/+/ce259510a738fab05a0d456440104f5aba1c9d72 > > TBR=tomhudson@google.com,djsollen@google.com > NOTREECHECKS=true > NOTRY=true > > Committed: https://skia.googlesource.com/skia/+/3c3fe7ce4893204eb8bcf885e8a1d539763bca5d TBR=tomhudson@google.com,djsollen@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/717303002
This commit is contained in:
parent
09a79d0998
commit
8338a9a855
@ -29,6 +29,7 @@ else
|
||||
fi
|
||||
for library_file in \
|
||||
libc.so \
|
||||
libc++.so \
|
||||
libstdc++.so \
|
||||
libm.so \
|
||||
liblog.so \
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
||||
|
@ -148,7 +148,6 @@ LOCAL_MODULE_TAGS_bar += \
|
||||
LOCAL_MODULE_bar += \
|
||||
local_module_bar
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
#############################################################
|
||||
|
@ -40,5 +40,4 @@ LOCAL_MODULE := \
|
||||
LOCAL_PICKUP_FILES := \
|
||||
$(LOCAL_PATH)/../resources
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_NATIVE_TEST)
|
||||
|
Loading…
Reference in New Issue
Block a user