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

Side by Side Diff: tools/gn/bootstrap/bootstrap.py

Issue 1280113002: Fix gn bootstrap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | 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 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Bootstraps gn. 6 """Bootstraps gn.
7 7
8 It is done by first building it manually in a temporary directory, then building 8 It is done by first building it manually in a temporary directory, then building
9 it with its own BUILD.gn to the final destination. 9 it with its own BUILD.gn to the final destination.
10 """ 10 """
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 'base/trace_event/memory_allocator_dump.cc', 246 'base/trace_event/memory_allocator_dump.cc',
247 'base/trace_event/memory_allocator_dump_guid.cc', 247 'base/trace_event/memory_allocator_dump_guid.cc',
248 'base/trace_event/memory_dump_manager.cc', 248 'base/trace_event/memory_dump_manager.cc',
249 'base/trace_event/memory_dump_request_args.cc', 249 'base/trace_event/memory_dump_request_args.cc',
250 'base/trace_event/memory_dump_session_state.cc', 250 'base/trace_event/memory_dump_session_state.cc',
251 'base/trace_event/process_memory_dump.cc', 251 'base/trace_event/process_memory_dump.cc',
252 'base/trace_event/process_memory_maps.cc', 252 'base/trace_event/process_memory_maps.cc',
253 'base/trace_event/process_memory_maps_dump_provider.cc', 253 'base/trace_event/process_memory_maps_dump_provider.cc',
254 'base/trace_event/process_memory_totals.cc', 254 'base/trace_event/process_memory_totals.cc',
255 'base/trace_event/process_memory_totals_dump_provider.cc', 255 'base/trace_event/process_memory_totals_dump_provider.cc',
256 'base/trace_event/trace_buffer.cc',
256 'base/trace_event/trace_config.cc', 257 'base/trace_event/trace_config.cc',
257 'base/trace_event/trace_event_argument.cc', 258 'base/trace_event/trace_event_argument.cc',
258 'base/trace_event/trace_event_impl.cc', 259 'base/trace_event/trace_event_impl.cc',
259 'base/trace_event/trace_event_impl_constants.cc',
260 'base/trace_event/trace_event_memory.cc', 260 'base/trace_event/trace_event_memory.cc',
261 'base/trace_event/trace_event_memory_overhead.cc', 261 'base/trace_event/trace_event_memory_overhead.cc',
262 'base/trace_event/trace_event_synthetic_delay.cc', 262 'base/trace_event/trace_event_synthetic_delay.cc',
263 'base/trace_event/trace_log.cc',
264 'base/trace_event/trace_log_constants.cc',
265 'base/trace_event/trace_sampling_thread.cc',
263 'base/tracked_objects.cc', 266 'base/tracked_objects.cc',
264 'base/tracking_info.cc', 267 'base/tracking_info.cc',
265 'base/values.cc', 268 'base/values.cc',
266 'base/vlog.cc', 269 'base/vlog.cc',
267 ]) 270 ])
268 271
269 if is_posix: 272 if is_posix:
270 static_libraries['base']['sources'].extend([ 273 static_libraries['base']['sources'].extend([
271 'base/base_paths_posix.cc', 274 'base/base_paths_posix.cc',
272 'base/debug/debugger_posix.cc', 275 'base/debug/debugger_posix.cc',
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 cmd.append('-v') 440 cmd.append('-v')
438 cmd.append('gn') 441 cmd.append('gn')
439 check_call(cmd) 442 check_call(cmd)
440 443
441 if not options.debug: 444 if not options.debug:
442 check_call(['strip', os.path.join(build_dir, 'gn')]) 445 check_call(['strip', os.path.join(build_dir, 'gn')])
443 446
444 447
445 if __name__ == '__main__': 448 if __name__ == '__main__':
446 sys.exit(main(sys.argv[1:])) 449 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698