OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 # See //content/BUILD.gn for how this works. | 7 # See //content/BUILD.gn for how this works. |
8 group("browser") { | 8 group("browser") { |
9 if (is_component_build) { | 9 if (is_component_build) { |
10 public_deps = [ | 10 public_deps = [ |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
291 "//content:content_implementation", | 291 "//content:content_implementation", |
292 ] | 292 ] |
293 | 293 |
294 public_deps = [ | 294 public_deps = [ |
295 "//mojo/public/cpp/bindings", | 295 "//mojo/public/cpp/bindings", |
296 "//mojo/public/cpp/system", | 296 "//mojo/public/cpp/system", |
297 "//services/service_manager/public/cpp", | 297 "//services/service_manager/public/cpp", |
298 | 298 |
299 # We expose skia headers in the public API. | 299 # We expose skia headers in the public API. |
300 "//skia", | 300 "//skia", |
301 | |
302 # We expose storage headers for quota in the public API. | |
303 "//storage/browser", | |
michaeln
2016/12/07 01:45:12
Good question about //storage/browser dependencies
| |
301 "//third_party/WebKit/public:mojo_bindings", | 304 "//third_party/WebKit/public:mojo_bindings", |
302 ] | 305 ] |
303 deps = [ | 306 deps = [ |
304 "//cc", | 307 "//cc", |
305 "//content/browser", # Must not be public_deps! | 308 "//content/browser", # Must not be public_deps! |
306 "//content/public/common:common_sources", | 309 "//content/public/common:common_sources", |
307 "//device/geolocation", | 310 "//device/geolocation", |
308 "//device/power_save_blocker", | 311 "//device/power_save_blocker", |
309 "//gpu", | 312 "//gpu", |
310 "//media", | 313 "//media", |
311 "//net", | 314 "//net", |
312 "//ppapi/c", | 315 "//ppapi/c", |
313 "//storage/browser", | |
314 "//ui/accessibility", | 316 "//ui/accessibility", |
315 "//ui/base", | 317 "//ui/base", |
316 "//ui/events", | 318 "//ui/events", |
317 "//ui/gl", | 319 "//ui/gl", |
318 "//ui/surface", | 320 "//ui/surface", |
319 ] | 321 ] |
320 | 322 |
321 allow_circular_includes_from = [ | 323 allow_circular_includes_from = [ |
322 # This target is a pair with content/browser. They always go together and | 324 # This target is a pair with content/browser. They always go together and |
323 # include headers from each other. | 325 # include headers from each other. |
324 "//content/browser", | 326 "//content/browser", |
325 ] | 327 ] |
326 | 328 |
327 if (is_android) { | 329 if (is_android) { |
328 deps += [ "//ui/android" ] | 330 deps += [ "//ui/android" ] |
329 } | 331 } |
330 | 332 |
331 if (use_aura) { | 333 if (use_aura) { |
332 sources -= [ "context_factory.h" ] | 334 sources -= [ "context_factory.h" ] |
333 deps += [ "//ui/aura" ] | 335 deps += [ "//ui/aura" ] |
334 } | 336 } |
335 } | 337 } |
OLD | NEW |