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

Side by Side Diff: webrtc/base/base.gyp

Issue 2153563003: Move WEBRTC_BUILD_LIBEVENT definition to base/BUILD.gn and base/base.gyp. This use all_dependent_co… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed gn and gyp format. Created 4 years, 5 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 | « webrtc/base/BUILD.gn ('k') | webrtc/build/common.gypi » ('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 { 9 {
10 'includes': [ '../build/common.gypi', ], 10 'includes': [ '../build/common.gypi', ],
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ['build_libevent==1', { 148 ['build_libevent==1', {
149 'dependencies': [ 149 'dependencies': [
150 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent', 150 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent',
151 ], 151 ],
152 }], 152 }],
153 ['enable_libevent==1', { 153 ['enable_libevent==1', {
154 'sources': [ 154 'sources': [
155 'task_queue_libevent.cc', 155 'task_queue_libevent.cc',
156 'task_queue_posix.cc', 156 'task_queue_posix.cc',
157 ], 157 ],
158 'defines': [ 'WEBRTC_BUILD_LIBEVENT' ],
159 'all_dependent_settings': {
160 'defines': [ 'WEBRTC_BUILD_LIBEVENT' ]
161 },
158 }, { 162 }, {
159 # If not libevent, fall back to the other task queues. 163 # If not libevent, fall back to the other task queues.
160 'conditions': [ 164 'conditions': [
161 ['OS=="mac" or OS=="ios"', { 165 ['OS=="mac" or OS=="ios"', {
162 'sources': [ 166 'sources': [
163 'task_queue_gcd.cc', 167 'task_queue_gcd.cc',
164 'task_queue_posix.cc', 168 'task_queue_posix.cc',
165 ], 169 ],
166 }], 170 }],
167 ['OS=="win"', { 171 ['OS=="win"', {
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 }, 652 },
649 { 653 {
650 'target_name': 'gtest_prod', 654 'target_name': 'gtest_prod',
651 'type': 'static_library', 655 'type': 'static_library',
652 'sources': [ 656 'sources': [
653 'gtest_prod_util.h', 657 'gtest_prod_util.h',
654 ], 658 ],
655 }, 659 },
656 ], 660 ],
657 } 661 }
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698