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