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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "//content/public/renderer:renderer_sources", | 46 "//content/public/renderer:renderer_sources", |
47 "//content/public/utility:utility_sources", | 47 "//content/public/utility:utility_sources", |
48 ] | 48 ] |
49 | 49 |
50 if (enable_plugins) { | 50 if (enable_plugins) { |
51 content_shared_components += [ "//content/ppapi_plugin" ] | 51 content_shared_components += [ "//content/ppapi_plugin" ] |
52 } | 52 } |
53 | 53 |
54 if (is_component_build) { | 54 if (is_component_build) { |
55 shared_library("content") { | 55 shared_library("content") { |
56 public_deps = content_shared_components + [ | 56 public_deps = |
57 "//content/public/app:both_sources", | 57 content_shared_components + [ "//content/public/app:both_sources" ] |
58 ] | |
59 } | 58 } |
60 } else { | 59 } else { |
61 group("content") { | 60 group("content") { |
62 deps = content_shared_components | 61 deps = content_shared_components |
63 } | 62 } |
64 } | 63 } |
65 | 64 |
66 grit("resources") { | 65 grit("resources") { |
67 source = "content_resources.grd" | 66 source = "content_resources.grd" |
68 use_qualified_include = true | 67 use_qualified_include = true |
69 outputs = [ | 68 outputs = [ |
70 "grit/content_resources.h", | 69 "grit/content_resources.h", |
71 "content_resources.pak", | 70 "content_resources.pak", |
72 "content_resources.rc", | 71 "content_resources.rc", |
73 ] | 72 ] |
74 } | 73 } |
75 | 74 |
76 # This target exists to "hold" the content_export header so we can do proper | 75 # This target exists to "hold" the content_export header so we can do proper |
77 # inclusion testing of it. | 76 # inclusion testing of it. |
78 source_set("export") { | 77 source_set("export") { |
79 visibility = [ "//content/*" ] | 78 visibility = [ "//content/*" ] |
80 sources = [ | 79 sources = [ |
81 "content/common/content_export.h" | 80 "content/common/content_export.h", |
82 ] | 81 ] |
83 } | 82 } |
OLD | NEW |