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

Side by Side Diff: setup_links.py

Issue 1145343009: Roll chromium_revision 3d86a83..b2c6a86 (332345:332773) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Optimized a little Created 5 years, 6 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 | « DEPS ('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 (c) 2014 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """Setup links to a Chromium checkout for WebRTC. 10 """Setup links to a Chromium checkout for WebRTC.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'tools/memory', 69 'tools/memory',
70 'tools/protoc_wrapper', 70 'tools/protoc_wrapper',
71 'tools/python', 71 'tools/python',
72 'tools/swarming_client', 72 'tools/swarming_client',
73 'tools/valgrind', 73 'tools/valgrind',
74 'tools/vim', 74 'tools/vim',
75 'tools/win', 75 'tools/win',
76 ] 76 ]
77 77
78 from sync_chromium import get_target_os_list 78 from sync_chromium import get_target_os_list
79 if 'android' in get_target_os_list(): 79 target_os = get_target_os_list()
80 if 'android' in target_os:
80 DIRECTORIES += [ 81 DIRECTORIES += [
81 'base', 82 'base',
82 'third_party/android_testrunner', 83 'third_party/android_testrunner',
83 'third_party/android_tools', 84 'third_party/android_tools',
84 'third_party/appurify-python', 85 'third_party/appurify-python',
85 'third_party/ashmem', 86 'third_party/ashmem',
86 'third_party/jsr-305', 87 'third_party/jsr-305',
87 'third_party/junit', 88 'third_party/junit',
88 'third_party/libevent', 89 'third_party/libevent',
89 'third_party/libxml', 90 'third_party/libxml',
90 'third_party/mockito', 91 'third_party/mockito',
91 'third_party/modp_b64', 92 'third_party/modp_b64',
92 'third_party/requests', 93 'third_party/requests',
93 'third_party/robolectric', 94 'third_party/robolectric',
94 'tools/android', 95 'tools/android',
95 'tools/grit', 96 'tools/grit',
96 'tools/relocation_packer' 97 'tools/relocation_packer'
97 ] 98 ]
99 if 'ios' in target_os:
100 DIRECTORIES.append('third_party/class-dump')
98 101
99 FILES = { 102 FILES = {
100 'tools/find_depot_tools.py': None, 103 'tools/find_depot_tools.py': None,
101 'third_party/BUILD.gn': None, 104 'third_party/BUILD.gn': None,
102 } 105 }
103 106
104 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) 107 ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
105 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') 108 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src')
106 LINKS_DB = 'links' 109 LINKS_DB = 'links'
107 110
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 except LinkError as e: 503 except LinkError as e:
501 print >> sys.stderr, e.message 504 print >> sys.stderr, e.message
502 return 3 505 return 3
503 finally: 506 finally:
504 links_database.close() 507 links_database.close()
505 return 0 508 return 0
506 509
507 510
508 if __name__ == '__main__': 511 if __name__ == '__main__':
509 sys.exit(main()) 512 sys.exit(main())
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698