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("//third_party/WebKit/public/public_features.gni") |
7 | 8 |
8 if (is_component_build) { | 9 if (is_component_build) { |
9 link_target_type = "source_set" | 10 link_target_type = "source_set" |
10 } else { | 11 } else { |
11 link_target_type = "static_library" | 12 link_target_type = "static_library" |
12 } | 13 } |
13 target(link_target_type, "child") { | 14 target(link_target_type, "child") { |
14 # Targets external to content should always link to the public API. | 15 # Targets external to content should always link to the public API. |
15 # Internal targets can link to this but only if they're child processes | 16 # Internal targets can link to this but only if they're child processes |
16 # (i.e. not content/browser or content/common) and only if they're inside the | 17 # (i.e. not content/browser or content/common) and only if they're inside the |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 "//media", | 238 "//media", |
238 "//mojo/common", | 239 "//mojo/common", |
239 "//mojo/edk/system", | 240 "//mojo/edk/system", |
240 "//net", | 241 "//net", |
241 "//services/service_manager/public/cpp", | 242 "//services/service_manager/public/cpp", |
242 "//services/service_manager/public/interfaces", | 243 "//services/service_manager/public/interfaces", |
243 "//services/service_manager/runner/common", | 244 "//services/service_manager/runner/common", |
244 "//skia", | 245 "//skia", |
245 "//storage/common", | 246 "//storage/common", |
246 "//third_party/WebKit/public:blink_headers", | 247 "//third_party/WebKit/public:blink_headers", |
| 248 "//third_party/WebKit/public:features", |
247 "//third_party/WebKit/public:image_resources", | 249 "//third_party/WebKit/public:image_resources", |
248 "//third_party/WebKit/public:resources", | 250 "//third_party/WebKit/public:resources", |
249 "//third_party/ced", | 251 "//third_party/ced", |
250 "//ui/base", | 252 "//ui/base", |
251 "//ui/events/gestures/blink", | 253 "//ui/events/gestures/blink", |
252 "//ui/gfx", | 254 "//ui/gfx", |
253 "//ui/gfx/geometry", | 255 "//ui/gfx/geometry", |
254 "//ui/gl", | 256 "//ui/gl", |
255 "//ui/native_theme", | 257 "//ui/native_theme", |
256 "//url", | 258 "//url", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 294 |
293 # See comment at the top of //content/BUILD.gn for how this works. | 295 # See comment at the top of //content/BUILD.gn for how this works. |
294 group("for_content_tests") { | 296 group("for_content_tests") { |
295 visibility = [ "//content/test/*" ] | 297 visibility = [ "//content/test/*" ] |
296 if (!is_component_build) { | 298 if (!is_component_build) { |
297 public_deps = [ | 299 public_deps = [ |
298 ":child", | 300 ":child", |
299 ] | 301 ] |
300 } | 302 } |
301 } | 303 } |
OLD | NEW |