| 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 = [ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 output = "$target_gen_dir/resources.pak" | 28 output = "$target_gen_dir/resources.pak" |
| 29 copy_data_to_bundle = true | 29 copy_data_to_bundle = true |
| 30 } | 30 } |
| 31 | 31 |
| 32 grit("resources") { | 32 grit("resources") { |
| 33 source = "test_resources.grd" | 33 source = "test_resources.grd" |
| 34 inputs = [ | 34 inputs = [ |
| 35 "${root_gen_dir}/ios/web/test/mojo_test.mojom.js", | 35 "${root_gen_dir}/ios/web/test/mojo_test.mojom.js", |
| 36 ] | 36 ] |
| 37 deps = [ | 37 deps = [ |
| 38 ":mojo_bindings", | 38 ":mojo_bindings_js", |
| 39 ] | 39 ] |
| 40 outputs = [ | 40 outputs = [ |
| 41 "grit/test_resources.h", | 41 "grit/test_resources.h", |
| 42 "test_resources.pak", | 42 "test_resources.pak", |
| 43 ] | 43 ] |
| 44 grit_flags = [ | 44 grit_flags = [ |
| 45 "-E", | 45 "-E", |
| 46 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 46 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
| 47 ] | 47 ] |
| 48 } | 48 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 79 ] | 79 ] |
| 80 } | 80 } |
| 81 | 81 |
| 82 source_set("test_constants") { | 82 source_set("test_constants") { |
| 83 testonly = true | 83 testonly = true |
| 84 sources = [ | 84 sources = [ |
| 85 "test_url_constants.cc", | 85 "test_url_constants.cc", |
| 86 "test_url_constants.h", | 86 "test_url_constants.h", |
| 87 ] | 87 ] |
| 88 } | 88 } |
| OLD | NEW |