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