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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 ] | 289 ] |
290 | 290 |
291 public_deps = [ | 291 public_deps = [ |
292 "//device/screen_orientation/public/interfaces", | 292 "//device/screen_orientation/public/interfaces", |
293 "//mojo/public/cpp/bindings", | 293 "//mojo/public/cpp/bindings", |
294 "//mojo/public/cpp/system", | 294 "//mojo/public/cpp/system", |
295 "//services/service_manager/public/cpp", | 295 "//services/service_manager/public/cpp", |
296 | 296 |
297 # We expose skia headers in the public API. | 297 # We expose skia headers in the public API. |
298 "//skia", | 298 "//skia", |
| 299 |
| 300 # We expose storage headers for quota in the public API. |
| 301 "//storage/browser", |
299 "//third_party/WebKit/public:mojo_bindings", | 302 "//third_party/WebKit/public:mojo_bindings", |
300 ] | 303 ] |
301 deps = [ | 304 deps = [ |
302 "//cc", | 305 "//cc", |
303 "//content/browser", # Must not be public_deps! | 306 "//content/browser", # Must not be public_deps! |
304 "//content/public/common:common_sources", | 307 "//content/public/common:common_sources", |
305 "//device/geolocation", | 308 "//device/geolocation", |
306 "//device/power_save_blocker", | 309 "//device/power_save_blocker", |
307 "//gpu", | 310 "//gpu", |
308 "//media", | 311 "//media", |
309 "//net", | 312 "//net", |
310 "//ppapi/c", | 313 "//ppapi/c", |
311 "//storage/browser", | |
312 "//ui/accessibility", | 314 "//ui/accessibility", |
313 "//ui/base", | 315 "//ui/base", |
314 "//ui/events", | 316 "//ui/events", |
315 "//ui/gl", | 317 "//ui/gl", |
316 "//ui/surface", | 318 "//ui/surface", |
317 ] | 319 ] |
318 | 320 |
319 allow_circular_includes_from = [ | 321 allow_circular_includes_from = [ |
320 # This target is a pair with content/browser. They always go together and | 322 # This target is a pair with content/browser. They always go together and |
321 # include headers from each other. | 323 # include headers from each other. |
322 "//content/browser", | 324 "//content/browser", |
323 ] | 325 ] |
324 | 326 |
325 if (is_android) { | 327 if (is_android) { |
326 deps += [ "//ui/android" ] | 328 deps += [ "//ui/android" ] |
327 } | 329 } |
328 | 330 |
329 if (use_aura) { | 331 if (use_aura) { |
330 sources -= [ "context_factory.h" ] | 332 sources -= [ "context_factory.h" ] |
331 deps += [ "//ui/aura" ] | 333 deps += [ "//ui/aura" ] |
332 } | 334 } |
333 } | 335 } |
OLD | NEW |