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

Side by Side Diff: platform_tools/android/gyp_gen/makefile_writer.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 | « platform_tools/android/bin/gyp_to_android.py ('k') | no next file » | 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 Functions for creating an Android.mk from already created dictionaries. 9 Functions for creating an Android.mk from already created dictionaries.
10 """ 10 """
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 SKIA_TOOLS = ( 113 SKIA_TOOLS = (
114 """ 114 """
115 ############################################################# 115 #############################################################
116 # Build the skia tools 116 # Build the skia tools
117 # 117 #
118 118
119 # benchmark (timings) 119 # benchmark (timings)
120 include $(BASE_PATH)/bench/Android.mk 120 include $(BASE_PATH)/bench/Android.mk
121 121
122 # golden-master (fidelity / regression test)
123 include $(BASE_PATH)/gm/Android.mk
124
125 # diamond-master (one test to rule them all) 122 # diamond-master (one test to rule them all)
126 include $(BASE_PATH)/dm/Android.mk 123 include $(BASE_PATH)/dm/Android.mk
127 """ 124 """
128 ) 125 )
129 126
130 127
131 class VarsDictData(object): 128 class VarsDictData(object):
132 """Helper class to keep a VarsDict along with a name and optional condition. 129 """Helper class to keep a VarsDict along with a name and optional condition.
133 """ 130 """
134 def __init__(self, vars_dict, name, condition=None): 131 def __init__(self, vars_dict, name, condition=None):
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 for data in deviations_from_common: 218 for data in deviations_from_common:
222 if data.condition: 219 if data.condition:
223 f.write('ifeq ($(%s), true)\n' % data.condition) 220 f.write('ifeq ($(%s), true)\n' % data.condition)
224 write_local_vars(f, data.vars_dict, True, data.name) 221 write_local_vars(f, data.vars_dict, True, data.name)
225 if data.condition: 222 if data.condition:
226 f.write('endif\n\n') 223 f.write('endif\n\n')
227 224
228 f.write('include $(BUILD_SHARED_LIBRARY)\n') 225 f.write('include $(BUILD_SHARED_LIBRARY)\n')
229 f.write(SKIA_TOOLS) 226 f.write(SKIA_TOOLS)
230 227
OLDNEW
« no previous file with comments | « platform_tools/android/bin/gyp_to_android.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698