| 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("//ppapi/features/features.gni") |
| 7 import("//third_party/WebKit/public/public_features.gni") | 8 import("//third_party/WebKit/public/public_features.gni") |
| 8 | 9 |
| 9 if (is_component_build) { | 10 if (is_component_build) { |
| 10 link_target_type = "source_set" | 11 link_target_type = "source_set" |
| 11 } else { | 12 } else { |
| 12 link_target_type = "static_library" | 13 link_target_type = "static_library" |
| 13 } | 14 } |
| 14 target(link_target_type, "child") { | 15 target(link_target_type, "child") { |
| 15 # Targets external to content should always link to the public API. | 16 # Targets external to content should always link to the public API. |
| 16 # Internal targets can link to this but only if they're child processes | 17 # Internal targets can link to this but only if they're child processes |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 | 293 |
| 293 # See comment at the top of //content/BUILD.gn for how this works. | 294 # See comment at the top of //content/BUILD.gn for how this works. |
| 294 group("for_content_tests") { | 295 group("for_content_tests") { |
| 295 visibility = [ "//content/test/*" ] | 296 visibility = [ "//content/test/*" ] |
| 296 if (!is_component_build) { | 297 if (!is_component_build) { |
| 297 public_deps = [ | 298 public_deps = [ |
| 298 ":child", | 299 ":child", |
| 299 ] | 300 ] |
| 300 } | 301 } |
| 301 } | 302 } |
| OLD | NEW |