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

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

Issue 2696703009: Add gn target rtc_task_runner. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (is_win && is_clang) { 341 if (is_win && is_clang) {
342 cflags = [ 342 cflags = [
343 # Disable warnings failing when compiling with Clang on Windows. 343 # Disable warnings failing when compiling with Clang on Windows.
344 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 344 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
345 "-Wno-sign-compare", 345 "-Wno-sign-compare",
346 "-Wno-missing-braces", 346 "-Wno-missing-braces",
347 ] 347 ]
348 } 348 }
349 } 349 }
350 350
351 # TODO(nisse): This target is temporarily split out, to aid moving the
352 # code over to Chrome. It should be deleted from webrtc soon.
353 rtc_static_library("rtc_task_runner") {
354 sources = [
355 "task.cc",
356 "task.h",
357 "taskparent.cc",
358 "taskparent.h",
359 "taskrunner.cc",
360 "taskrunner.h",
361 ]
362 }
363
351 rtc_static_library("rtc_base") { 364 rtc_static_library("rtc_base") {
352 cflags = [] 365 cflags = []
353 cflags_cc = [] 366 cflags_cc = []
354 libs = [] 367 libs = []
355 defines = [] 368 defines = []
356 deps = [ 369 deps = [
357 "..:webrtc_common", 370 "..:webrtc_common",
358 ] 371 ]
359 public_deps = [ 372 public_deps = [
360 ":rtc_base_approved", 373 ":rtc_base_approved",
374 ":rtc_task_runner",
361 ] 375 ]
362 public_configs = [] 376 public_configs = []
363 377
364 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] 378 all_dependent_configs = [ ":rtc_base_all_dependent_config" ]
365 379
366 sources = [ 380 sources = [
367 "applefilesystem.mm", 381 "applefilesystem.mm",
368 "asyncinvoker-inl.h", 382 "asyncinvoker-inl.h",
369 "asyncinvoker.cc", 383 "asyncinvoker.cc",
370 "asyncinvoker.h", 384 "asyncinvoker.h",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 "ssladapter.cc", 470 "ssladapter.cc",
457 "ssladapter.h", 471 "ssladapter.h",
458 "sslfingerprint.cc", 472 "sslfingerprint.cc",
459 "sslfingerprint.h", 473 "sslfingerprint.h",
460 "sslidentity.cc", 474 "sslidentity.cc",
461 "sslidentity.h", 475 "sslidentity.h",
462 "sslstreamadapter.cc", 476 "sslstreamadapter.cc",
463 "sslstreamadapter.h", 477 "sslstreamadapter.h",
464 "stream.cc", 478 "stream.cc",
465 "stream.h", 479 "stream.h",
466 "task.cc",
467 "task.h",
468 "taskparent.cc",
469 "taskparent.h",
470 "taskrunner.cc",
471 "taskrunner.h",
472 "thread.cc", 480 "thread.cc",
473 "thread.h", 481 "thread.h",
474 ] 482 ]
475 483
476 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default 484 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default
477 # compiler settings. 485 # compiler settings.
478 suppressed_configs += [ "//build/config/compiler:chromium_code" ] 486 suppressed_configs += [ "//build/config/compiler:chromium_code" ]
479 configs += [ "//build/config/compiler:no_chromium_code" ] 487 configs += [ "//build/config/compiler:no_chromium_code" ]
480 if (!is_win) { 488 if (!is_win) {
481 cflags += [ "-Wno-uninitialized" ] 489 cflags += [ "-Wno-uninitialized" ]
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 906
899 if (is_android) { 907 if (is_android) {
900 android_library("base_java") { 908 android_library("base_java") {
901 java_files = [ 909 java_files = [
902 "java/src/org/webrtc/Logging.java", 910 "java/src/org/webrtc/Logging.java",
903 "java/src/org/webrtc/Size.java", 911 "java/src/org/webrtc/Size.java",
904 "java/src/org/webrtc/ThreadUtils.java", 912 "java/src/org/webrtc/ThreadUtils.java",
905 ] 913 ]
906 } 914 }
907 } 915 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698