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