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

Side by Side Diff: platform_tools/android/bin/gyp_to_android.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 unified diff | Download patch
« no previous file with comments | « gyp/tools.gyp ('k') | platform_tools/android/gyp_gen/makefile_writer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright 2014 Google Inc. 3 # Copyright 2014 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 """ 8 """
9 Script for generating the Android framework's version of Skia from gyp 9 Script for generating the Android framework's version of Skia from gyp
10 files. 10 files.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder, 143 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
144 target_file='bench.gyp', 144 target_file='bench.gyp',
145 skia_trunk=target_dir, 145 skia_trunk=target_dir,
146 dest_dir='bench', 146 dest_dir='bench',
147 skia_lib_var_dict=common, 147 skia_lib_var_dict=common,
148 local_module_name='skia_bench', 148 local_module_name='skia_bench',
149 local_module_tags=['tests'], 149 local_module_tags=['tests'],
150 desired_targets=['bench']) 150 desired_targets=['bench'])
151 151
152 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder, 152 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
153 target_file='tools.gyp',
154 skia_trunk=target_dir,
155 dest_dir='tools',
156 skia_lib_var_dict=common,
157 local_module_name='skia_bench_pictures',
158 local_module_tags=['tests'],
159 desired_targets=['bench_pictures'])
160
161 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
153 target_file='gm.gyp', 162 target_file='gm.gyp',
154 skia_trunk=target_dir, 163 skia_trunk=target_dir,
155 dest_dir='gm', 164 dest_dir='gm',
156 skia_lib_var_dict=common, 165 skia_lib_var_dict=common,
157 local_module_name='skia_gm', 166 local_module_name='skia_gm',
158 local_module_tags=['tests'], 167 local_module_tags=['tests'],
159 desired_targets=['gm']) 168 desired_targets=['gm'])
160 169
161 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder, 170 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
162 target_file='dm.gyp', 171 target_file='dm.gyp',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 'arm64')) 209 'arm64'))
201 210
202 makefile_writer.write_android_mk(target_dir=target_dir, 211 makefile_writer.write_android_mk(target_dir=target_dir,
203 common=common, deviations_from_common=deviations_from_common) 212 common=common, deviations_from_common=deviations_from_common)
204 213
205 finally: 214 finally:
206 shutil.rmtree(tmp_folder) 215 shutil.rmtree(tmp_folder)
207 216
208 if __name__ == '__main__': 217 if __name__ == '__main__':
209 main() 218 main()
OLDNEW
« no previous file with comments | « gyp/tools.gyp ('k') | platform_tools/android/gyp_gen/makefile_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698