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

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

Issue 1919733002: New task queueing primitive for async tasks: TaskQueue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Address comments+handle error reported by tsan 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 | « webrtc/base/BUILD.gn ('k') | webrtc/base/base_tests.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 { 9 {
10 'includes': [ '../build/common.gypi', ], 10 'includes': [ '../build/common.gypi', ],
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 'safe_conversions_impl.h', 128 'safe_conversions_impl.h',
129 'scoped_ptr.h', 129 'scoped_ptr.h',
130 'scoped_ref_ptr.h', 130 'scoped_ref_ptr.h',
131 'stringencode.cc', 131 'stringencode.cc',
132 'stringencode.h', 132 'stringencode.h',
133 'stringutils.cc', 133 'stringutils.cc',
134 'stringutils.h', 134 'stringutils.h',
135 'swap_queue.h', 135 'swap_queue.h',
136 'systeminfo.cc', 136 'systeminfo.cc',
137 'systeminfo.h', 137 'systeminfo.h',
138 'task_queue.h',
139 'task_queue_libevent.cc',
140 'task_queue_gcd.cc',
141 'task_queue_posix.cc',
142 'task_queue_posix.h',
143 'task_queue_win.cc',
138 'template_util.h', 144 'template_util.h',
139 'thread_annotations.h', 145 'thread_annotations.h',
140 'thread_checker.h', 146 'thread_checker.h',
141 'thread_checker_impl.cc', 147 'thread_checker_impl.cc',
142 'thread_checker_impl.h', 148 'thread_checker_impl.h',
143 'timeutils.cc', 149 'timeutils.cc',
144 'timeutils.h', 150 'timeutils.h',
145 'trace_event.h', 151 'trace_event.h',
146 ], 152 ],
147 'conditions': [ 153 'conditions': [
148 ['build_with_chromium==1', { 154 ['build_with_chromium==1', {
149 'dependencies': [ 155 'dependencies': [
150 '<(DEPTH)/base/base.gyp:base', 156 '<(DEPTH)/base/base.gyp:base',
151 ], 157 ],
152 'include_dirs': [ 158 'include_dirs': [
153 '../../webrtc_overrides', 159 '../../webrtc_overrides',
154 ], 160 ],
155 'sources': [ 161 'sources': [
156 '../../webrtc_overrides/webrtc/base/logging.cc', 162 '../../webrtc_overrides/webrtc/base/logging.cc',
157 '../../webrtc_overrides/webrtc/base/logging.h', 163 '../../webrtc_overrides/webrtc/base/logging.h',
158 ], 164 ],
159 }, { 165 }, {
160 'sources': [ 166 'sources': [
161 'logging.cc', 167 'logging.cc',
162 'logging.h', 168 'logging.h',
163 'logging_mac.mm', 169 'logging_mac.mm',
164 ], 170 ],
171 'conditions': [
172 ['OS!="win" and OS!="mac" and OS!="ios"', {
173 'dependencies': [
174 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent',
175 ],
176 }],
177 ],
178 }],
179 ['OS=="mac" or OS=="ios" or OS=="win"', {
180 'sources!': [ 'task_queue_libevent.cc' ],
181 }],
182 ['OS=="linux" or OS=="android" or OS=="win"', {
183 'sources!': [ 'task_queue_gcd.cc' ],
165 }], 184 }],
166 ['OS=="mac" and build_with_chromium==0', { 185 ['OS=="mac" and build_with_chromium==0', {
167 'all_dependent_settings': { 186 'all_dependent_settings': {
168 'xcode_settings': { 187 'xcode_settings': {
169 'OTHER_LDFLAGS': [ 188 'OTHER_LDFLAGS': [
170 # needed for logging_mac.mm 189 # needed for logging_mac.mm
171 '-framework Foundation', 190 '-framework Foundation',
172 ], 191 ],
173 }, 192 },
174 }, 193 },
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 }, 676 },
658 { 677 {
659 'target_name': 'gtest_prod', 678 'target_name': 'gtest_prod',
660 'type': 'static_library', 679 'type': 'static_library',
661 'sources': [ 680 'sources': [
662 'gtest_prod_util.h', 681 'gtest_prod_util.h',
663 ], 682 ],
664 }, 683 },
665 ], 684 ],
666 } 685 }
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/base/base_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698