| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 'third_party/modp_b64', | 94 'third_party/modp_b64', |
| 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. | |
| 105 'tools/isolate_driver.py': None, | 104 'tools/isolate_driver.py': None, |
| 106 'third_party/BUILD.gn': None, | 105 'third_party/BUILD.gn': None, |
| 107 } | 106 } |
| 108 | 107 |
| 109 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 108 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) |
| 110 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') | 109 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') |
| 111 LINKS_DB = 'links' | 110 LINKS_DB = 'links' |
| 112 | 111 |
| 113 # Version management to make future upgrades/downgrades easier to support. | 112 # Version management to make future upgrades/downgrades easier to support. |
| 114 SCHEMA_VERSION = 1 | 113 SCHEMA_VERSION = 1 |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 except LinkError as e: | 504 except LinkError as e: |
| 506 print >> sys.stderr, e.message | 505 print >> sys.stderr, e.message |
| 507 return 3 | 506 return 3 |
| 508 finally: | 507 finally: |
| 509 links_database.close() | 508 links_database.close() |
| 510 return 0 | 509 return 0 |
| 511 | 510 |
| 512 | 511 |
| 513 if __name__ == '__main__': | 512 if __name__ == '__main__': |
| 514 sys.exit(main()) | 513 sys.exit(main()) |
| OLD | NEW |