Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: webrtc/rtc_base/BUILD.gn

Issue 2976633002: Revert of Remove remains of webrtc/base (patchset #7 id:120001 of https://codereview.webrtc.org/297… (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/rtc_base/callback.h.pump » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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/rtc_base/logging.cc", 206 "../../webrtc_overrides/webrtc/base/logging.cc",
207 "../../webrtc_overrides/webrtc/rtc_base/logging.h", 207 "../../webrtc_overrides/webrtc/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
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/rtc_base/task_queue.cc", 304 "../../webrtc_overrides/webrtc/base/task_queue.cc",
305 "../../webrtc_overrides/webrtc/rtc_base/task_queue.h", 305 "../../webrtc_overrides/webrtc/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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default 510 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default
511 # compiler settings. 511 # compiler settings.
512 suppressed_configs += [ "//build/config/compiler:chromium_code" ] 512 suppressed_configs += [ "//build/config/compiler:chromium_code" ]
513 configs += [ "//build/config/compiler:no_chromium_code" ] 513 configs += [ "//build/config/compiler:no_chromium_code" ]
514 if (!is_win) { 514 if (!is_win) {
515 cflags += [ "-Wno-uninitialized" ] 515 cflags += [ "-Wno-uninitialized" ]
516 } 516 }
517 517
518 if (build_with_chromium) { 518 if (build_with_chromium) {
519 if (is_win) { 519 if (is_win) {
520 sources += [ "../../webrtc_overrides/webrtc/rtc_base/win32socketinit.cc" ] 520 sources += [ "../../webrtc_overrides/webrtc/base/win32socketinit.cc" ]
521 } 521 }
522 include_dirs = [ "../../boringssl/src/include" ] 522 include_dirs = [ "../../boringssl/src/include" ]
523 public_configs += [ ":rtc_base_chromium_config" ] 523 public_configs += [ ":rtc_base_chromium_config" ]
524 } else { 524 } else {
525 configs += [ ":rtc_base_warnings_config" ] 525 configs += [ ":rtc_base_warnings_config" ]
526 sources += [ 526 sources += [
527 "callback.h", 527 "callback.h",
528 "logsinks.cc", 528 "logsinks.cc",
529 "logsinks.h", 529 "logsinks.h",
530 "mathutils.h", 530 "mathutils.h",
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 if (is_android) { 1029 if (is_android) {
1030 android_library("base_java") { 1030 android_library("base_java") {
1031 java_files = [ 1031 java_files = [
1032 "java/src/org/webrtc/ContextUtils.java", 1032 "java/src/org/webrtc/ContextUtils.java",
1033 "java/src/org/webrtc/Logging.java", 1033 "java/src/org/webrtc/Logging.java",
1034 "java/src/org/webrtc/Size.java", 1034 "java/src/org/webrtc/Size.java",
1035 "java/src/org/webrtc/ThreadUtils.java", 1035 "java/src/org/webrtc/ThreadUtils.java",
1036 ] 1036 ]
1037 } 1037 }
1038 } 1038 }
OLDNEW
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/rtc_base/callback.h.pump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698