| 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/child/child.gni") | 5 import("//content/child/child.gni") |
| 6 | 6 |
| 7 # See //content/BUILD.gn for how this works. | 7 # See //content/BUILD.gn for how this works. |
| 8 group("child") { | 8 group("child") { |
| 9 if (is_component_build) { | 9 if (is_component_build) { |
| 10 public_deps = [ | 10 public_deps = [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 | 25 |
| 26 source_set("child_sources") { | 26 source_set("child_sources") { |
| 27 # External code should depend in via ":child" above. | 27 # External code should depend in via ":child" above. |
| 28 visibility = [ "//content/*" ] | 28 visibility = [ "//content/*" ] |
| 29 | 29 |
| 30 sources = rebase_path(content_child_gypi_values.public_child_sources, | 30 sources = rebase_path(content_child_gypi_values.public_child_sources, |
| 31 ".", | 31 ".", |
| 32 "//content") | 32 "//content") |
| 33 | 33 |
| 34 configs += [ "//content:content_implementation" ] | 34 configs += [ |
| 35 "//build/config/compiler:wexit_time_destructors", |
| 36 "//content:content_implementation", |
| 37 ] |
| 35 | 38 |
| 36 deps = [ | 39 deps = [ |
| 37 "//content/child", # Must not be public_deps! | 40 "//content/child", # Must not be public_deps! |
| 38 "//content/public/common:common_sources", | 41 "//content/public/common:common_sources", |
| 39 "//gin", | 42 "//gin", |
| 40 ] | 43 ] |
| 41 | 44 |
| 42 allow_circular_includes_from = [ | 45 allow_circular_includes_from = [ |
| 43 # This target is a pair with content/child. They always go together and | 46 # This target is a pair with content/child. They always go together and |
| 44 # include headers from each other. | 47 # include headers from each other. |
| 45 "//content/child", | 48 "//content/child", |
| 46 ] | 49 ] |
| 47 } | 50 } |
| OLD | NEW |