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

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

Issue 391423002: Generate makefile for bench_pictures. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix pylint errors Created 6 years, 5 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 | « platform_tools/android/bin/gyp_to_android.py ('k') | platform_tools/android/tests/expectations/Android.mk » ('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 e8f9773cff368189b480355f49839dd8279e4445..436075ce125c6be4dbc6fe7ba40705ecda2f779e 100644
--- a/platform_tools/android/gyp_gen/makefile_writer.py
+++ b/platform_tools/android/gyp_gen/makefile_writer.py
@@ -118,6 +118,7 @@ SKIA_TOOLS = (
# benchmark (timings)
include $(BASE_PATH)/bench/Android.mk
+include $(BASE_PATH)/tools/Android.mk
# golden-master (fidelity / regression test)
include $(BASE_PATH)/gm/Android.mk
@@ -149,28 +150,28 @@ class VarsDictData(object):
self.name = name
def write_local_path(f):
- """Add the LOCAL_PATH line to the makefile.
+ """Add the LOCAL_PATH line to the makefile.
- Args:
- f: File open for writing.
- """
- f.write('LOCAL_PATH:= $(call my-dir)\n')
+ Args:
+ f: File open for writing.
+ """
+ f.write('LOCAL_PATH:= $(call my-dir)\n')
def write_clear_vars(f):
- """Add the CLEAR_VARS line to the makefile.
+ """Add the CLEAR_VARS line to the makefile.
- Args:
- f: File open for writing.
- """
- f.write('include $(CLEAR_VARS)\n')
+ Args:
+ f: File open for writing.
+ """
+ f.write('include $(CLEAR_VARS)\n')
def write_include_stlport(f):
- """Add a line to include stlport.
+ """Add a line to include stlport.
- Args:
- f: File open for writing.
- """
- f.write('include external/stlport/libstlport.mk\n')
+ 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.
« no previous file with comments | « platform_tools/android/bin/gyp_to_android.py ('k') | platform_tools/android/tests/expectations/Android.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698