Commit 0e268f2b authored by Devlin Cronin's avatar Devlin Cronin Committed by Commit Bot

[Extensions Bindings] Exclude schemaUtils, json_schema with native bindings

The 'schemaUtils' and 'json_schema' JS bindings files are no longer
needed with native bindings. Don't include them as resources in
the dispatcher's source map.

Bug: 810487

Change-Id: I7476069311b7ba7d0ffc0a2e37a01dcd43808c66
Reviewed-on: https://chromium-review.googlesource.com/981261Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546157}
parent 09d08579
......@@ -668,8 +668,6 @@ std::vector<Dispatcher::JsResourceInfo> Dispatcher::GetJsResources() {
{"guestViewDeny", IDR_GUEST_VIEW_DENY_JS},
{"guestViewEvents", IDR_GUEST_VIEW_EVENTS_JS},
{"imageUtil", IDR_IMAGE_UTIL_JS},
{"json_schema", IDR_JSON_SCHEMA_JS},
{kSchemaUtils, IDR_SCHEMA_UTILS_JS},
{"setIcon", IDR_SET_ICON_JS},
{"test", IDR_TEST_CUSTOM_BINDINGS_JS},
{"test_environment_specific_bindings",
......@@ -715,6 +713,8 @@ std::vector<Dispatcher::JsResourceInfo> Dispatcher::GetJsResources() {
resources.push_back({kEventBindings, IDR_EVENT_BINDINGS_JS});
resources.push_back({"lastError", IDR_LAST_ERROR_JS});
resources.push_back({"sendRequest", IDR_SEND_REQUEST_JS});
resources.push_back({kSchemaUtils, IDR_SCHEMA_UTILS_JS});
resources.push_back({"json_schema", IDR_JSON_SCHEMA_JS});
resources.push_back({"messaging", IDR_MESSAGING_JS});
resources.push_back({"messaging_utils", IDR_MESSAGING_UTILS_JS});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment