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

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

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 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/stats/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 # TODO(jschuh): Bug 1348: fix this warning. 102 # TODO(jschuh): Bug 1348: fix this warning.
103 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 103 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
104 104
105 if (is_win) { 105 if (is_win) {
106 libs += [ "winmm.lib" ] 106 libs += [ "winmm.lib" ]
107 107
108 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion. 108 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion.
109 109
110 # Windows needs //webrtc/base:rtc_base due to include of webrtc/base/win32.h 110 # Windows needs //webrtc/rtc_base:rtc_base due to include of
111 # in source/clock.cc. 111 # webrtc/rtc_base/win32.h in source/clock.cc.
112 # TODO(kjellander): Remove (bugs.webrtc.org/6828) 112 # TODO(kjellander): Remove (bugs.webrtc.org/6828)
113 deps += [ "../base:rtc_base" ] 113 deps += [ "../rtc_base:rtc_base" ]
114 } 114 }
115 115
116 if (is_win && is_clang) { 116 if (is_win && is_clang) {
117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
119 } 119 }
120 120
121 deps += [ "../base:rtc_base_approved" ] 121 deps += [ "../rtc_base:rtc_base_approved" ]
122 } 122 }
123 123
124 rtc_source_set("cpu_features_api") { 124 rtc_source_set("cpu_features_api") {
125 sources = [ 125 sources = [
126 "include/cpu_features_wrapper.h", 126 "include/cpu_features_wrapper.h",
127 ] 127 ]
128 deps = [ 128 deps = [
129 "..:webrtc_common", 129 "..:webrtc_common",
130 ] 130 ]
131 } 131 }
132 132
133 rtc_source_set("asm_defines") { 133 rtc_source_set("asm_defines") {
134 sources = [ 134 sources = [
135 "include/asm_defines.h", 135 "include/asm_defines.h",
136 ] 136 ]
137 } 137 }
138 138
139 rtc_source_set("field_trial_api") { 139 rtc_source_set("field_trial_api") {
140 sources = [ 140 sources = [
141 "include/field_trial.h", 141 "include/field_trial.h",
142 ] 142 ]
143 } 143 }
144 144
145 rtc_source_set("metrics_api") { 145 rtc_source_set("metrics_api") {
146 sources = [ 146 sources = [
147 "include/metrics.h", 147 "include/metrics.h",
148 ] 148 ]
149 deps = [ 149 deps = [
150 "..:webrtc_common", 150 "..:webrtc_common",
151 "../base:rtc_base_approved", 151 "../rtc_base:rtc_base_approved",
152 ] 152 ]
153 } 153 }
154 154
155 rtc_static_library("field_trial_default") { 155 rtc_static_library("field_trial_default") {
156 sources = [ 156 sources = [
157 "include/field_trial_default.h", 157 "include/field_trial_default.h",
158 "source/field_trial_default.cc", 158 "source/field_trial_default.cc",
159 ] 159 ]
160 deps = [ 160 deps = [
161 ":field_trial_api", 161 ":field_trial_api",
162 ] 162 ]
163 } 163 }
164 164
165 rtc_static_library("metrics_default") { 165 rtc_static_library("metrics_default") {
166 sources = [ 166 sources = [
167 "include/metrics_default.h", 167 "include/metrics_default.h",
168 "source/metrics_default.cc", 168 "source/metrics_default.cc",
169 ] 169 ]
170 deps = [ 170 deps = [
171 ":metrics_api", 171 ":metrics_api",
172 "../base:rtc_base_approved", 172 "../rtc_base:rtc_base_approved",
173 ] 173 ]
174 } 174 }
175 175
176 group("system_wrappers_default") { 176 group("system_wrappers_default") {
177 deps = [ 177 deps = [
178 ":field_trial_default", 178 ":field_trial_default",
179 ":metrics_default", 179 ":metrics_default",
180 ":system_wrappers", 180 ":system_wrappers",
181 ] 181 ]
182 } 182 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 if (!build_with_chromium && is_clang) { 222 if (!build_with_chromium && is_clang) {
223 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 223 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
224 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 224 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
225 } 225 }
226 226
227 deps = [ 227 deps = [
228 ":metrics_default", 228 ":metrics_default",
229 ":system_wrappers", 229 ":system_wrappers",
230 "..:webrtc_common", 230 "..:webrtc_common",
231 "../base:rtc_base_approved", 231 "../rtc_base:rtc_base_approved",
232 "../test:test_main", 232 "../test:test_main",
233 "//testing/gtest", 233 "//testing/gtest",
234 ] 234 ]
235 235
236 if (is_android) { 236 if (is_android) {
237 deps += [ "//testing/android/native_test:native_test_support" ] 237 deps += [ "//testing/android/native_test:native_test_support" ]
238 238
239 shard_timeout = 900 239 shard_timeout = 900
240 } 240 }
241 } 241 }
242 } 242 }
OLDNEW
« no previous file with comments | « webrtc/stats/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698