Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: ios/web/BUILD.gn

Issue 2946383002: Support new-style Mojo JS core API on IOS. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/third_party/requirejs/require.js ('k') | ios/web/ios_web_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/BUILD.gn
diff --git a/ios/web/BUILD.gn b/ios/web/BUILD.gn
index 5ba9e5bd16fc8aa624cb8473d0ba18b235b43752..a5569098eb77fd9e827f1e38a166347e9118055f 100644
--- a/ios/web/BUILD.gn
+++ b/ios/web/BUILD.gn
@@ -234,8 +234,6 @@ source_set("web_arc") {
"webui/crw_web_ui_page_builder.mm",
"webui/mojo_facade.h",
"webui/mojo_facade.mm",
- "webui/mojo_js_constants.cc",
- "webui/mojo_js_constants.h",
"webui/shared_resources_data_source_ios.h",
"webui/shared_resources_data_source_ios.mm",
"webui/url_data_manager_ios.cc",
@@ -782,6 +780,7 @@ test("ios_web_inttests") {
"//base/test:test_support",
"//ios/testing:http_server_bundle_data",
"//ios/testing:ios_test_support",
+ "//ios/web:resources_grit",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//ios/web/public/test/http_server",
@@ -816,11 +815,10 @@ js_compile_bundle("web_ui_bundle") {
closure_entry_point = "__crWeb.webUIBundle"
sources = [
- "../third_party/requirejs/require.js",
+ "webui/resources/mojo_api.js",
"webui/resources/web_ui_base.js",
"webui/resources/web_ui_bind.js",
"webui/resources/web_ui_bundle.js",
- "webui/resources/web_ui_module_load_notifier.js",
"webui/resources/web_ui_send.js",
]
}
@@ -868,6 +866,6 @@ grit("resources") {
"root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
]
deps = [
- "//mojo/public/js:bindings",
+ "//mojo/public/js:new_bindings",
]
}
« no previous file with comments | « ios/third_party/requirejs/require.js ('k') | ios/web/ios_web_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698