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

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

Issue 1412003007: Remove system_wrappers dep from field_trial_default and metrics_default. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
11 11
12 static_library("system_wrappers") { 12 static_library("system_wrappers") {
13 sources = [ 13 sources = [
14 "interface/aligned_array.h", 14 "interface/aligned_array.h",
15 "interface/aligned_malloc.h", 15 "interface/aligned_malloc.h",
16 "interface/atomic32.h", 16 "interface/atomic32.h",
17 "interface/clock.h", 17 "interface/clock.h",
18 "interface/condition_variable_wrapper.h", 18 "interface/condition_variable_wrapper.h",
19 "interface/cpu_features_wrapper.h", 19 "interface/cpu_features_wrapper.h",
20 "interface/cpu_info.h", 20 "interface/cpu_info.h",
21 "interface/critical_section_wrapper.h", 21 "interface/critical_section_wrapper.h",
22 "interface/data_log.h", 22 "interface/data_log.h",
23 "interface/data_log_c.h", 23 "interface/data_log_c.h",
24 "interface/data_log_impl.h", 24 "interface/data_log_impl.h",
25 "interface/event_tracer.h", 25 "interface/event_tracer.h",
26 "interface/event_wrapper.h", 26 "interface/event_wrapper.h",
27 "interface/field_trial.h", 27 "interface/field_trial.h",
kjellander_webrtc 2015/10/28 13:48:43 Not that it actually matters to the build, but wou
Sergey Ulanov 2015/10/30 22:57:15 I think this file should stay in system_wrappers a
28 "interface/file_wrapper.h", 28 "interface/file_wrapper.h",
29 "interface/fix_interlocked_exchange_pointer_win.h", 29 "interface/fix_interlocked_exchange_pointer_win.h",
30 "interface/logging.h", 30 "interface/logging.h",
31 "interface/metrics.h", 31 "interface/metrics.h",
32 "interface/ref_count.h", 32 "interface/ref_count.h",
33 "interface/rtp_to_ntp.h", 33 "interface/rtp_to_ntp.h",
34 "interface/rw_lock_wrapper.h", 34 "interface/rw_lock_wrapper.h",
35 "interface/scoped_vector.h", 35 "interface/scoped_vector.h",
36 "interface/sleep.h", 36 "interface/sleep.h",
37 "interface/sort.h", 37 "interface/sort.h",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 source_set("field_trial_default") { 174 source_set("field_trial_default") {
175 sources = [ 175 sources = [
176 "interface/field_trial_default.h", 176 "interface/field_trial_default.h",
177 "source/field_trial_default.cc", 177 "source/field_trial_default.cc",
178 ] 178 ]
179 179
180 configs += [ "..:common_config" ] 180 configs += [ "..:common_config" ]
181 public_configs = [ "..:common_inherited_config" ] 181 public_configs = [ "..:common_inherited_config" ]
182
183 deps = [
184 ":system_wrappers",
185 ]
186 } 182 }
187 183
188 source_set("metrics_default") { 184 source_set("metrics_default") {
189 sources = [ 185 sources = [
190 "source/metrics_default.cc", 186 "source/metrics_default.cc",
191 ] 187 ]
192 188
193 configs += [ "..:common_config" ] 189 configs += [ "..:common_config" ]
194 public_configs = [ "..:common_inherited_config" ] 190 public_configs = [ "..:common_inherited_config" ]
195
196 deps = [
197 ":system_wrappers",
198 ]
199 } 191 }
200 192
201 source_set("system_wrappers_default") { 193 source_set("system_wrappers_default") {
202 configs += [ "..:common_config" ] 194 configs += [ "..:common_config" ]
203 public_configs = [ "..:common_inherited_config" ] 195 public_configs = [ "..:common_inherited_config" ]
204 196
205 deps = [ 197 deps = [
198 ":system_wrappers_default",
guoweis_webrtc 2015/10/27 23:08:07 IS this right? Shouldn't this be system_wrappers?
Sergey Ulanov 2015/10/28 00:18:42 Yes, thanks for catching it
206 ":field_trial_default", 199 ":field_trial_default",
207 ":metrics_default", 200 ":metrics_default",
208 ] 201 ]
209 } 202 }
210 203
211 if (is_android) { 204 if (is_android) {
212 source_set("cpu_features_android") { 205 source_set("cpu_features_android") {
213 sources = [ 206 sources = [
214 "source/cpu_features_android.c", 207 "source/cpu_features_android.c",
215 ] 208 ]
216 209
217 configs += [ "..:common_config" ] 210 configs += [ "..:common_config" ]
218 public_configs = [ "..:common_inherited_config" ] 211 public_configs = [ "..:common_inherited_config" ]
219 deps = [ 212 deps = [
220 "//third_party/android_tools:cpu_features", 213 "//third_party/android_tools:cpu_features",
221 ] 214 ]
222 } 215 }
223 } 216 }
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