OLD | NEW |
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'third_party/robolectric', | 98 'third_party/robolectric', |
99 'tools/android', | 99 'tools/android', |
100 'tools/grit', | 100 'tools/grit', |
101 'tools/relocation_packer' | 101 'tools/relocation_packer' |
102 ] | 102 ] |
103 if 'ios' in target_os: | 103 if 'ios' in target_os: |
104 DIRECTORIES.append('third_party/class-dump') | 104 DIRECTORIES.append('third_party/class-dump') |
105 | 105 |
106 FILES = { | 106 FILES = { |
107 'tools/find_depot_tools.py': None, | 107 'tools/find_depot_tools.py': None, |
| 108 'tools/isolate_driver.py': None, |
108 'third_party/BUILD.gn': None, | 109 'third_party/BUILD.gn': None, |
109 } | 110 } |
110 | 111 |
111 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 112 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) |
112 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') | 113 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') |
113 LINKS_DB = 'links' | 114 LINKS_DB = 'links' |
114 | 115 |
115 # Version management to make future upgrades/downgrades easier to support. | 116 # Version management to make future upgrades/downgrades easier to support. |
116 SCHEMA_VERSION = 1 | 117 SCHEMA_VERSION = 1 |
117 | 118 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 except LinkError as e: | 508 except LinkError as e: |
508 print >> sys.stderr, e.message | 509 print >> sys.stderr, e.message |
509 return 3 | 510 return 3 |
510 finally: | 511 finally: |
511 links_database.close() | 512 links_database.close() |
512 return 0 | 513 return 0 |
513 | 514 |
514 | 515 |
515 if __name__ == '__main__': | 516 if __name__ == '__main__': |
516 sys.exit(main()) | 517 sys.exit(main()) |
OLD | NEW |