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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
| 9 import("//third_party/WebKit/public/public_features.gni") |
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
10 | 11 |
11 source_set("browser") { | 12 source_set("browser") { |
12 # Only the public target should depend on this. All other targets (even | 13 # Only the public target should depend on this. All other targets (even |
13 # internal content ones) should depend on the public one. | 14 # internal content ones) should depend on the public one. |
14 visibility = [ | 15 visibility = [ |
15 ":for_content_tests", # See top of //content/BUILD.gn for why. | 16 ":for_content_tests", # See top of //content/BUILD.gn for why. |
16 "//content/public/browser:browser_sources", | 17 "//content/public/browser:browser_sources", |
17 ] | 18 ] |
18 if (is_android) { | 19 if (is_android) { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "//services/service_manager", | 107 "//services/service_manager", |
107 "//services/service_manager/public/cpp", | 108 "//services/service_manager/public/cpp", |
108 "//services/service_manager/public/interfaces", | 109 "//services/service_manager/public/interfaces", |
109 "//services/service_manager/runner/common", | 110 "//services/service_manager/runner/common", |
110 "//services/service_manager/runner/host:lib", | 111 "//services/service_manager/runner/host:lib", |
111 "//skia", | 112 "//skia", |
112 "//sql", | 113 "//sql", |
113 "//storage/browser", | 114 "//storage/browser", |
114 "//storage/common", | 115 "//storage/common", |
115 "//third_party/WebKit/public:blink_headers", | 116 "//third_party/WebKit/public:blink_headers", |
| 117 "//third_party/WebKit/public:features", |
116 "//third_party/WebKit/public:image_resources", | 118 "//third_party/WebKit/public:image_resources", |
117 "//third_party/WebKit/public:mojo_bindings", | 119 "//third_party/WebKit/public:mojo_bindings", |
118 "//third_party/WebKit/public:offscreen_canvas_mojo_bindings", | 120 "//third_party/WebKit/public:offscreen_canvas_mojo_bindings", |
119 "//third_party/WebKit/public:resources", | 121 "//third_party/WebKit/public:resources", |
120 "//third_party/angle:angle_common", | 122 "//third_party/angle:angle_common", |
121 "//third_party/icu", | 123 "//third_party/icu", |
122 "//third_party/kasko:kasko_features", | 124 "//third_party/kasko:kasko_features", |
123 "//third_party/libyuv", | 125 "//third_party/libyuv", |
124 "//third_party/re2", | 126 "//third_party/re2", |
125 "//third_party/zlib", | 127 "//third_party/zlib", |
(...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1935 | 1937 |
1936 if (enable_ipc_fuzzer) { | 1938 if (enable_ipc_fuzzer) { |
1937 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] | 1939 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
1938 } | 1940 } |
1939 | 1941 |
1940 if (use_minikin_hyphenation) { | 1942 if (use_minikin_hyphenation) { |
1941 sources += [ | 1943 sources += [ |
1942 "hyphenation/hyphenation_impl.cc", | 1944 "hyphenation/hyphenation_impl.cc", |
1943 "hyphenation/hyphenation_impl.h", | 1945 "hyphenation/hyphenation_impl.h", |
1944 ] | 1946 ] |
1945 defines += [ "USE_MINIKIN_HYPHENATION=1" ] | |
1946 } | 1947 } |
1947 } | 1948 } |
1948 | 1949 |
1949 # See comment at the top of //content/BUILD.gn for how this works. | 1950 # See comment at the top of //content/BUILD.gn for how this works. |
1950 group("for_content_tests") { | 1951 group("for_content_tests") { |
1951 visibility = [ "//content/test/*" ] | 1952 visibility = [ "//content/test/*" ] |
1952 if (!is_component_build) { | 1953 if (!is_component_build) { |
1953 public_deps = [ | 1954 public_deps = [ |
1954 ":browser", | 1955 ":browser", |
1955 ] | 1956 ] |
1956 } else { | 1957 } else { |
1957 public_deps = [ | 1958 public_deps = [ |
1958 "//third_party/leveldatabase", | 1959 "//third_party/leveldatabase", |
1959 ] | 1960 ] |
1960 } | 1961 } |
1961 } | 1962 } |
OLD | NEW |