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