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

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

Issue 1984503002: Reland of New task queueing primitive for async tasks: TaskQueue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Optional initialization for build_for 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 'safe_conversions_impl.h', 77 'safe_conversions_impl.h',
78 'scoped_ptr.h', 78 'scoped_ptr.h',
79 'scoped_ref_ptr.h', 79 'scoped_ref_ptr.h',
80 'stringencode.cc', 80 'stringencode.cc',
81 'stringencode.h', 81 'stringencode.h',
82 'stringutils.cc', 82 'stringutils.cc',
83 'stringutils.h', 83 'stringutils.h',
84 'swap_queue.h', 84 'swap_queue.h',
85 'systeminfo.cc', 85 'systeminfo.cc',
86 'systeminfo.h', 86 'systeminfo.h',
87 'task_queue.h',
88 'task_queue_libevent.cc',
89 'task_queue_gcd.cc',
90 'task_queue_posix.cc',
91 'task_queue_posix.h',
92 'task_queue_win.cc',
87 'template_util.h', 93 'template_util.h',
88 'thread_annotations.h', 94 'thread_annotations.h',
89 'thread_checker.h', 95 'thread_checker.h',
90 'thread_checker_impl.cc', 96 'thread_checker_impl.cc',
91 'thread_checker_impl.h', 97 'thread_checker_impl.h',
92 'timeutils.cc', 98 'timeutils.cc',
93 'timeutils.h', 99 'timeutils.h',
94 'trace_event.h', 100 'trace_event.h',
95 ], 101 ],
96 'conditions': [ 102 'conditions': [
97 ['build_with_chromium==1', { 103 ['build_with_chromium==1', {
98 'dependencies': [ 104 'dependencies': [
99 '<(DEPTH)/base/base.gyp:base', 105 '<(DEPTH)/base/base.gyp:base',
100 ], 106 ],
101 'include_dirs': [ 107 'include_dirs': [
102 '../../webrtc_overrides', 108 '../../webrtc_overrides',
103 ], 109 ],
104 'sources': [ 110 'sources': [
105 '../../webrtc_overrides/webrtc/base/logging.cc', 111 '../../webrtc_overrides/webrtc/base/logging.cc',
106 '../../webrtc_overrides/webrtc/base/logging.h', 112 '../../webrtc_overrides/webrtc/base/logging.h',
107 ], 113 ],
108 }, { 114 }, {
109 'sources': [ 115 'sources': [
110 'logging.cc', 116 'logging.cc',
111 'logging.h', 117 'logging.h',
112 'logging_mac.mm', 118 'logging_mac.mm',
113 ], 119 ],
120 'conditions': [
121 ['build_libevent==1', {
122 'dependencies': [
123 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent',
124 ],
125 }],
126 ],
127 }],
128 ['build_libevent!=1', {
phoglund 2016/05/16 09:59:09 Hmm, this isn't going to work since we're always f
129 'sources!': [ 'task_queue_libevent.cc' ],
130 'conditions': [
131 ['OS=="linux" or OS=="android"', {
132 'sources!': [ 'task_queue_posix.cc' ],
133 }],
134 ],
135 }],
136 ['build_libevent==1 or OS=="linux" or OS=="android" or OS=="win"', {
137 'sources!': [ 'task_queue_gcd.cc' ],
114 }], 138 }],
115 ['OS=="mac" and build_with_chromium==0', { 139 ['OS=="mac" and build_with_chromium==0', {
116 'all_dependent_settings': { 140 'all_dependent_settings': {
117 'xcode_settings': { 141 'xcode_settings': {
118 'OTHER_LDFLAGS': [ 142 'OTHER_LDFLAGS': [
119 # needed for logging_mac.mm 143 # needed for logging_mac.mm
120 '-framework Foundation', 144 '-framework Foundation',
121 ], 145 ],
122 }, 146 },
123 }, 147 },
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 }, 625 },
602 { 626 {
603 'target_name': 'gtest_prod', 627 'target_name': 'gtest_prod',
604 'type': 'static_library', 628 'type': 'static_library',
605 'sources': [ 629 'sources': [
606 'gtest_prod_util.h', 630 'gtest_prod_util.h',
607 ], 631 ],
608 }, 632 },
609 ], 633 ],
610 } 634 }
OLDNEW
« webrtc/base/BUILD.gn ('K') | « 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