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

Side by Side Diff: url/mojo/BUILD.gn

Issue 2965803003: Mojo JS bindings: add support to generate "dual-mode" code. (Closed)
Patch Set: . Created 3 years, 5 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 | « third_party/WebKit/LayoutTests/vibration/vibration-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 mojom("url_mojom_gurl") { 7 mojom("url_mojom_gurl") {
8 sources = [ 8 sources = [
9 "url.mojom", 9 "url.mojom",
10 ] 10 ]
11 11
12 # TODO(crbug.com/699569): Convert to use the new JS bindings. 12 # TODO(crbug.com/699569): Convert to use the new JS bindings.
13 use_new_js_bindings = false 13 js_bindings_mode = "both"
14 } 14 }
15 15
16 mojom("url_mojom_origin") { 16 mojom("url_mojom_origin") {
17 sources = [ 17 sources = [
18 "origin.mojom", 18 "origin.mojom",
19 ] 19 ]
20 20
21 public_deps = [ 21 public_deps = [
22 ":url_mojom_gurl", 22 ":url_mojom_gurl",
23 ] 23 ]
24 24
25 # TODO(crbug.com/699569): Convert to use the new JS bindings. 25 # TODO(crbug.com/699569): Convert to use the new JS bindings.
26 use_new_js_bindings = false 26 js_bindings_mode = "both"
27 } 27 }
28 28
29 mojom("test_url_mojom_gurl") { 29 mojom("test_url_mojom_gurl") {
30 sources = [ 30 sources = [
31 "url_test.mojom", 31 "url_test.mojom",
32 ] 32 ]
33 33
34 public_deps = [ 34 public_deps = [
35 ":url_mojom_gurl", 35 ":url_mojom_gurl",
36 ":url_mojom_origin", 36 ":url_mojom_origin",
37 ] 37 ]
38 } 38 }
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/vibration/vibration-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698