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

Side by Side Diff: content/common/BUILD.gn

Issue 2225673002: Support exporting Mojo bindings for the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win_clang 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 | « no previous file | content/test/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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 group("for_content_tests") { 227 group("for_content_tests") {
228 visibility = [ "//content/test/*" ] 228 visibility = [ "//content/test/*" ]
229 if (!is_component_build) { 229 if (!is_component_build) {
230 public_deps = [ 230 public_deps = [
231 ":common", 231 ":common",
232 ] 232 ]
233 } 233 }
234 } 234 }
235 235
236 mojom("mojo_bindings") { 236 mojom("mojo_bindings") {
237 # This interface is internal to content. However, this is not exported from 237 # This interface is internal to content.
238 # the content component shared library. Code in content but outside of the
239 # content component (content/test or content/shell) should link to this
240 # directly.
241 visibility = [ "//content/*" ] 238 visibility = [ "//content/*" ]
242 239
243 sources = [ 240 sources = [
244 "frame.mojom", 241 "frame.mojom",
245 "image_downloader/image_downloader.mojom", 242 "image_downloader/image_downloader.mojom",
246 "leveldb_wrapper.mojom", 243 "leveldb_wrapper.mojom",
247 "process_control.mojom", 244 "process_control.mojom",
248 "render_frame_message_filter.mojom", 245 "render_frame_message_filter.mojom",
249 "render_widget_window_tree_client_factory.mojom", 246 "render_widget_window_tree_client_factory.mojom",
250 "service_worker/embedded_worker_setup.mojom", 247 "service_worker/embedded_worker_setup.mojom",
251 "storage_partition_service.mojom", 248 "storage_partition_service.mojom",
252 "websocket.mojom", 249 "websocket.mojom",
253 ] 250 ]
254 251
255 import_dirs = [ "//mojo/services" ] 252 import_dirs = [ "//mojo/services" ]
256 253
257 public_deps = [ 254 public_deps = [
258 "//components/leveldb/public/interfaces", 255 "//components/leveldb/public/interfaces",
259 "//device/sensors/public/interfaces", 256 "//device/sensors/public/interfaces",
260 "//services/shell/public/interfaces", 257 "//services/shell/public/interfaces",
261 "//services/ui/public/interfaces", 258 "//services/ui/public/interfaces",
262 "//skia/public/interfaces", 259 "//skia/public/interfaces",
263 "//third_party/WebKit/public:mojo_bindings", 260 "//third_party/WebKit/public:mojo_bindings",
264 "//ui/gfx/geometry/mojo", 261 "//ui/gfx/geometry/mojo",
265 "//url/mojo:url_mojom_gurl", 262 "//url/mojo:url_mojom_gurl",
266 "//url/mojo:url_mojom_origin", 263 "//url/mojo:url_mojom_origin",
267 ] 264 ]
268 265
269 use_new_wrapper_types = false 266 use_new_wrapper_types = false
267
268 export_class_attribute = "CONTENT_EXPORT"
269 export_define = "CONTENT_IMPLEMENTATION=1"
270 export_header = "content/common/content_export.h"
270 } 271 }
OLDNEW
« no previous file with comments | « no previous file | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698