Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Side by Side Diff: content/BUILD.gn

Issue 1071633003: GN Windows component build fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | content/app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | content/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698