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

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

Issue 2732363004: Revert of Delete unused TaskRunner abstraction. (Closed)
Patch Set: Created 3 years, 9 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 | webrtc/base/task.h » ('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 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",
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 "rollingaccumulator_unittest.cc", 863 "rollingaccumulator_unittest.cc",
851 "rtccertificate_unittest.cc", 864 "rtccertificate_unittest.cc",
852 "rtccertificategenerator_unittest.cc", 865 "rtccertificategenerator_unittest.cc",
853 "scopedptrcollection_unittest.cc", 866 "scopedptrcollection_unittest.cc",
854 "sha1digest_unittest.cc", 867 "sha1digest_unittest.cc",
855 "sharedexclusivelock_unittest.cc", 868 "sharedexclusivelock_unittest.cc",
856 "signalthread_unittest.cc", 869 "signalthread_unittest.cc",
857 "sigslot_unittest.cc", 870 "sigslot_unittest.cc",
858 "sigslottester_unittest.cc", 871 "sigslottester_unittest.cc",
859 "stream_unittest.cc", 872 "stream_unittest.cc",
873 "task_unittest.cc",
860 "testclient_unittest.cc", 874 "testclient_unittest.cc",
861 "thread_unittest.cc", 875 "thread_unittest.cc",
862 ] 876 ]
863 if (is_win) { 877 if (is_win) {
864 sources += [ 878 sources += [
865 "win32_unittest.cc", 879 "win32_unittest.cc",
866 "win32window_unittest.cc", 880 "win32window_unittest.cc",
867 ] 881 ]
868 } 882 }
869 if (is_mac) { 883 if (is_mac) {
870 sources += [ "macutils_unittest.cc" ] 884 sources += [ "macutils_unittest.cc" ]
871 } 885 }
872 if (is_posix) { 886 if (is_posix) {
873 sources += [ 887 sources += [
874 "ssladapter_unittest.cc", 888 "ssladapter_unittest.cc",
875 "sslidentity_unittest.cc", 889 "sslidentity_unittest.cc",
876 "sslstreamadapter_unittest.cc", 890 "sslstreamadapter_unittest.cc",
877 ] 891 ]
878 } 892 }
879 deps = [ 893 deps = [
880 ":rtc_base_tests_main", 894 ":rtc_base_tests_main",
895 ":rtc_task_runner",
881 ] 896 ]
882 public_deps = [ 897 public_deps = [
883 ":rtc_base", 898 ":rtc_base",
884 ] 899 ]
885 configs += [ ":rtc_base_unittests_config" ] 900 configs += [ ":rtc_base_unittests_config" ]
886 if (!build_with_chromium && is_clang) { 901 if (!build_with_chromium && is_clang) {
887 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 902 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
888 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 903 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
889 } 904 }
890 } 905 }
891 } 906 }
892 907
893 if (is_android) { 908 if (is_android) {
894 android_library("base_java") { 909 android_library("base_java") {
895 java_files = [ 910 java_files = [
896 "java/src/org/webrtc/Logging.java", 911 "java/src/org/webrtc/Logging.java",
897 "java/src/org/webrtc/Size.java", 912 "java/src/org/webrtc/Size.java",
898 "java/src/org/webrtc/ThreadUtils.java", 913 "java/src/org/webrtc/ThreadUtils.java",
899 ] 914 ]
900 } 915 }
901 } 916 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698