OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
11 import("../build/webrtc.gni") | 11 import("../build/webrtc.gni") |
12 | 12 |
13 if (is_android) { | 13 if (is_android) { |
14 import("//build/config/android/config.gni") | 14 import("//build/config/android/config.gni") |
15 import("//build/config/android/rules.gni") | 15 import("//build/config/android/rules.gni") |
16 } | 16 } |
17 if (is_win) { | 17 if (is_win) { |
18 import("//build/config/win/visual_studio_version.gni") | |
19 import("//build/config/clang/clang.gni") | 18 import("//build/config/clang/clang.gni") |
20 } | 19 } |
21 | 20 |
22 group("base") { | 21 group("base") { |
23 public_deps = [ | 22 public_deps = [ |
24 ":rtc_base", | 23 ":rtc_base", |
25 ":rtc_base_approved", | 24 ":rtc_base_approved", |
26 ":rtc_task_queue", | 25 ":rtc_task_queue", |
27 ] | 26 ] |
28 if (is_android) { | 27 if (is_android) { |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 # so we don't have to copy their changes and risk breakages. | 219 # so we don't have to copy their changes and risk breakages. |
221 # See http://crbug.com/653569 | 220 # See http://crbug.com/653569 |
222 if (is_debug) { | 221 if (is_debug) { |
223 vcrt_suffix = "d" | 222 vcrt_suffix = "d" |
224 } else { | 223 } else { |
225 vcrt_suffix = "" | 224 vcrt_suffix = "" |
226 } | 225 } |
227 | 226 |
228 # These runtime files are copied to the output directory by the | 227 # These runtime files are copied to the output directory by the |
229 # vs_toolchain script that runs as part of toolchain configuration. | 228 # vs_toolchain script that runs as part of toolchain configuration. |
230 if (visual_studio_version == "2015") { | 229 data = [ |
231 data = [ | 230 "$root_out_dir/msvcp140${vcrt_suffix}.dll", |
232 "$root_out_dir/msvcp140${vcrt_suffix}.dll", | 231 "$root_out_dir/vccorlib140${vcrt_suffix}.dll", |
233 "$root_out_dir/vccorlib140${vcrt_suffix}.dll", | 232 "$root_out_dir/vcruntime140${vcrt_suffix}.dll", |
234 "$root_out_dir/vcruntime140${vcrt_suffix}.dll", | |
235 | 233 |
236 # Universal Windows 10 CRT files | 234 # Universal Windows 10 CRT files |
237 "$root_out_dir/api-ms-win-core-console-l1-1-0.dll", | 235 "$root_out_dir/api-ms-win-core-console-l1-1-0.dll", |
238 "$root_out_dir/api-ms-win-core-datetime-l1-1-0.dll", | 236 "$root_out_dir/api-ms-win-core-datetime-l1-1-0.dll", |
239 "$root_out_dir/api-ms-win-core-debug-l1-1-0.dll", | 237 "$root_out_dir/api-ms-win-core-debug-l1-1-0.dll", |
240 "$root_out_dir/api-ms-win-core-errorhandling-l1-1-0.dll", | 238 "$root_out_dir/api-ms-win-core-errorhandling-l1-1-0.dll", |
241 "$root_out_dir/api-ms-win-core-file-l1-1-0.dll", | 239 "$root_out_dir/api-ms-win-core-file-l1-1-0.dll", |
242 "$root_out_dir/api-ms-win-core-file-l1-2-0.dll", | 240 "$root_out_dir/api-ms-win-core-file-l1-2-0.dll", |
243 "$root_out_dir/api-ms-win-core-file-l2-1-0.dll", | 241 "$root_out_dir/api-ms-win-core-file-l2-1-0.dll", |
244 "$root_out_dir/api-ms-win-core-handle-l1-1-0.dll", | 242 "$root_out_dir/api-ms-win-core-handle-l1-1-0.dll", |
245 "$root_out_dir/api-ms-win-core-heap-l1-1-0.dll", | 243 "$root_out_dir/api-ms-win-core-heap-l1-1-0.dll", |
246 "$root_out_dir/api-ms-win-core-interlocked-l1-1-0.dll", | 244 "$root_out_dir/api-ms-win-core-interlocked-l1-1-0.dll", |
247 "$root_out_dir/api-ms-win-core-libraryloader-l1-1-0.dll", | 245 "$root_out_dir/api-ms-win-core-libraryloader-l1-1-0.dll", |
248 "$root_out_dir/api-ms-win-core-localization-l1-2-0.dll", | 246 "$root_out_dir/api-ms-win-core-localization-l1-2-0.dll", |
249 "$root_out_dir/api-ms-win-core-memory-l1-1-0.dll", | 247 "$root_out_dir/api-ms-win-core-memory-l1-1-0.dll", |
250 "$root_out_dir/api-ms-win-core-namedpipe-l1-1-0.dll", | 248 "$root_out_dir/api-ms-win-core-namedpipe-l1-1-0.dll", |
251 "$root_out_dir/api-ms-win-core-processenvironment-l1-1-0.dll", | 249 "$root_out_dir/api-ms-win-core-processenvironment-l1-1-0.dll", |
252 "$root_out_dir/api-ms-win-core-processthreads-l1-1-0.dll", | 250 "$root_out_dir/api-ms-win-core-processthreads-l1-1-0.dll", |
253 "$root_out_dir/api-ms-win-core-processthreads-l1-1-1.dll", | 251 "$root_out_dir/api-ms-win-core-processthreads-l1-1-1.dll", |
254 "$root_out_dir/api-ms-win-core-profile-l1-1-0.dll", | 252 "$root_out_dir/api-ms-win-core-profile-l1-1-0.dll", |
255 "$root_out_dir/api-ms-win-core-rtlsupport-l1-1-0.dll", | 253 "$root_out_dir/api-ms-win-core-rtlsupport-l1-1-0.dll", |
256 "$root_out_dir/api-ms-win-core-string-l1-1-0.dll", | 254 "$root_out_dir/api-ms-win-core-string-l1-1-0.dll", |
257 "$root_out_dir/api-ms-win-core-synch-l1-1-0.dll", | 255 "$root_out_dir/api-ms-win-core-synch-l1-1-0.dll", |
258 "$root_out_dir/api-ms-win-core-synch-l1-2-0.dll", | 256 "$root_out_dir/api-ms-win-core-synch-l1-2-0.dll", |
259 "$root_out_dir/api-ms-win-core-sysinfo-l1-1-0.dll", | 257 "$root_out_dir/api-ms-win-core-sysinfo-l1-1-0.dll", |
260 "$root_out_dir/api-ms-win-core-timezone-l1-1-0.dll", | 258 "$root_out_dir/api-ms-win-core-timezone-l1-1-0.dll", |
261 "$root_out_dir/api-ms-win-core-util-l1-1-0.dll", | 259 "$root_out_dir/api-ms-win-core-util-l1-1-0.dll", |
262 "$root_out_dir/api-ms-win-crt-conio-l1-1-0.dll", | 260 "$root_out_dir/api-ms-win-crt-conio-l1-1-0.dll", |
263 "$root_out_dir/api-ms-win-crt-convert-l1-1-0.dll", | 261 "$root_out_dir/api-ms-win-crt-convert-l1-1-0.dll", |
264 "$root_out_dir/api-ms-win-crt-environment-l1-1-0.dll", | 262 "$root_out_dir/api-ms-win-crt-environment-l1-1-0.dll", |
265 "$root_out_dir/api-ms-win-crt-filesystem-l1-1-0.dll", | 263 "$root_out_dir/api-ms-win-crt-filesystem-l1-1-0.dll", |
266 "$root_out_dir/api-ms-win-crt-heap-l1-1-0.dll", | 264 "$root_out_dir/api-ms-win-crt-heap-l1-1-0.dll", |
267 "$root_out_dir/api-ms-win-crt-locale-l1-1-0.dll", | 265 "$root_out_dir/api-ms-win-crt-locale-l1-1-0.dll", |
268 "$root_out_dir/api-ms-win-crt-math-l1-1-0.dll", | 266 "$root_out_dir/api-ms-win-crt-math-l1-1-0.dll", |
269 "$root_out_dir/api-ms-win-crt-multibyte-l1-1-0.dll", | 267 "$root_out_dir/api-ms-win-crt-multibyte-l1-1-0.dll", |
270 "$root_out_dir/api-ms-win-crt-private-l1-1-0.dll", | 268 "$root_out_dir/api-ms-win-crt-private-l1-1-0.dll", |
271 "$root_out_dir/api-ms-win-crt-process-l1-1-0.dll", | 269 "$root_out_dir/api-ms-win-crt-process-l1-1-0.dll", |
272 "$root_out_dir/api-ms-win-crt-runtime-l1-1-0.dll", | 270 "$root_out_dir/api-ms-win-crt-runtime-l1-1-0.dll", |
273 "$root_out_dir/api-ms-win-crt-stdio-l1-1-0.dll", | 271 "$root_out_dir/api-ms-win-crt-stdio-l1-1-0.dll", |
274 "$root_out_dir/api-ms-win-crt-string-l1-1-0.dll", | 272 "$root_out_dir/api-ms-win-crt-string-l1-1-0.dll", |
275 "$root_out_dir/api-ms-win-crt-time-l1-1-0.dll", | 273 "$root_out_dir/api-ms-win-crt-time-l1-1-0.dll", |
276 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll", | 274 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll", |
277 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", | 275 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", |
278 ] | 276 ] |
279 } else { | |
280 data = [ | |
281 "$root_out_dir/msvcp120${vcrt_suffix}.dll", | |
282 "$root_out_dir/msvcr120${vcrt_suffix}.dll", | |
283 ] | |
284 } | |
285 if (is_asan) { | 277 if (is_asan) { |
286 if (current_cpu == "x64") { | 278 if (current_cpu == "x64") { |
287 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r
t.asan_dynamic-x86_64.dll" ] | 279 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r
t.asan_dynamic-x86_64.dll" ] |
288 } else { | 280 } else { |
289 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r
t.asan_dynamic-i386.dll" ] | 281 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r
t.asan_dynamic-i386.dll" ] |
290 } | 282 } |
291 } | 283 } |
292 } | 284 } |
293 } | 285 } |
294 | 286 |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 "java/src/org/webrtc/Logging.java", | 802 "java/src/org/webrtc/Logging.java", |
811 "java/src/org/webrtc/Size.java", | 803 "java/src/org/webrtc/Size.java", |
812 "java/src/org/webrtc/ThreadUtils.java", | 804 "java/src/org/webrtc/ThreadUtils.java", |
813 ] | 805 ] |
814 | 806 |
815 deps = [ | 807 deps = [ |
816 "//base:base_java", | 808 "//base:base_java", |
817 ] | 809 ] |
818 } | 810 } |
819 } | 811 } |
OLD | NEW |