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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 # Applied by targets internal to content. | 7 # Applied by targets internal to content. |
8 config("content_implementation") { | 8 config("content_implementation") { |
9 defines = [ "CONTENT_IMPLEMENTATION" ] | 9 defines = [ "CONTENT_IMPLEMENTATION" ] |
10 } | 10 } |
(...skipping 21 matching lines...) Expand all Loading... |
32 # //content/public/common:common_sources (source set) | 32 # //content/public/common:common_sources (source set) |
33 # | 33 # |
34 # That the internal content dependencies must depend on the *_sources targets | 34 # That the internal content dependencies must depend on the *_sources targets |
35 # to avoid dependency cycles, and external dependencies must depend on the | 35 # to avoid dependency cycles, and external dependencies must depend on the |
36 # //content/public/browser and similar targets to avoid double-linking (these | 36 # //content/public/browser and similar targets to avoid double-linking (these |
37 # targets make sure the dependency goes through the content shared library | 37 # targets make sure the dependency goes through the content shared library |
38 # when doing a component build). | 38 # when doing a component build). |
39 | 39 |
40 content_shared_components = [ | 40 content_shared_components = [ |
41 "//content/gpu", | 41 "//content/gpu", |
42 "//content/plugin", | |
43 "//content/public/browser:browser_sources", | 42 "//content/public/browser:browser_sources", |
44 "//content/public/child:child_sources", | 43 "//content/public/child:child_sources", |
45 "//content/public/common:common_sources", | 44 "//content/public/common:common_sources", |
46 "//content/public/plugin:plugin_sources", | 45 "//content/public/plugin:plugin_sources", |
47 "//content/public/renderer:renderer_sources", | 46 "//content/public/renderer:renderer_sources", |
48 "//content/public/utility:utility_sources", | 47 "//content/public/utility:utility_sources", |
49 ] | 48 ] |
50 | 49 |
51 if (enable_plugins) { | 50 if (enable_plugins) { |
52 content_shared_components += [ "//content/ppapi_plugin" ] | 51 content_shared_components += [ "//content/ppapi_plugin" ] |
(...skipping 23 matching lines...) Expand all Loading... |
76 } | 75 } |
77 | 76 |
78 # This target exists to "hold" the content_export header so we can do proper | 77 # This target exists to "hold" the content_export header so we can do proper |
79 # inclusion testing of it. | 78 # inclusion testing of it. |
80 source_set("export") { | 79 source_set("export") { |
81 visibility = [ "//content/*" ] | 80 visibility = [ "//content/*" ] |
82 sources = [ | 81 sources = [ |
83 "content/common/content_export.h" | 82 "content/common/content_export.h" |
84 ] | 83 ] |
85 } | 84 } |
OLD | NEW |