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

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

Issue 2265833002: Implement `gn analyze`. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not pretty print the written json; this gets around crlf issues Created 4 years, 3 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 | « tools/gn/filesystem_utils.cc ('k') | tools/gn/label.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
11 ], 11 ],
12 'sources': [ 12 'sources': [
13 'action_target_generator.cc', 13 'action_target_generator.cc',
14 'action_target_generator.h', 14 'action_target_generator.h',
15 'action_values.cc', 15 'action_values.cc',
16 'action_values.h', 16 'action_values.h',
17 'analyzer.cc',
18 'analyzer.h',
17 'args.cc', 19 'args.cc',
18 'args.h', 20 'args.h',
19 'binary_target_generator.cc', 21 'binary_target_generator.cc',
20 'binary_target_generator.h', 22 'binary_target_generator.h',
21 'build_settings.cc', 23 'build_settings.cc',
22 'build_settings.h', 24 'build_settings.h',
23 'builder.cc', 25 'builder.cc',
24 'builder.h', 26 'builder.h',
25 'builder_record.cc', 27 'builder_record.cc',
26 'builder_record.h', 28 'builder_record.h',
27 'bundle_data.cc', 29 'bundle_data.cc',
28 'bundle_data.h', 30 'bundle_data.h',
29 'bundle_data_target_generator.cc', 31 'bundle_data_target_generator.cc',
30 'bundle_data_target_generator.h', 32 'bundle_data_target_generator.h',
31 'bundle_file_rule.cc', 33 'bundle_file_rule.cc',
32 'bundle_file_rule.h', 34 'bundle_file_rule.h',
33 'c_include_iterator.cc', 35 'c_include_iterator.cc',
34 'c_include_iterator.h', 36 'c_include_iterator.h',
37 'command_analyze.cc',
35 'command_args.cc', 38 'command_args.cc',
36 'command_check.cc', 39 'command_check.cc',
37 'command_clean.cc', 40 'command_clean.cc',
38 'command_desc.cc', 41 'command_desc.cc',
39 'command_format.cc', 42 'command_format.cc',
40 'command_gen.cc', 43 'command_gen.cc',
41 'command_help.cc', 44 'command_help.cc',
42 'command_ls.cc', 45 'command_ls.cc',
43 'command_path.cc', 46 'command_path.cc',
44 'command_refs.cc', 47 'command_refs.cc',
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 'gn_lib', 238 'gn_lib',
236 '../../base/base.gyp:base', 239 '../../base/base.gyp:base',
237 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations', 240 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
238 ], 241 ],
239 }, 242 },
240 { 243 {
241 'target_name': 'gn_unittests', 244 'target_name': 'gn_unittests',
242 'type': '<(gtest_target_type)', 245 'type': '<(gtest_target_type)',
243 'sources': [ 246 'sources': [
244 'action_target_generator_unittest.cc', 247 'action_target_generator_unittest.cc',
248 'analyzer_unittest.cc',
245 'builder_unittest.cc', 249 'builder_unittest.cc',
246 'c_include_iterator_unittest.cc', 250 'c_include_iterator_unittest.cc',
247 'command_format_unittest.cc', 251 'command_format_unittest.cc',
248 'config_unittest.cc', 252 'config_unittest.cc',
249 'config_values_extractors_unittest.cc', 253 'config_values_extractors_unittest.cc',
250 'escape_unittest.cc', 254 'escape_unittest.cc',
251 'exec_process_unittest.cc', 255 'exec_process_unittest.cc',
252 'filesystem_utils_unittest.cc', 256 'filesystem_utils_unittest.cc',
253 'function_foreach_unittest.cc', 257 'function_foreach_unittest.cc',
254 'function_forward_variables_from_unittest.cc', 258 'function_forward_variables_from_unittest.cc',
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 'dependencies': [ 321 'dependencies': [
318 'gn_unittests', 322 'gn_unittests',
319 ], 323 ],
320 'includes': [ '../../build/isolate.gypi' ], 324 'includes': [ '../../build/isolate.gypi' ],
321 'sources': [ 'gn_unittests.isolate' ], 325 'sources': [ 'gn_unittests.isolate' ],
322 }, 326 },
323 ], 327 ],
324 }], 328 }],
325 ], 329 ],
326 } 330 }
OLDNEW
« no previous file with comments | « tools/gn/filesystem_utils.cc ('k') | tools/gn/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698