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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 # This target exists to "hold" the content_export header so we can do proper | 75 # This target exists to "hold" the content_export header so we can do proper |
76 # inclusion testing of it. | 76 # inclusion testing of it. |
77 source_set("export") { | 77 source_set("export") { |
78 visibility = [ "//content/*" ] | 78 visibility = [ "//content/*" ] |
79 sources = [ | 79 sources = [ |
80 "content/common/content_export.h", | 80 "content/common/content_export.h", |
81 ] | 81 ] |
82 } | 82 } |
83 | 83 |
84 if (is_win) { | 84 # In the GYP build, this file is listed in several targets. In GN just have |
85 source_set("content_startup_helper_win") { | 85 # 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. |
| 87 source_set("startup_helper_win") { |
| 88 if (is_win) { |
86 sources = [ | 89 sources = [ |
87 "app/startup_helper_win.cc", | 90 "app/startup_helper_win.cc", |
88 "public/app/startup_helper_win.h", | 91 "public/app/startup_helper_win.h", |
89 ] | 92 ] |
90 | 93 |
91 deps = [ | 94 deps = [ |
92 "//base", | 95 "//base", |
93 "//base:i18n", | 96 "//base:i18n", |
94 "//sandbox", | 97 "//sandbox", |
95 ] | 98 ] |
96 } | 99 } |
97 } | 100 } |
OLD | NEW |