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

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

Issue 2289203002: Do not build task_queue.cc and include from webrtc_overrides in Chrome. (Closed)
Patch Set: Revert add chrome DEPS Created 4 years, 3 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 static_library("rtc_task_queue") { 194 static_library("rtc_task_queue") {
195 public_deps = [ 195 public_deps = [
196 ":rtc_base_approved", 196 ":rtc_base_approved",
197 ] 197 ]
198 configs += [ "..:common_config" ] 198 configs += [ "..:common_config" ]
199 199
200 sources = [ 200 sources = [
201 "sequenced_task_checker.h", 201 "sequenced_task_checker.h",
202 "sequenced_task_checker_impl.cc", 202 "sequenced_task_checker_impl.cc",
203 "sequenced_task_checker_impl.h", 203 "sequenced_task_checker_impl.h",
204 "task_queue.h",
205 "task_queue_posix.h",
206 ] 204 ]
207 205
208 if (rtc_build_libevent) { 206 if (build_with_chromium) {
209 deps = [ 207 sources += [
210 "//base/third_party/libevent", 208 "../../webrtc_overrides/webrtc/base/task_queue.cc",
209 "../../webrtc_overrides/webrtc/base/task_queue.h",
211 ] 210 ]
212 } 211 include_dirs = [ "../../webrtc_overrides" ]
212 } else {
213 sources += [
214 "task_queue.h",
215 "task_queue_posix.h",
216 ]
217 if (rtc_build_libevent) {
218 deps = [
219 "//base/third_party/libevent",
220 ]
221 }
213 222
214 if (rtc_enable_libevent) { 223 if (rtc_enable_libevent) {
215 sources += [
216 "task_queue_libevent.cc",
217 "task_queue_posix.cc",
218 ]
219 all_dependent_configs = [ ":enable_libevent_config" ]
220 } else {
221 if (is_mac || is_ios) {
222 sources += [ 224 sources += [
223 "task_queue_gcd.cc", 225 "task_queue_libevent.cc",
224 "task_queue_posix.cc", 226 "task_queue_posix.cc",
225 ] 227 ]
226 } 228 all_dependent_configs = [ ":enable_libevent_config" ]
227 if (is_win) { 229 } else {
228 sources += [ "task_queue_win.cc" ] 230 if (is_mac || is_ios) {
231 sources += [
232 "task_queue_gcd.cc",
233 "task_queue_posix.cc",
234 ]
235 }
236 if (is_win) {
237 sources += [ "task_queue_win.cc" ]
238 }
229 } 239 }
230 } 240 }
231 } 241 }
232 242
233 static_library("rtc_base") { 243 static_library("rtc_base") {
234 cflags = [] 244 cflags = []
235 cflags_cc = [] 245 cflags_cc = []
236 libs = [] 246 libs = []
237 deps = [ 247 deps = [
238 "..:webrtc_common", 248 "..:webrtc_common",
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 "java/src/org/webrtc/Logging.java", 714 "java/src/org/webrtc/Logging.java",
705 "java/src/org/webrtc/Size.java", 715 "java/src/org/webrtc/Size.java",
706 "java/src/org/webrtc/ThreadUtils.java", 716 "java/src/org/webrtc/ThreadUtils.java",
707 ] 717 ]
708 718
709 deps = [ 719 deps = [
710 "//base:base_java", 720 "//base:base_java",
711 ] 721 ]
712 } 722 }
713 } 723 }
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