OLD | NEW |
1 # This file contains dependencies for WebRTC that are not shared with Chromium. | 1 # This file contains dependencies for WebRTC that are not shared with Chromium. |
2 # If you wish to add a dependency that is present in Chromium's src/DEPS or a | 2 # If you wish to add a dependency that is present in Chromium's src/DEPS or a |
3 # directory from the Chromium checkout, you should add it to setup_links.py | 3 # directory from the Chromium checkout, you should add it to setup_links.py |
4 # instead. | 4 # instead. |
5 | 5 |
6 vars = { | 6 vars = { |
7 'extra_gyp_flag': '-Dextra_gyp_flag=0', | 7 'extra_gyp_flag': '-Dextra_gyp_flag=0', |
8 'chromium_git': 'https://chromium.googlesource.com', | 8 'chromium_git': 'https://chromium.googlesource.com', |
9 'chromium_revision': '6919ce3b8c916bb007b77b08bd3ef93f2fe35f74', | 9 'chromium_revision': '6919ce3b8c916bb007b77b08bd3ef93f2fe35f74', |
10 } | 10 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 'action': ['python', '-u', 'src/sync_chromium.py', | 64 'action': ['python', '-u', 'src/sync_chromium.py', |
65 '--target-revision', Var('chromium_revision')], | 65 '--target-revision', Var('chromium_revision')], |
66 }, | 66 }, |
67 { | 67 { |
68 # Create links to shared dependencies in Chromium. | 68 # Create links to shared dependencies in Chromium. |
69 'name': 'setup_links', | 69 'name': 'setup_links', |
70 'pattern': '.', | 70 'pattern': '.', |
71 'action': ['python', 'src/setup_links.py'], | 71 'action': ['python', 'src/setup_links.py'], |
72 }, | 72 }, |
73 { | 73 { |
| 74 # This clobbers when necessary (based on get_landmines.py). It should be |
| 75 # an early hook but it will need to be run after syncing Chromium and |
| 76 # setting up the links, so the script actually exists. |
| 77 'name': 'landmines', |
| 78 'pattern': '.', |
| 79 'action': [ |
| 80 'python', |
| 81 'src/build/landmines.py', |
| 82 '--landmine-scripts', |
| 83 'src/webrtc/build/get_landmines.py', |
| 84 '--src-dir', |
| 85 'src', |
| 86 ], |
| 87 }, |
| 88 { |
74 # Pull sanitizer-instrumented third-party libraries if requested via | 89 # Pull sanitizer-instrumented third-party libraries if requested via |
75 # GYP_DEFINES. This could be done as part of sync_chromium.py above | 90 # GYP_DEFINES. This could be done as part of sync_chromium.py above |
76 # but then we would need to run all the Chromium hooks each time, | 91 # but then we would need to run all the Chromium hooks each time, |
77 # which will slow things down a lot. | 92 # which will slow things down a lot. |
78 'name': 'instrumented_libraries', | 93 'name': 'instrumented_libraries', |
79 'pattern': '\\.sha1', | 94 'pattern': '\\.sha1', |
80 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downlo
ad_binaries.py'], | 95 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downlo
ad_binaries.py'], |
81 }, | 96 }, |
82 { | 97 { |
83 # Download test resources, i.e. video and audio files from Google Storage. | 98 # Download test resources, i.e. video and audio files from Google Storage. |
84 'pattern': '.', | 99 'pattern': '.', |
85 'action': ['download_from_google_storage', | 100 'action': ['download_from_google_storage', |
86 '--directory', | 101 '--directory', |
87 '--recursive', | 102 '--recursive', |
88 '--num_threads=10', | 103 '--num_threads=10', |
89 '--no_auth', | 104 '--no_auth', |
90 '--bucket', 'chromium-webrtc-resources', | 105 '--bucket', 'chromium-webrtc-resources', |
91 'src/resources'], | 106 'src/resources'], |
92 }, | 107 }, |
93 { | 108 { |
94 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 109 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
95 'name': 'gyp', | 110 'name': 'gyp', |
96 'pattern': '.', | 111 'pattern': '.', |
97 'action': ['python', 'src/webrtc/build/gyp_webrtc', | 112 'action': ['python', 'src/webrtc/build/gyp_webrtc', |
98 Var('extra_gyp_flag')], | 113 Var('extra_gyp_flag')], |
99 }, | 114 }, |
100 ] | 115 ] |
101 | 116 |
OLD | NEW |