| 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 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 import("//tools/grit/repack.gni") | 7 import("//tools/grit/repack.gni") |
| 8 | 8 |
| 9 mojom("mojo_bindings") { | 9 mojom("mojo_bindings") { |
| 10 sources = [ | 10 sources = [ |
| 11 "mojo_test.mojom", | 11 "mojo_test.mojom", |
| 12 ] | 12 ] |
| 13 |
| 14 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 15 use_new_js_bindings = false |
| 13 } | 16 } |
| 14 | 17 |
| 15 repack("packed_resources") { | 18 repack("packed_resources") { |
| 16 testonly = true | 19 testonly = true |
| 17 sources = [ | 20 sources = [ |
| 18 "$root_gen_dir/ios/web/ios_web_resources.pak", | 21 "$root_gen_dir/ios/web/ios_web_resources.pak", |
| 19 "$root_gen_dir/ios/web/test/test_resources.pak", | 22 "$root_gen_dir/ios/web/test/test_resources.pak", |
| 20 ] | 23 ] |
| 21 deps = [ | 24 deps = [ |
| 22 ":resources", | 25 ":resources", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 ] | 39 ] |
| 37 outputs = [ | 40 outputs = [ |
| 38 "grit/test_resources.h", | 41 "grit/test_resources.h", |
| 39 "test_resources.pak", | 42 "test_resources.pak", |
| 40 ] | 43 ] |
| 41 grit_flags = [ | 44 grit_flags = [ |
| 42 "-E", | 45 "-E", |
| 43 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 46 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
| 44 ] | 47 ] |
| 45 } | 48 } |
| OLD | NEW |