Chromium Code Reviews| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 'third_party/libxml', | 97 'third_party/libxml', | 
| 98 'third_party/mockito', | 98 'third_party/mockito', | 
| 99 'third_party/modp_b64', | 99 'third_party/modp_b64', | 
| 100 'third_party/requests', | 100 'third_party/requests', | 
| 101 'third_party/robolectric', | 101 'third_party/robolectric', | 
| 102 'third_party/tcmalloc', | 102 'third_party/tcmalloc', | 
| 103 'tools/android', | 103 'tools/android', | 
| 104 'tools/grit', | 104 'tools/grit', | 
| 105 'tools/telemetry', | 105 'tools/telemetry', | 
| 106 ] | 106 ] | 
| 107 else: | |
| 108 DIRECTORIES += [ | |
| 109 'base/third_party/libevent', | |
| 
 
kjellander_webrtc
2016/04/22 07:54:40
This should work.
 
 | |
| 110 ] | |
| 111 | |
| 107 if 'ios' in target_os: | 112 if 'ios' in target_os: | 
| 108 DIRECTORIES.append('third_party/class-dump') | 113 DIRECTORIES.append('third_party/class-dump') | 
| 109 | 114 | 
| 110 FILES = { | 115 FILES = { | 
| 111 'tools/isolate_driver.py': None, | 116 'tools/isolate_driver.py': None, | 
| 112 'third_party/BUILD.gn': None, | 117 'third_party/BUILD.gn': None, | 
| 113 } | 118 } | 
| 114 | 119 | 
| 115 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 120 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 
| 116 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') | 121 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') | 
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 502 except LinkError as e: | 507 except LinkError as e: | 
| 503 print >> sys.stderr, e.message | 508 print >> sys.stderr, e.message | 
| 504 return 3 | 509 return 3 | 
| 505 finally: | 510 finally: | 
| 506 links_database.close() | 511 links_database.close() | 
| 507 return 0 | 512 return 0 | 
| 508 | 513 | 
| 509 | 514 | 
| 510 if __name__ == '__main__': | 515 if __name__ == '__main__': | 
| 511 sys.exit(main()) | 516 sys.exit(main()) | 
| OLD | NEW |