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

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

Issue 3006243002: Removing WEBRTC_BUILD_LIBEVENT macro definition (Closed)
Patch Set: Created 3 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 | no next file » | 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 } else { 282 } else {
283 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-i386.dll" ] 283 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_r t.asan_dynamic-i386.dll" ]
284 } 284 }
285 } 285 }
286 } 286 }
287 if (is_nacl) { 287 if (is_nacl) {
288 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 288 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
289 } 289 }
290 } 290 }
291 291
292 config("enable_libevent_config") {
293 defines = [ "WEBRTC_BUILD_LIBEVENT" ]
294 }
295
296 rtc_source_set("rtc_task_queue") { 292 rtc_source_set("rtc_task_queue") {
297 deps = [ 293 deps = [
298 ":rtc_base_approved", 294 ":rtc_base_approved",
299 ] 295 ]
300 public_deps = [ 296 public_deps = [
301 ":rtc_task_queue_api", 297 ":rtc_task_queue_api",
302 ] 298 ]
303 299
304 if (rtc_link_task_queue_impl) { 300 if (rtc_link_task_queue_impl) {
305 deps += [ ":rtc_task_queue_impl" ] 301 deps += [ ":rtc_task_queue_impl" ]
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 } else { 335 } else {
340 if (rtc_build_libevent) { 336 if (rtc_build_libevent) {
341 deps += [ "//base/third_party/libevent" ] 337 deps += [ "//base/third_party/libevent" ]
342 } 338 }
343 if (rtc_enable_libevent) { 339 if (rtc_enable_libevent) {
344 sources = [ 340 sources = [
345 "task_queue_libevent.cc", 341 "task_queue_libevent.cc",
346 "task_queue_posix.cc", 342 "task_queue_posix.cc",
347 "task_queue_posix.h", 343 "task_queue_posix.h",
348 ] 344 ]
349 all_dependent_configs = [ ":enable_libevent_config" ]
350 } else { 345 } else {
351 if (is_mac || is_ios) { 346 if (is_mac || is_ios) {
352 sources = [ 347 sources = [
353 "task_queue_gcd.cc", 348 "task_queue_gcd.cc",
354 "task_queue_posix.cc", 349 "task_queue_posix.cc",
355 ] 350 ]
356 } 351 }
357 if (is_win) { 352 if (is_win) {
358 sources = [ 353 sources = [
359 "task_queue_win.cc", 354 "task_queue_win.cc",
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 "java/src/org/webrtc/ContextUtils.java", 1099 "java/src/org/webrtc/ContextUtils.java",
1105 "java/src/org/webrtc/Logging.java", 1100 "java/src/org/webrtc/Logging.java",
1106 "java/src/org/webrtc/Size.java", 1101 "java/src/org/webrtc/Size.java",
1107 "java/src/org/webrtc/ThreadUtils.java", 1102 "java/src/org/webrtc/ThreadUtils.java",
1108 ] 1103 ]
1109 1104
1110 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 1105 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148
1111 no_build_hooks = true 1106 no_build_hooks = true
1112 } 1107 }
1113 } 1108 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698