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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 deps = content_shared_components | 61 deps = content_shared_components |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 grit("resources") { | 65 grit("resources") { |
66 source = "content_resources.grd" | 66 source = "content_resources.grd" |
67 use_qualified_include = true | 67 use_qualified_include = true |
68 outputs = [ | 68 outputs = [ |
69 "grit/content_resources.h", | 69 "grit/content_resources.h", |
70 "content_resources.pak", | 70 "content_resources.pak", |
71 "content_resources.rc", | |
72 ] | 71 ] |
73 } | 72 } |
74 | 73 |
75 # This target exists to "hold" the content_export header so we can do proper | 74 # This target exists to "hold" the content_export header so we can do proper |
76 # inclusion testing of it. | 75 # inclusion testing of it. |
77 source_set("export") { | 76 source_set("export") { |
78 visibility = [ "//content/*" ] | 77 visibility = [ "//content/*" ] |
79 sources = [ | 78 sources = [ |
80 "common/content_export.h", | 79 "common/content_export.h", |
81 ] | 80 ] |
82 } | 81 } |
83 | 82 |
84 # In the GYP build, this file is listed in several targets. In GN just have | 83 # In the GYP build, this file is listed in several targets. In GN just have |
85 # those targets depend on this one. This can be depended on for any | 84 # those targets depend on this one. This can be depended on for any |
86 # platform for simplicity, and is a no-op on non-Windows. | 85 # platform for simplicity, and is a no-op on non-Windows. |
87 source_set("startup_helper_win") { | 86 source_set("startup_helper_win") { |
88 if (is_win) { | 87 if (is_win) { |
89 sources = [ | 88 sources = [ |
90 "app/startup_helper_win.cc", | 89 "app/startup_helper_win.cc", |
91 "public/app/startup_helper_win.h", | 90 "public/app/startup_helper_win.h", |
92 ] | 91 ] |
93 | 92 |
94 deps = [ | 93 deps = [ |
95 "//base", | 94 "//base", |
96 "//base:i18n", | 95 "//base:i18n", |
97 "//sandbox", | 96 "//sandbox", |
98 ] | 97 ] |
99 } | 98 } |
100 } | 99 } |
OLD | NEW |