New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691091 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

JS bindings: add new bindings files should be easier

Project Member Reported by yzshen@chromium.org, Feb 10 2017

Issue description

At the moment, when we add a new file to mojo/public/js, we need to change many places:

  content/content_resources.grd
  content/renderer/mojo_context_state.cc
  extensions/renderer/dispatcher.cc
  ios/web/ios_web_resources.grd
  ios/web/webui/crw_web_ui_manager.mm
  mojo/public/js/constants.h
  mojo/public/js/constants.cc

Maybe we could create a common library for resource lookup and sub-grd file   and put them in public/js/resource_loading?
 
Cc: -roc...@chromium.org rockot@google.com
Status: WontFix (was: Untriaged)
I don't think this is really a problem in practice anymore. We generate mojo_bindings.js and mojo_bindings_lite.js, and everything in mojo/public/js gets compiled into one of those two files.

Sign in to add a comment