Chromium Code Reviews| 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") | 18 import("//build/config/win/visual_studio_version.gni") |
|
kjellander_webrtc
2016/11/02 13:44:21
You can remove this too, right?
| |
| 19 import("//build/config/clang/clang.gni") | 19 import("//build/config/clang/clang.gni") |
| 20 } | 20 } |
| 21 | 21 |
| 22 group("base") { | 22 group("base") { |
| 23 public_deps = [ | 23 public_deps = [ |
| 24 ":rtc_base", | 24 ":rtc_base", |
| 25 ":rtc_base_approved", | 25 ":rtc_base_approved", |
| 26 ":rtc_task_queue", | 26 ":rtc_task_queue", |
| 27 ] | 27 ] |
| 28 if (is_android) { | 28 if (is_android) { |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 208 sources += [ | 208 sources += [ |
| 209 "logging.cc", | 209 "logging.cc", |
| 210 "logging.h", | 210 "logging.h", |
| 211 "logging_mac.mm", | 211 "logging_mac.mm", |
| 212 ] | 212 ] |
| 213 } | 213 } |
| 214 if (is_component_build && is_win) { | 214 if (is_component_build && is_win) { |
| 215 # Copy the VS runtime DLLs into the isolate so that they don't have to be | 215 # Copy the VS runtime DLLs into the isolate so that they don't have to be |
| 216 # preinstalled on the target machine. The debug runtimes have a "d" at | 216 # preinstalled on the target machine. The debug runtimes have a "d" at |
| 217 # the end. | 217 # the end. |
| 218 # This is a copy of https://codereview.chromium.org/1783973002. | 218 # This is a copy of https://codereview.chromium.org/1783973002. |
|
kjellander_webrtc
2016/11/02 13:44:21
copy of ... followed by https://codereview.chromiu
| |
| 219 # TODO(ehmaldonado): We'd like Chromium to make this changes easier to use, | 219 # TODO(ehmaldonado): We'd like Chromium to make this changes easier to use, |
| 220 # so we don't have to copy their changes and risk breakages. | 220 # so we don't have to copy their changes and risk breakages. |
| 221 # See http://crbug.com/653569 | 221 # See http://crbug.com/653569 |
| 222 if (is_debug) { | 222 if (is_debug) { |
| 223 vcrt_suffix = "d" | 223 vcrt_suffix = "d" |
| 224 } else { | 224 } else { |
| 225 vcrt_suffix = "" | 225 vcrt_suffix = "" |
| 226 } | 226 } |
| 227 | 227 |
| 228 # These runtime files are copied to the output directory by the | 228 # These runtime files are copied to the output directory by the |
| 229 # vs_toolchain script that runs as part of toolchain configuration. | 229 # vs_toolchain script that runs as part of toolchain configuration. |
| 230 if (visual_studio_version == "2015") { | 230 data += [ |
| 231 data = [ | 231 "$root_out_dir/msvcp140${vcrt_suffix}.dll", |
| 232 "$root_out_dir/msvcp140${vcrt_suffix}.dll", | 232 "$root_out_dir/vccorlib140${vcrt_suffix}.dll", |
| 233 "$root_out_dir/vccorlib140${vcrt_suffix}.dll", | 233 "$root_out_dir/vcruntime140${vcrt_suffix}.dll", |
| 234 "$root_out_dir/vcruntime140${vcrt_suffix}.dll", | |
| 235 | 234 |
| 236 # Universal Windows 10 CRT files | 235 # Universal Windows 10 CRT files |
| 237 "$root_out_dir/api-ms-win-core-console-l1-1-0.dll", | 236 "$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", | 237 "$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", | 238 "$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", | 239 "$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", | 240 "$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", | 241 "$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", | 242 "$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", | 243 "$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", | 244 "$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", | 245 "$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", | 246 "$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", | 247 "$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", | 248 "$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", | 249 "$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", | 250 "$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", | 251 "$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", | 252 "$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", | 253 "$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", | 254 "$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", | 255 "$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", | 256 "$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", | 257 "$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", | 258 "$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", | 259 "$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", | 260 "$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", | 261 "$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", | 262 "$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", | 263 "$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", | 264 "$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", | 265 "$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", | 266 "$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", | 267 "$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", | 268 "$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", | 269 "$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", | 270 "$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", | 271 "$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", | 272 "$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", | 273 "$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", | 274 "$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", | 275 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll", |
| 277 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", | 276 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", |
| 278 ] | 277 ] |
| 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) { | 278 if (is_asan) { |
| 286 if (current_cpu == "x64") { | 279 if (current_cpu == "x64") { |
| 287 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-x86_64.dll" ] | 280 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-x86_64.dll" ] |
| 288 } else { | 281 } else { |
| 289 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-i386.dll" ] | 282 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-i386.dll" ] |
| 290 } | 283 } |
| 291 } | 284 } |
| 292 } | 285 } |
| 293 } | 286 } |
| 294 | 287 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 810 "java/src/org/webrtc/Logging.java", | 803 "java/src/org/webrtc/Logging.java", |
| 811 "java/src/org/webrtc/Size.java", | 804 "java/src/org/webrtc/Size.java", |
| 812 "java/src/org/webrtc/ThreadUtils.java", | 805 "java/src/org/webrtc/ThreadUtils.java", |
| 813 ] | 806 ] |
| 814 | 807 |
| 815 deps = [ | 808 deps = [ |
| 816 "//base:base_java", | 809 "//base:base_java", |
| 817 ] | 810 ] |
| 818 } | 811 } |
| 819 } | 812 } |
| OLD | NEW |