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

Side by Side Diff: tools/gn/gn.gyp

Issue 46313003: Implement target visibility in GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'chromium_code': 1, 3 'chromium_code': 1,
4 }, 4 },
5 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'gn_lib', 7 'target_name': 'gn_lib',
8 'type': 'static_library', 8 'type': 'static_library',
9 'dependencies': [ 9 'dependencies': [
10 '../../base/base.gyp:base', 10 '../../base/base.gyp:base',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 'toolchain.cc', 140 'toolchain.cc',
141 'toolchain.h', 141 'toolchain.h',
142 'trace.cc', 142 'trace.cc',
143 'trace.h', 143 'trace.h',
144 'value.cc', 144 'value.cc',
145 'value.h', 145 'value.h',
146 'value_extractors.cc', 146 'value_extractors.cc',
147 'value_extractors.h', 147 'value_extractors.h',
148 'variables.cc', 148 'variables.cc',
149 'variables.h', 149 'variables.h',
150 'visibility.cc',
151 'visibility.h',
150 ], 152 ],
151 }, 153 },
152 { 154 {
153 'target_name': 'gn', 155 'target_name': 'gn',
154 'type': 'executable', 156 'type': 'executable',
155 'sources': [ 157 'sources': [
156 'gn_main.cc', 158 'gn_main.cc',
157 ], 159 ],
158 'dependencies': [ 160 'dependencies': [
159 'gn_lib', 161 'gn_lib',
(...skipping 25 matching lines...) Expand all
185 'pattern_unittest.cc', 187 'pattern_unittest.cc',
186 'scope_per_file_provider_unittest.cc', 188 'scope_per_file_provider_unittest.cc',
187 'scope_unittest.cc', 189 'scope_unittest.cc',
188 'source_dir_unittest.cc', 190 'source_dir_unittest.cc',
189 'string_utils_unittest.cc', 191 'string_utils_unittest.cc',
190 'target_generator_unittest.cc', 192 'target_generator_unittest.cc',
191 'target_unittest.cc', 193 'target_unittest.cc',
192 'test_with_scope.cc', 194 'test_with_scope.cc',
193 'test_with_scope.h', 195 'test_with_scope.h',
194 'tokenizer_unittest.cc', 196 'tokenizer_unittest.cc',
197 'visibility_unittest.cc',
195 ], 198 ],
196 'dependencies': [ 199 'dependencies': [
197 'gn_lib', 200 'gn_lib',
198 '../../base/base.gyp:run_all_unittests', 201 '../../base/base.gyp:run_all_unittests',
199 '../../base/base.gyp:test_support_base', 202 '../../base/base.gyp:test_support_base',
200 '../../testing/gtest.gyp:gtest', 203 '../../testing/gtest.gyp:gtest',
201 ], 204 ],
202 }, 205 },
203 { 206 {
204 'target_name': 'generate_test_gn_data', 207 'target_name': 'generate_test_gn_data',
205 'type': 'executable', 208 'type': 'executable',
206 'sources': [ 209 'sources': [
207 'generate_test_gn_data.cc', 210 'generate_test_gn_data.cc',
208 ], 211 ],
209 'dependencies': [ 212 'dependencies': [
210 '../../base/base.gyp:base', 213 '../../base/base.gyp:base',
211 ], 214 ],
212 } 215 }
213 ], 216 ],
214 } 217 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698