Revert of Move from libstlport to libc++ for Android framework builds (patchset #1 id:1 of https://codereview.chromium.org/714113002/)
Reason for revert: The code this depends on is not ready yet. We can submit once https://android-review.googlesource.com/#/c/113924/ is submitted. 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 Review URL: https://codereview.chromium.org/718793003
This commit is contained in:
parent
4052a8e4f2
commit
3c3fe7ce48
@ -29,7 +29,6 @@ else
|
||||
fi
|
||||
for library_file in \
|
||||
libc.so \
|
||||
libc++.so \
|
||||
libstdc++.so \
|
||||
libm.so \
|
||||
liblog.so \
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
||||
|
@ -148,6 +148,7 @@ LOCAL_MODULE_TAGS_bar += \
|
||||
LOCAL_MODULE_bar += \
|
||||
local_module_bar
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
#############################################################
|
||||
|
@ -40,4 +40,5 @@ 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