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

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

Issue 210173002: Add tools to generated Android.mk (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 months 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 | « no previous file | no next file » | 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 6057ccee303e7b5c10d54f60cc4edb134f675a7f..791d225f8b89328c5d6a298f069c8149317fe25e 100644
--- a/platform_tools/android/gyp_gen/makefile_writer.py
+++ b/platform_tools/android/gyp_gen/makefile_writer.py
@@ -71,7 +71,6 @@ AUTOGEN_WARNING = (
"""
)
-
DEBUGGING_HELP = (
"""
###############################################################################
@@ -101,6 +100,27 @@ DEBUGGING_HELP = (
"""
)
+SKIA_TOOLS = (
+"""
+#############################################################
+# Build the skia tools
+#
+
+# benchmark (timings)
+#include $(BASE_PATH)/bench/Android.mk
+
+# golden-master (fidelity / regression test)
+#include $(BASE_PATH)/gm/Android.mk
+
+# unit-tests
+#include $(BASE_PATH)/tests/Android.mk
+
+# pathOps unit-tests
+# TODO include those sources!
+"""
+)
+
+
class VarsDictData(object):
"""
Helper class for keeping a VarsDict along with a name and an optional
@@ -179,4 +199,5 @@ def write_android_mk(target_dir, common, deviations_from_common):
f.write('include external/stlport/libstlport.mk\n')
f.write('LOCAL_MODULE:= libskia\n')
f.write('include $(BUILD_SHARED_LIBRARY)\n')
+ f.write(SKIA_TOOLS)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698