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

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

Issue 1927133004: Reland of New task queueing primitive for async tasks: TaskQueue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix android debug shared chromium GN build 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') | webrtc/base/base.gyp » ('J')
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "safe_conversions_impl.h", 146 "safe_conversions_impl.h",
147 "scoped_ptr.h", 147 "scoped_ptr.h",
148 "scoped_ref_ptr.h", 148 "scoped_ref_ptr.h",
149 "stringencode.cc", 149 "stringencode.cc",
150 "stringencode.h", 150 "stringencode.h",
151 "stringutils.cc", 151 "stringutils.cc",
152 "stringutils.h", 152 "stringutils.h",
153 "swap_queue.h", 153 "swap_queue.h",
154 "systeminfo.cc", 154 "systeminfo.cc",
155 "systeminfo.h", 155 "systeminfo.h",
156 "task_queue.h",
157 "task_queue_gcd.cc",
158 "task_queue_libevent.cc",
159 "task_queue_posix.cc",
160 "task_queue_posix.h",
161 "task_queue_win.cc",
156 "template_util.h", 162 "template_util.h",
157 "thread_annotations.h", 163 "thread_annotations.h",
158 "thread_checker.h", 164 "thread_checker.h",
159 "thread_checker_impl.cc", 165 "thread_checker_impl.cc",
160 "thread_checker_impl.h", 166 "thread_checker_impl.h",
161 "timeutils.cc", 167 "timeutils.cc",
162 "timeutils.h", 168 "timeutils.h",
163 "trace_event.h", 169 "trace_event.h",
164 ] 170 ]
165 171
166 if (build_with_chromium) { 172 if (build_with_chromium) {
167 # Dependency on chromium's logging (in //base). 173 # Dependency on chromium's logging (in //base).
168 deps += [ "//base:base" ] 174 deps += [ "//base:base" ]
169 sources += [ 175 sources += [
170 "../../webrtc_overrides/webrtc/base/logging.cc", 176 "../../webrtc_overrides/webrtc/base/logging.cc",
171 "../../webrtc_overrides/webrtc/base/logging.h", 177 "../../webrtc_overrides/webrtc/base/logging.h",
172 ] 178 ]
173 include_dirs = [ "../../webrtc_overrides" ] 179 include_dirs = [ "../../webrtc_overrides" ]
174 } else { 180 } else {
175 sources += [ 181 sources += [
176 "logging.cc", 182 "logging.cc",
177 "logging.h", 183 "logging.h",
178 "logging_mac.mm", 184 "logging_mac.mm",
179 ] 185 ]
180 } 186 }
187
188 if (!is_win && !is_mac && !is_ios) {
189 deps += [ "//base/third_party/libevent" ]
190 }
191
192 if (is_mac || is_ios || is_win) {
193 sources -= [ "task_queue_libevent.cc" ]
194 }
195
196 if (is_linux || is_android || is_win) {
197 sources -= [ "task_queue_gcd.cc" ]
198 }
181 } 199 }
182 200
183 static_library("rtc_base") { 201 static_library("rtc_base") {
184 cflags = [] 202 cflags = []
185 cflags_cc = [] 203 cflags_cc = []
186 libs = [] 204 libs = []
187 deps = [ 205 deps = [
188 "..:webrtc_common", 206 "..:webrtc_common",
189 ] 207 ]
190 public_deps = [ 208 public_deps = [
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 defines += [ "timezone=_timezone" ] 613 defines += [ "timezone=_timezone" ]
596 sources -= [ "ifaddrs_converter.cc" ] 614 sources -= [ "ifaddrs_converter.cc" ]
597 } 615 }
598 } 616 }
599 617
600 source_set("gtest_prod") { 618 source_set("gtest_prod") {
601 sources = [ 619 sources = [
602 "gtest_prod_util.h", 620 "gtest_prod_util.h",
603 ] 621 ]
604 } 622 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/base.gyp » ('j') | webrtc/base/base.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698