Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: platform_tools/android/gyp_gen/makefile_writer.py

Issue 718793003: Revert of Move from libstlport to libc++ for Android framework builds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/android/bin/android_perf ('k') | platform_tools/android/gyp_gen/tool_makefile_writer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/gyp_gen/makefile_writer.py
diff --git a/platform_tools/android/gyp_gen/makefile_writer.py b/platform_tools/android/gyp_gen/makefile_writer.py
index 0105e1dc576989e89baf7f972b4a63bc4206b7f2..d8d0c6196fe70e6ad1f751076ed8f9691ea70334 100644
--- a/platform_tools/android/gyp_gen/makefile_writer.py
+++ b/platform_tools/android/gyp_gen/makefile_writer.py
@@ -161,6 +161,14 @@
"""
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 @@
if data.condition:
f.write('endif\n\n')
+ write_include_stlport(f)
f.write('include $(BUILD_SHARED_LIBRARY)\n')
f.write(SKIA_TOOLS)
« no previous file with comments | « platform_tools/android/bin/android_perf ('k') | platform_tools/android/gyp_gen/tool_makefile_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698