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

Side by Side Diff: mojo/public/interfaces/bindings/BUILD.gn

Issue 2759563004: Mojo JS bindings: change module loading solution. (Closed)
Patch Set: . Created 3 years, 9 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 | mojo/public/interfaces/bindings/new_bindings/OWNERS » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/bindings/mojom.gni") 5 import("../../tools/bindings/mojom.gni")
6 6
7 mojom("bindings") { 7 mojom("bindings") {
8 visibility = [] 8 visibility = []
9 sources = [ 9 sources = [
10 "interface_control_messages.mojom", 10 "interface_control_messages.mojom",
11 "pipe_control_messages.mojom", 11 "pipe_control_messages.mojom",
12 ] 12 ]
13 13
14 export_class_attribute = "MOJO_CPP_BINDINGS_EXPORT" 14 export_class_attribute = "MOJO_CPP_BINDINGS_EXPORT"
15 export_define = "MOJO_CPP_BINDINGS_IMPLEMENTATION" 15 export_define = "MOJO_CPP_BINDINGS_IMPLEMENTATION"
16 export_header = "mojo/public/cpp/bindings/bindings_export.h" 16 export_header = "mojo/public/cpp/bindings/bindings_export.h"
17 } 17 }
18
19 # TODO(yzshen): Remove this target and use the one above once
20 # |use_new_js_bindings| becomes true by default.
21 mojom("new_bindings") {
22 visibility = []
23 sources = [
24 "new_bindings/interface_control_messages.mojom",
25 "new_bindings/pipe_control_messages.mojom",
26 ]
27
28 use_new_js_bindings = true
29 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/interfaces/bindings/new_bindings/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698