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

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

Issue 1935483002: Revert of New task queueing primitive for async tasks: TaskQueue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/base.gyp » ('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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 "safe_conversions_impl.h", 145 "safe_conversions_impl.h",
146 "scoped_ptr.h", 146 "scoped_ptr.h",
147 "scoped_ref_ptr.h", 147 "scoped_ref_ptr.h",
148 "stringencode.cc", 148 "stringencode.cc",
149 "stringencode.h", 149 "stringencode.h",
150 "stringutils.cc", 150 "stringutils.cc",
151 "stringutils.h", 151 "stringutils.h",
152 "swap_queue.h", 152 "swap_queue.h",
153 "systeminfo.cc", 153 "systeminfo.cc",
154 "systeminfo.h", 154 "systeminfo.h",
155 "task_queue.h",
156 "task_queue_gcd.cc",
157 "task_queue_libevent.cc",
158 "task_queue_posix.cc",
159 "task_queue_posix.h",
160 "task_queue_win.cc",
161 "template_util.h", 155 "template_util.h",
162 "thread_annotations.h", 156 "thread_annotations.h",
163 "thread_checker.h", 157 "thread_checker.h",
164 "thread_checker_impl.cc", 158 "thread_checker_impl.cc",
165 "thread_checker_impl.h", 159 "thread_checker_impl.h",
166 "timeutils.cc", 160 "timeutils.cc",
167 "timeutils.h", 161 "timeutils.h",
168 "trace_event.h", 162 "trace_event.h",
169 ] 163 ]
170 164
171 if (build_with_chromium) { 165 if (build_with_chromium) {
172 # Dependency on chromium's logging (in //base). 166 # Dependency on chromium's logging (in //base).
173 deps += [ "//base:base" ] 167 deps += [ "//base:base" ]
174 sources += [ 168 sources += [
175 "../../webrtc_overrides/webrtc/base/logging.cc", 169 "../../webrtc_overrides/webrtc/base/logging.cc",
176 "../../webrtc_overrides/webrtc/base/logging.h", 170 "../../webrtc_overrides/webrtc/base/logging.h",
177 ] 171 ]
178 include_dirs = [ "../../webrtc_overrides" ] 172 include_dirs = [ "../../webrtc_overrides" ]
179 } else { 173 } else {
180 sources += [ 174 sources += [
181 "logging.cc", 175 "logging.cc",
182 "logging.h", 176 "logging.h",
183 "logging_mac.mm", 177 "logging_mac.mm",
184 ] 178 ]
185 if (!is_win && !is_mac && !is_ios) {
186 deps += [ "//base/third_party/libevent" ]
187 }
188 }
189
190 if (is_mac || is_ios || is_win) {
191 sources -= [ "task_queue_libevent.cc" ]
192 }
193
194 if (is_linux || is_android || is_win) {
195 sources -= [ "task_queue_gcd.cc" ]
196 } 179 }
197 } 180 }
198 181
199 static_library("rtc_base") { 182 static_library("rtc_base") {
200 cflags = [] 183 cflags = []
201 cflags_cc = [] 184 cflags_cc = []
202 libs = [] 185 libs = []
203 deps = [ 186 deps = [
204 "..:webrtc_common", 187 "..:webrtc_common",
205 ] 188 ]
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 ] 638 ]
656 } 639 }
657 } 640 }
658 } 641 }
659 642
660 source_set("gtest_prod") { 643 source_set("gtest_prod") {
661 sources = [ 644 sources = [
662 "gtest_prod_util.h", 645 "gtest_prod_util.h",
663 ] 646 ]
664 } 647 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698