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

Side by Side Diff: content/BUILD.gn

Issue 2209883002: Link blink mojom bindings into platform target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge and add comments Created 4 years, 4 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/android/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 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "//content/public/app:renderer_manifest", 122 "//content/public/app:renderer_manifest",
123 "//content/public/app:utility_manifest", 123 "//content/public/app:utility_manifest",
124 "//services/catalog:manifest", 124 "//services/catalog:manifest",
125 ] 125 ]
126 } 126 }
127 127
128 # This target exists to "hold" the content_export header so we can do proper 128 # This target exists to "hold" the content_export header so we can do proper
129 # inclusion testing of it. 129 # inclusion testing of it.
130 source_set("export") { 130 source_set("export") {
131 # Must only be used inside of content. 131 # Must only be used inside of content.
132 visibility = [ "//content/*" ] 132 visibility = [
133 "//content/*",
134 # Because of typemap.
135 "//third_party/WebKit/Source/platform:mojo_bindings_cpp_sources",
136 ]
133 sources = [ 137 sources = [
134 "common/content_export.h", 138 "common/content_export.h",
135 ] 139 ]
136 } 140 }
137 141
138 # In the GYP build, this file is listed in several targets. In GN just have 142 # In the GYP build, this file is listed in several targets. In GN just have
139 # those targets depend on this one. This can be depended on for any 143 # those targets depend on this one. This can be depended on for any
140 # platform for simplicity, and is a no-op on non-Windows. 144 # platform for simplicity, and is a no-op on non-Windows.
141 source_set("sandbox_helper_win") { 145 source_set("sandbox_helper_win") {
142 if (is_win) { 146 if (is_win) {
143 sources = [ 147 sources = [
144 "app/sandbox_helper_win.cc", 148 "app/sandbox_helper_win.cc",
145 "public/app/sandbox_helper_win.h", 149 "public/app/sandbox_helper_win.h",
146 ] 150 ]
147 151
148 deps = [ 152 deps = [
149 "//sandbox", 153 "//sandbox",
150 ] 154 ]
151 } 155 }
152 } 156 }
OLDNEW
« no previous file with comments | « chrome/android/BUILD.gn ('k') | content/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698