| OLD | NEW |
| 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 } |
| OLD | NEW |