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("//content/browser/browser.gni") | 5 import("//content/browser/browser.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
9 group("browser") { | 9 group("browser") { |
10 if (is_component_build) { | 10 if (is_component_build) { |
(...skipping 25 matching lines...) Expand all Loading... |
36 } else { | 36 } else { |
37 sources = rebase_path(content_browser_gypi_values.public_browser_sources, | 37 sources = rebase_path(content_browser_gypi_values.public_browser_sources, |
38 ".", | 38 ".", |
39 "//content") | 39 "//content") |
40 } | 40 } |
41 | 41 |
42 if (use_aura) { | 42 if (use_aura) { |
43 sources -= [ "context_factory.h" ] | 43 sources -= [ "context_factory.h" ] |
44 } | 44 } |
45 | 45 |
46 configs += [ | 46 configs += [ "//content:content_implementation" ] |
47 "//build/config:precompiled_headers", | |
48 "//content:content_implementation", | |
49 ] | |
50 | 47 |
51 public_deps = [ | 48 public_deps = [ |
52 "//content/public/common:mojo_bindings", | 49 "//content/public/common:mojo_bindings", |
53 | 50 |
54 # We expose skia headers in the public API. | 51 # We expose skia headers in the public API. |
55 "//skia", | 52 "//skia", |
56 "//third_party/mojo/src/mojo/public/cpp/bindings", | 53 "//third_party/mojo/src/mojo/public/cpp/bindings", |
57 "//third_party/mojo/src/mojo/public/cpp/system", | 54 "//third_party/mojo/src/mojo/public/cpp/system", |
58 ] | 55 ] |
59 deps = [ | 56 deps = [ |
60 "//content/browser", | 57 "//content/browser", |
61 "//content/public/common:common_sources", | 58 "//content/public/common:common_sources", |
62 "//net", | 59 "//net", |
63 "//ui/accessibility", | 60 "//ui/accessibility", |
64 "//ui/base", | 61 "//ui/base", |
65 "//ui/events", | 62 "//ui/events", |
66 ] | 63 ] |
67 | 64 |
68 allow_circular_includes_from = [ | 65 allow_circular_includes_from = [ |
69 # This target is a pair with content/browser. They always go together and | 66 # This target is a pair with content/browser. They always go together and |
70 # include headers from each other. | 67 # include headers from each other. |
71 "//content/browser", | 68 "//content/browser", |
72 ] | 69 ] |
73 } | 70 } |
OLD | NEW |