OLD | NEW |
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("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
6 import("//ios/web/js_compile.gni") | 6 import("//ios/web/js_compile.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 group("all_tests") { | 10 group("all_tests") { |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 } | 690 } |
691 | 691 |
692 js_compile_bundle("web_bundle") { | 692 js_compile_bundle("web_bundle") { |
693 visibility = [ ":js_resources" ] | 693 visibility = [ ":js_resources" ] |
694 closure_entry_point = "__crWeb.webBundle" | 694 closure_entry_point = "__crWeb.webBundle" |
695 | 695 |
696 sources = [ | 696 sources = [ |
697 "web_state/js/resources/base.js", | 697 "web_state/js/resources/base.js", |
698 "web_state/js/resources/common.js", | 698 "web_state/js/resources/common.js", |
699 "web_state/js/resources/console.js", | 699 "web_state/js/resources/console.js", |
| 700 "web_state/js/resources/context_menu.js", |
700 "web_state/js/resources/core.js", | 701 "web_state/js/resources/core.js", |
701 "web_state/js/resources/dialog_overrides.js", | 702 "web_state/js/resources/dialog_overrides.js", |
702 "web_state/js/resources/message.js", | 703 "web_state/js/resources/message.js", |
703 "web_state/js/resources/web_bundle.js", | 704 "web_state/js/resources/web_bundle.js", |
704 ] | 705 ] |
705 } | 706 } |
706 | 707 |
707 js_compile_checked("js_resources") { | 708 js_compile_checked("js_resources") { |
708 public_deps = [ | 709 public_deps = [ |
709 ":web_bundle", | 710 ":web_bundle", |
(...skipping 14 matching lines...) Expand all Loading... |
724 "ios_web_resources.pak", | 725 "ios_web_resources.pak", |
725 ] | 726 ] |
726 grit_flags = [ | 727 grit_flags = [ |
727 "-E", | 728 "-E", |
728 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 729 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
729 ] | 730 ] |
730 deps = [ | 731 deps = [ |
731 "//mojo/public/js:bindings", | 732 "//mojo/public/js:bindings", |
732 ] | 733 ] |
733 } | 734 } |
OLD | NEW |