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

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

Issue 1250853002: Revert of Remove old/unused atomicops code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « base/base.gypi ('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 # 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 continue 136 continue
137 full_path = os.path.join(GN_ROOT, name) 137 full_path = os.path.join(GN_ROOT, name)
138 static_libraries['gn']['sources'].append( 138 static_libraries['gn']['sources'].append(
139 os.path.relpath(full_path, SRC_ROOT)) 139 os.path.relpath(full_path, SRC_ROOT))
140 140
141 static_libraries['dynamic_annotations']['sources'].extend([ 141 static_libraries['dynamic_annotations']['sources'].extend([
142 'base/third_party/dynamic_annotations/dynamic_annotations.c', 142 'base/third_party/dynamic_annotations/dynamic_annotations.c',
143 ]) 143 ])
144 static_libraries['base']['sources'].extend([ 144 static_libraries['base']['sources'].extend([
145 'base/at_exit.cc', 145 'base/at_exit.cc',
146 'base/atomicops_internals_x86_gcc.cc',
146 'base/base_paths.cc', 147 'base/base_paths.cc',
147 'base/base_switches.cc', 148 'base/base_switches.cc',
148 'base/callback_internal.cc', 149 'base/callback_internal.cc',
149 'base/command_line.cc', 150 'base/command_line.cc',
150 'base/debug/alias.cc', 151 'base/debug/alias.cc',
151 'base/debug/stack_trace.cc', 152 'base/debug/stack_trace.cc',
152 'base/debug/task_annotator.cc', 153 'base/debug/task_annotator.cc',
153 'base/environment.cc', 154 'base/environment.cc',
154 'base/files/file.cc', 155 'base/files/file.cc',
155 'base/files/file_enumerator.cc', 156 'base/files/file_enumerator.cc',
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 cmd.append('-v') 408 cmd.append('-v')
408 cmd.append('gn') 409 cmd.append('gn')
409 check_call(cmd) 410 check_call(cmd)
410 411
411 if not options.debug: 412 if not options.debug:
412 check_call(['strip', os.path.join(build_dir, 'gn')]) 413 check_call(['strip', os.path.join(build_dir, 'gn')])
413 414
414 415
415 if __name__ == '__main__': 416 if __name__ == '__main__':
416 sys.exit(main(sys.argv[1:])) 417 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698