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

Side by Side Diff: gpu/ipc/common/BUILD.gn

Issue 2574593003: Fix Windows build warning LNK4217 for blink_platform.dll. (Closed)
Patch Set: gpu/ipc/common:interfaces_blink Created 4 years 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 group("common") { 8 group("common") {
9 if (is_component_build) { 9 if (is_component_build) {
10 public_deps = [ 10 public_deps = [
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 "mailbox.mojom", 144 "mailbox.mojom",
145 "mailbox_holder.mojom", 145 "mailbox_holder.mojom",
146 "surface_handle.mojom", 146 "surface_handle.mojom",
147 "sync_token.mojom", 147 "sync_token.mojom",
148 ] 148 ]
149 149
150 public_deps = [ 150 public_deps = [
151 "//mojo/common:common_custom_types", 151 "//mojo/common:common_custom_types",
152 "//ui/gfx/geometry/mojo", 152 "//ui/gfx/geometry/mojo",
153 ] 153 ]
154
155 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
156 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
157 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
154 } 158 }
155 159
156 mojom("test_interfaces") { 160 mojom("test_interfaces") {
157 testonly = true 161 testonly = true
158 sources = [ 162 sources = [
159 "traits_test_service.mojom", 163 "traits_test_service.mojom",
160 ] 164 ]
161 165
162 public_deps = [ 166 public_deps = [
163 ":interfaces", 167 ":interfaces",
164 ] 168 ]
165 } 169 }
166 170
167 source_set("struct_traits") { 171 source_set("struct_traits") {
168 sources = [ 172 sources = [
169 "mailbox_holder_struct_traits.h", 173 "mailbox_holder_struct_traits.h",
170 "mailbox_struct_traits.h", 174 "mailbox_struct_traits.h",
171 "surface_handle_struct_traits.h", 175 "surface_handle_struct_traits.h",
172 "sync_token_struct_traits.h", 176 "sync_token_struct_traits.h",
173 ] 177 ]
174 deps = [ 178 deps = [
175 ":interfaces_shared_cpp_sources", 179 ":interfaces_shared_cpp_sources",
176 ":surface_handle_type", 180 ":surface_handle_type",
177 "//gpu/command_buffer/common", 181 "//gpu/command_buffer/common",
178 "//mojo/public/cpp/bindings:bindings", 182 "//mojo/public/cpp/bindings:bindings",
179 ] 183 ]
180 } 184 }
OLDNEW
« cc/ipc/BUILD.gn ('K') | « cc/ipc/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698