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

Side by Side Diff: platform_tools/android/bin/gyp_to_android.py

Issue 860803004: Stop building gm in Android framework build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 target_file='bench.gyp', 142 target_file='bench.gyp',
143 skia_trunk=target_dir, 143 skia_trunk=target_dir,
144 dest_dir='bench', 144 dest_dir='bench',
145 skia_lib_var_dict=common, 145 skia_lib_var_dict=common,
146 local_module_name='skia_nanobench', 146 local_module_name='skia_nanobench',
147 local_module_tags=['tests'], 147 local_module_tags=['tests'],
148 desired_targets=['nanobench'], 148 desired_targets=['nanobench'],
149 gyp_source_dir=gyp_source_dir) 149 gyp_source_dir=gyp_source_dir)
150 150
151 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder, 151 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
152 target_file='gm.gyp',
153 skia_trunk=target_dir,
154 dest_dir='gm',
155 skia_lib_var_dict=common,
156 local_module_name='skia_gm',
157 local_module_tags=['tests'],
158 desired_targets=['gm'],
159 gyp_source_dir=gyp_source_dir)
160
161 tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
162 target_file='dm.gyp', 152 target_file='dm.gyp',
163 skia_trunk=target_dir, 153 skia_trunk=target_dir,
164 dest_dir='dm', 154 dest_dir='dm',
165 skia_lib_var_dict=common, 155 skia_lib_var_dict=common,
166 local_module_name='skia_dm', 156 local_module_name='skia_dm',
167 local_module_tags=['tests'], 157 local_module_tags=['tests'],
168 desired_targets=['dm'], 158 desired_targets=['dm'],
169 gyp_source_dir=gyp_source_dir) 159 gyp_source_dir=gyp_source_dir)
170 160
171 # Now that the defines have been written to SkUserConfig and they've been 161 # Now that the defines have been written to SkUserConfig and they've been
(...skipping 29 matching lines...) Expand all
201 'arm64')) 191 'arm64'))
202 192
203 makefile_writer.write_android_mk(target_dir=target_dir, 193 makefile_writer.write_android_mk(target_dir=target_dir,
204 common=common, deviations_from_common=deviations_from_common) 194 common=common, deviations_from_common=deviations_from_common)
205 195
206 finally: 196 finally:
207 shutil.rmtree(tmp_folder) 197 shutil.rmtree(tmp_folder)
208 198
209 if __name__ == '__main__': 199 if __name__ == '__main__':
210 main() 200 main()
OLDNEW
« no previous file with comments | « no previous file | platform_tools/android/gyp_gen/makefile_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698