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 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 | 7 |
8 # Applied by targets internal to content. | 8 # Applied by targets internal to content. |
9 config("content_implementation") { | 9 config("content_implementation") { |
10 defines = [ "CONTENT_IMPLEMENTATION" ] | 10 defines = [ "CONTENT_IMPLEMENTATION" ] |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "grit/content_resources.h", | 110 "grit/content_resources.h", |
111 "content_resources.pak", | 111 "content_resources.pak", |
112 ] | 112 ] |
113 grit_flags = [ | 113 grit_flags = [ |
114 "-E", | 114 "-E", |
115 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), | 115 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), |
116 ] | 116 ] |
117 deps = [ | 117 deps = [ |
118 "//content/public/app:browser_manifest", | 118 "//content/public/app:browser_manifest", |
119 "//content/public/app:renderer_manifest", | 119 "//content/public/app:renderer_manifest", |
120 "//mojo/services/catalog:manifest", | 120 "//services/catalog:manifest", |
121 ] | 121 ] |
122 } | 122 } |
123 | 123 |
124 # This target exists to "hold" the content_export header so we can do proper | 124 # This target exists to "hold" the content_export header so we can do proper |
125 # inclusion testing of it. | 125 # inclusion testing of it. |
126 source_set("export") { | 126 source_set("export") { |
127 # Must only be used inside of content. | 127 # Must only be used inside of content. |
128 visibility = [ "//content/*" ] | 128 visibility = [ "//content/*" ] |
129 sources = [ | 129 sources = [ |
130 "common/content_export.h", | 130 "common/content_export.h", |
131 ] | 131 ] |
132 } | 132 } |
133 | 133 |
134 # In the GYP build, this file is listed in several targets. In GN just have | 134 # In the GYP build, this file is listed in several targets. In GN just have |
135 # those targets depend on this one. This can be depended on for any | 135 # those targets depend on this one. This can be depended on for any |
136 # platform for simplicity, and is a no-op on non-Windows. | 136 # platform for simplicity, and is a no-op on non-Windows. |
137 source_set("sandbox_helper_win") { | 137 source_set("sandbox_helper_win") { |
138 if (is_win) { | 138 if (is_win) { |
139 sources = [ | 139 sources = [ |
140 "app/sandbox_helper_win.cc", | 140 "app/sandbox_helper_win.cc", |
141 "public/app/sandbox_helper_win.h", | 141 "public/app/sandbox_helper_win.h", |
142 ] | 142 ] |
143 | 143 |
144 deps = [ | 144 deps = [ |
145 "//sandbox", | 145 "//sandbox", |
146 ] | 146 ] |
147 } | 147 } |
148 } | 148 } |
OLD | NEW |