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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 | 33 |
34 DIRECTORIES = [ | 34 DIRECTORIES = [ |
35 'build', | 35 'build', |
36 'buildtools', | 36 'buildtools', |
37 'google_apis', # Needed by build/common.gypi. | 37 'google_apis', # Needed by build/common.gypi. |
38 'native_client', | 38 'native_client', |
39 'net', | 39 'net', |
40 'testing', | 40 'testing', |
41 'third_party/binutils', | 41 'third_party/binutils', |
42 'third_party/boringssl', | |
43 'third_party/colorama', | |
44 'third_party/drmemory', | 42 'third_party/drmemory', |
45 'third_party/expat', | |
46 'third_party/icu', | |
47 'third_party/instrumented_libraries', | 43 'third_party/instrumented_libraries', |
48 'third_party/jsoncpp', | |
49 'third_party/libjpeg', | 44 'third_party/libjpeg', |
50 'third_party/libjpeg_turbo', | 45 'third_party/libjpeg_turbo', |
51 'third_party/libsrtp', | |
52 'third_party/libudev', | |
53 'third_party/libvpx', | |
54 'third_party/libyuv', | |
55 'third_party/llvm-build', | 46 'third_party/llvm-build', |
56 'third_party/lss', | 47 'third_party/lss', |
57 'third_party/nss', | |
58 'third_party/ocmock', | |
59 'third_party/openmax_dl', | |
60 'third_party/opus', | |
61 'third_party/proguard', | |
62 'third_party/protobuf', | |
63 'third_party/sqlite', | |
64 'third_party/syzygy', | |
65 'third_party/usrsctp', | |
66 'third_party/yasm', | 48 'third_party/yasm', |
67 'third_party/zlib', | |
68 'tools/clang', | 49 'tools/clang', |
69 'tools/generate_library_loader', | |
70 'tools/gn', | 50 'tools/gn', |
71 'tools/gyp', | 51 'tools/gyp', |
72 'tools/memory', | 52 'tools/memory', |
73 'tools/protoc_wrapper', | |
74 'tools/python', | 53 'tools/python', |
75 'tools/swarming_client', | 54 'tools/swarming_client', |
76 'tools/valgrind', | 55 'tools/valgrind', |
77 'tools/vim', | 56 'tools/vim', |
78 'tools/win', | 57 'tools/win', |
79 ] | 58 ] |
80 | 59 |
81 from sync_chromium import get_target_os_list | 60 from sync_chromium import get_target_os_list |
82 target_os = get_target_os_list() | 61 target_os = get_target_os_list() |
83 if 'android' in target_os: | 62 if 'android' in target_os: |
84 DIRECTORIES += [ | 63 DIRECTORIES += [ |
85 'base', | 64 'base', |
86 'third_party/android_platform', | 65 'third_party/android_platform', |
87 'third_party/android_testrunner', | 66 'third_party/android_testrunner', |
88 'third_party/android_tools', | 67 'third_party/android_tools', |
89 'third_party/appurify-python', | 68 'third_party/appurify-python', |
90 'third_party/ashmem', | 69 'third_party/ashmem', |
91 'third_party/catapult', | 70 'third_party/catapult', |
92 'third_party/ijar', | 71 'third_party/ijar', |
93 'third_party/jsr-305', | 72 'third_party/jsr-305', |
94 'third_party/junit', | 73 'third_party/junit', |
95 'third_party/libevent', | 74 'third_party/libevent', |
96 'third_party/libxml', | 75 'third_party/libxml', |
97 'third_party/mockito', | 76 'third_party/mockito', |
98 'third_party/modp_b64', | 77 'third_party/modp_b64', |
| 78 'third_party/protobuf', |
99 'third_party/requests', | 79 'third_party/requests', |
100 'third_party/robolectric', | 80 'third_party/robolectric', |
101 'tools/android', | 81 'tools/android', |
102 'tools/grit', | 82 'tools/grit', |
103 'tools/relocation_packer', | 83 'tools/relocation_packer', |
104 'tools/telemetry', | 84 'tools/telemetry', |
105 ] | 85 ] |
106 if 'ios' in target_os: | 86 if 'ios' in target_os: |
107 DIRECTORIES.append('third_party/class-dump') | 87 DIRECTORIES.append('third_party/class-dump') |
108 | 88 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 except LinkError as e: | 491 except LinkError as e: |
512 print >> sys.stderr, e.message | 492 print >> sys.stderr, e.message |
513 return 3 | 493 return 3 |
514 finally: | 494 finally: |
515 links_database.close() | 495 links_database.close() |
516 return 0 | 496 return 0 |
517 | 497 |
518 | 498 |
519 if __name__ == '__main__': | 499 if __name__ == '__main__': |
520 sys.exit(main()) | 500 sys.exit(main()) |
OLD | NEW |