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

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

Issue 2622923002: Delete unused TaskRunner abstraction. (Closed)
Patch Set: Rebase. 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
364 rtc_static_library("rtc_base") { 351 rtc_static_library("rtc_base") {
365 cflags = [] 352 cflags = []
366 cflags_cc = [] 353 cflags_cc = []
367 libs = [] 354 libs = []
368 defines = [] 355 defines = []
369 deps = [ 356 deps = [
370 "..:webrtc_common", 357 "..:webrtc_common",
371 ] 358 ]
372 public_deps = [ 359 public_deps = [
373 ":rtc_base_approved", 360 ":rtc_base_approved",
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 "rollingaccumulator_unittest.cc", 850 "rollingaccumulator_unittest.cc",
864 "rtccertificate_unittest.cc", 851 "rtccertificate_unittest.cc",
865 "rtccertificategenerator_unittest.cc", 852 "rtccertificategenerator_unittest.cc",
866 "scopedptrcollection_unittest.cc", 853 "scopedptrcollection_unittest.cc",
867 "sha1digest_unittest.cc", 854 "sha1digest_unittest.cc",
868 "sharedexclusivelock_unittest.cc", 855 "sharedexclusivelock_unittest.cc",
869 "signalthread_unittest.cc", 856 "signalthread_unittest.cc",
870 "sigslot_unittest.cc", 857 "sigslot_unittest.cc",
871 "sigslottester_unittest.cc", 858 "sigslottester_unittest.cc",
872 "stream_unittest.cc", 859 "stream_unittest.cc",
873 "task_unittest.cc",
874 "testclient_unittest.cc", 860 "testclient_unittest.cc",
875 "thread_unittest.cc", 861 "thread_unittest.cc",
876 ] 862 ]
877 if (is_win) { 863 if (is_win) {
878 sources += [ 864 sources += [
879 "win32_unittest.cc", 865 "win32_unittest.cc",
880 "win32window_unittest.cc", 866 "win32window_unittest.cc",
881 ] 867 ]
882 } 868 }
883 if (is_mac) { 869 if (is_mac) {
884 sources += [ "macutils_unittest.cc" ] 870 sources += [ "macutils_unittest.cc" ]
885 } 871 }
886 if (is_posix) { 872 if (is_posix) {
887 sources += [ 873 sources += [
888 "ssladapter_unittest.cc", 874 "ssladapter_unittest.cc",
889 "sslidentity_unittest.cc", 875 "sslidentity_unittest.cc",
890 "sslstreamadapter_unittest.cc", 876 "sslstreamadapter_unittest.cc",
891 ] 877 ]
892 } 878 }
893 deps = [ 879 deps = [
894 ":rtc_base_tests_main", 880 ":rtc_base_tests_main",
895 ":rtc_task_runner",
896 ] 881 ]
897 public_deps = [ 882 public_deps = [
898 ":rtc_base", 883 ":rtc_base",
899 ] 884 ]
900 configs += [ ":rtc_base_unittests_config" ] 885 configs += [ ":rtc_base_unittests_config" ]
901 if (!build_with_chromium && is_clang) { 886 if (!build_with_chromium && is_clang) {
902 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 887 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
903 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 888 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
904 } 889 }
905 } 890 }
906 } 891 }
907 892
908 if (is_android) { 893 if (is_android) {
909 android_library("base_java") { 894 android_library("base_java") {
910 java_files = [ 895 java_files = [
911 "java/src/org/webrtc/Logging.java", 896 "java/src/org/webrtc/Logging.java",
912 "java/src/org/webrtc/Size.java", 897 "java/src/org/webrtc/Size.java",
913 "java/src/org/webrtc/ThreadUtils.java", 898 "java/src/org/webrtc/ThreadUtils.java",
914 ] 899 ]
915 } 900 }
916 } 901 }
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