| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 | 105 |
| 106 grit("resources") { | 106 grit("resources") { |
| 107 source = "content_resources.grd" | 107 source = "content_resources.grd" |
| 108 use_qualified_include = true | 108 use_qualified_include = true |
| 109 outputs = [ | 109 outputs = [ |
| 110 "grit/content_resources.h", | 110 "grit/content_resources.h", |
| 111 "content_resources.pak", | 111 "content_resources.pak", |
| 112 ] | 112 ] |
| 113 grit_flags = [ |
| 114 "-E", |
| 115 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), |
| 116 ] |
| 117 deps = [ |
| 118 "//content/public/app:browser_manifest", |
| 119 "//content/public/app:renderer_manifest", |
| 120 "//mojo/services/catalog:manifest", |
| 121 ] |
| 113 } | 122 } |
| 114 | 123 |
| 115 # 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 |
| 116 # inclusion testing of it. | 125 # inclusion testing of it. |
| 117 source_set("export") { | 126 source_set("export") { |
| 118 # Must only be used inside of content. | 127 # Must only be used inside of content. |
| 119 visibility = [ "//content/*" ] | 128 visibility = [ "//content/*" ] |
| 120 sources = [ | 129 sources = [ |
| 121 "common/content_export.h", | 130 "common/content_export.h", |
| 122 ] | 131 ] |
| 123 } | 132 } |
| 124 | 133 |
| 125 # 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 |
| 126 # 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 |
| 127 # platform for simplicity, and is a no-op on non-Windows. | 136 # platform for simplicity, and is a no-op on non-Windows. |
| 128 source_set("sandbox_helper_win") { | 137 source_set("sandbox_helper_win") { |
| 129 if (is_win) { | 138 if (is_win) { |
| 130 sources = [ | 139 sources = [ |
| 131 "app/sandbox_helper_win.cc", | 140 "app/sandbox_helper_win.cc", |
| 132 "public/app/sandbox_helper_win.h", | 141 "public/app/sandbox_helper_win.h", |
| 133 ] | 142 ] |
| 134 | 143 |
| 135 deps = [ | 144 deps = [ |
| 136 "//sandbox", | 145 "//sandbox", |
| 137 ] | 146 ] |
| 138 } | 147 } |
| 139 } | 148 } |
| OLD | NEW |