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

Side by Side Diff: tools/BUILD_simulator.py

Issue 1471033002: Fix Google3 fonts. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Rename back to SkFontConfigInterface_direct.h Created 5 years 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 | « tools/BUILD.public.expected ('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/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2015 Google Inc. 3 # Copyright 2015 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 # This script does a very rough simulation of BUILD file expansion, 8 # This script does a very rough simulation of BUILD file expansion,
9 # mostly to see the effects of glob(). 9 # mostly to see the effects of glob().
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 'glob': BUILD_glob, 77 'glob': BUILD_glob,
78 'select': select_simulator, 78 'select': select_simulator,
79 'BASE_DIR': '', 79 'BASE_DIR': '',
80 'BASE_EXTERNAL_DEPS_ANDROID': [], 80 'BASE_EXTERNAL_DEPS_ANDROID': [],
81 'BASE_EXTERNAL_DEPS_IOS': [], 81 'BASE_EXTERNAL_DEPS_IOS': [],
82 'BASE_EXTERNAL_DEPS_UNIX': [], 82 'BASE_EXTERNAL_DEPS_UNIX': [],
83 'CONDITION_ANDROID': 'CONDITION_ANDROID', 83 'CONDITION_ANDROID': 'CONDITION_ANDROID',
84 'CONDITION_IOS': 'CONDITION_IOS', 84 'CONDITION_IOS': 'CONDITION_IOS',
85 'DM_EXTERNAL_DEPS': [], 85 'DM_EXTERNAL_DEPS': [],
86 'EXTERNAL_DEPS_ALL': [], 86 'EXTERNAL_DEPS_ALL': [],
87 'EXTERNAL_INCLUDES': [],
87 } 88 }
88 local_names = {} 89 local_names = {}
89 execfile('BUILD.public', global_names, local_names) 90 execfile('BUILD.public', global_names, local_names)
90 91
91 with open('tools/BUILD.public.expected', 'w') as out: 92 with open('tools/BUILD.public.expected', 'w') as out:
92 print >>out, "This file is auto-generated by tools/BUILD_simulator.py." 93 print >>out, "This file is auto-generated by tools/BUILD_simulator.py."
93 print >>out, "It expands BUILD.public to make it easy to see changes." 94 print >>out, "It expands BUILD.public to make it easy to see changes."
94 for name, value in sorted(local_names.items()): 95 for name, value in sorted(local_names.items()):
95 print >>out, name, '= ', 96 print >>out, name, '= ',
96 pprint.pprint(value, out) 97 pprint.pprint(value, out)
OLDNEW
« no previous file with comments | « tools/BUILD.public.expected ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698