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/web/js_compile.gni") |
5 import("//testing/test.gni") | 6 import("//testing/test.gni") |
6 import("//ios/web/js_compile.gni") | 7 import("//tools/grit/grit_rule.gni") |
7 | 8 |
8 source_set("web") { | 9 source_set("web") { |
9 deps = [ | 10 deps = [ |
10 ":core", | 11 ":core", |
11 ":js_resources", | 12 ":js_resources", |
| 13 ":resources", |
12 ":user_agent", | 14 ":user_agent", |
13 "//base", | 15 "//base", |
14 "//components/url_formatter", | 16 "//components/url_formatter", |
15 "//ios/net", | 17 "//ios/net", |
16 "//ios/third_party/blink:html_tokenizer", | 18 "//ios/third_party/blink:html_tokenizer", |
17 "//net", | 19 "//net", |
18 "//ui/base", | 20 "//ui/base", |
19 "//ui/gfx", | 21 "//ui/gfx", |
20 "//ui/gfx/geometry:geometry", | 22 "//ui/gfx/geometry:geometry", |
21 "//ui/resources", | 23 "//ui/resources", |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 ":web_bundle", | 483 ":web_bundle", |
482 ":web_ui_bundle", | 484 ":web_ui_bundle", |
483 ] | 485 ] |
484 | 486 |
485 sources = [ | 487 sources = [ |
486 "web_state/js/resources/plugin_placeholder.js", | 488 "web_state/js/resources/plugin_placeholder.js", |
487 "web_state/js/resources/post_request.js", | 489 "web_state/js/resources/post_request.js", |
488 "web_state/js/resources/window_id.js", | 490 "web_state/js/resources/window_id.js", |
489 ] | 491 ] |
490 } | 492 } |
| 493 |
| 494 grit("resources") { |
| 495 source = "ios_web_resources.grd" |
| 496 use_qualified_include = true |
| 497 outputs = [ |
| 498 "grit/ios_web_resources.h", |
| 499 "ios_web_resources.pak", |
| 500 ] |
| 501 grit_flags = [ |
| 502 "-E", |
| 503 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), |
| 504 ] |
| 505 } |
OLD | NEW |