| 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") |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 } | 196 } |
| 197 | 197 |
| 198 if (is_win) { | 198 if (is_win) { |
| 199 sources += [ "file_win.cc" ] | 199 sources += [ "file_win.cc" ] |
| 200 } | 200 } |
| 201 | 201 |
| 202 if (build_with_chromium) { | 202 if (build_with_chromium) { |
| 203 # Dependency on chromium's logging (in //base). | 203 # Dependency on chromium's logging (in //base). |
| 204 deps += [ "//base:base" ] | 204 deps += [ "//base:base" ] |
| 205 sources += [ | 205 sources += [ |
| 206 "../../webrtc_overrides/webrtc/base/logging.cc", | 206 "../../webrtc_overrides/webrtc/rtc_base/logging.cc", |
| 207 "../../webrtc_overrides/webrtc/base/logging.h", | 207 "../../webrtc_overrides/webrtc/rtc_base/logging.h", |
| 208 ] | 208 ] |
| 209 } else { | 209 } else { |
| 210 sources += [ | 210 sources += [ |
| 211 "logging.cc", | 211 "logging.cc", |
| 212 "logging.h", | 212 "logging.h", |
| 213 "logging_mac.mm", | 213 "logging_mac.mm", |
| 214 ] | 214 ] |
| 215 } | 215 } |
| 216 if (is_component_build && is_win) { | 216 if (is_component_build && is_win) { |
| 217 # Copy the VS runtime DLLs into the isolate so that they don't have to be | 217 # Copy the VS runtime DLLs into the isolate so that they don't have to be |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 defines = [ "WEBRTC_BUILD_LIBEVENT" ] | 294 defines = [ "WEBRTC_BUILD_LIBEVENT" ] |
| 295 } | 295 } |
| 296 | 296 |
| 297 rtc_static_library("rtc_task_queue") { | 297 rtc_static_library("rtc_task_queue") { |
| 298 public_deps = [ | 298 public_deps = [ |
| 299 ":rtc_base_approved", | 299 ":rtc_base_approved", |
| 300 ] | 300 ] |
| 301 | 301 |
| 302 if (build_with_chromium) { | 302 if (build_with_chromium) { |
| 303 sources = [ | 303 sources = [ |
| 304 "../../webrtc_overrides/webrtc/base/task_queue.cc", | 304 "../../webrtc_overrides/webrtc/rtc_base/task_queue.cc", |
| 305 "../../webrtc_overrides/webrtc/base/task_queue.h", | 305 "../../webrtc_overrides/webrtc/rtc_base/task_queue.h", |
| 306 ] | 306 ] |
| 307 } else { | 307 } else { |
| 308 sources = [ | 308 sources = [ |
| 309 "task_queue.h", | 309 "task_queue.h", |
| 310 "task_queue_posix.h", | 310 "task_queue_posix.h", |
| 311 ] | 311 ] |
| 312 if (rtc_build_libevent) { | 312 if (rtc_build_libevent) { |
| 313 deps = [ | 313 deps = [ |
| 314 "//base/third_party/libevent", | 314 "//base/third_party/libevent", |
| 315 ] | 315 ] |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default | 511 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default |
| 512 # compiler settings. | 512 # compiler settings. |
| 513 suppressed_configs += [ "//build/config/compiler:chromium_code" ] | 513 suppressed_configs += [ "//build/config/compiler:chromium_code" ] |
| 514 configs += [ "//build/config/compiler:no_chromium_code" ] | 514 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 515 if (!is_win) { | 515 if (!is_win) { |
| 516 cflags += [ "-Wno-uninitialized" ] | 516 cflags += [ "-Wno-uninitialized" ] |
| 517 } | 517 } |
| 518 | 518 |
| 519 if (build_with_chromium) { | 519 if (build_with_chromium) { |
| 520 if (is_win) { | 520 if (is_win) { |
| 521 sources += [ "../../webrtc_overrides/webrtc/base/win32socketinit.cc" ] | 521 sources += [ "../../webrtc_overrides/webrtc/rtc_base/win32socketinit.cc" ] |
| 522 } | 522 } |
| 523 include_dirs = [ "../../boringssl/src/include" ] | 523 include_dirs = [ "../../boringssl/src/include" ] |
| 524 public_configs += [ ":rtc_base_chromium_config" ] | 524 public_configs += [ ":rtc_base_chromium_config" ] |
| 525 } else { | 525 } else { |
| 526 configs += [ ":rtc_base_warnings_config" ] | 526 configs += [ ":rtc_base_warnings_config" ] |
| 527 sources += [ | 527 sources += [ |
| 528 "callback.h", | 528 "callback.h", |
| 529 "logsinks.cc", | 529 "logsinks.cc", |
| 530 "logsinks.h", | 530 "logsinks.h", |
| 531 "mathutils.h", | 531 "mathutils.h", |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 if (is_android) { | 1031 if (is_android) { |
| 1032 android_library("base_java") { | 1032 android_library("base_java") { |
| 1033 java_files = [ | 1033 java_files = [ |
| 1034 "java/src/org/webrtc/ContextUtils.java", | 1034 "java/src/org/webrtc/ContextUtils.java", |
| 1035 "java/src/org/webrtc/Logging.java", | 1035 "java/src/org/webrtc/Logging.java", |
| 1036 "java/src/org/webrtc/Size.java", | 1036 "java/src/org/webrtc/Size.java", |
| 1037 "java/src/org/webrtc/ThreadUtils.java", | 1037 "java/src/org/webrtc/ThreadUtils.java", |
| 1038 ] | 1038 ] |
| 1039 } | 1039 } |
| 1040 } | 1040 } |
| OLD | NEW |