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

Unified Diff: platform_tools/android/bin/gyp_to_android.py

Issue 366653002: Specify the name of tool for creating a makefile. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | 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/bin/gyp_to_android.py
diff --git a/platform_tools/android/bin/gyp_to_android.py b/platform_tools/android/bin/gyp_to_android.py
index 4015c38919f9337d56edc4490ebc02e80bef774c..0719543dd6eb90c26d17593006cea01175e7ef99 100755
--- a/platform_tools/android/bin/gyp_to_android.py
+++ b/platform_tools/android/bin/gyp_to_android.py
@@ -137,7 +137,8 @@ def main(target_dir=None, require_sk_user_config=False):
dest_dir='tests',
skia_lib_var_dict=common,
local_module_name='skia_test',
- local_module_tags=['tests'])
+ local_module_tags=['tests'],
+ desired_targets=['tests'])
tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
target_file='bench.gyp',
@@ -146,6 +147,7 @@ def main(target_dir=None, require_sk_user_config=False):
skia_lib_var_dict=common,
local_module_name='skia_bench',
local_module_tags=['tests'],
+ desired_targets=['bench'],
place_in_local_tmp=True)
tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
@@ -154,7 +156,8 @@ def main(target_dir=None, require_sk_user_config=False):
dest_dir='gm',
skia_lib_var_dict=common,
local_module_name='skia_gm',
- local_module_tags=['tests'])
+ local_module_tags=['tests'],
+ desired_targets=['gm'])
tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
target_file='dm.gyp',
@@ -162,7 +165,8 @@ def main(target_dir=None, require_sk_user_config=False):
dest_dir='dm',
skia_lib_var_dict=common,
local_module_name='skia_dm',
- local_module_tags=['tests'])
+ local_module_tags=['tests'],
+ desired_targets=['dm'])
# Now that the defines have been written to SkUserConfig and they've been
# used to skip adding them to the tools makefiles, they are not needed in
« no previous file with comments | « no previous file | platform_tools/android/gyp_gen/tool_makefile_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698