Bug 1044162, currently on inbound only, removed JS_MODULES_PATH from the build 
system.  In its place, it added logic to EXTRA_JS_MODULES and 
EXTRA_PP_JS_MODULES for defining their final location under 
$(FINAL_TARGET)/modules/.  So whereas before, a moz.build might have contained:

JS_MODULES_PATH = 'modules/devtools/debugger'

EXTRA_JS_MODULES += [
  ...
]

It should now contain:

EXTRA_JS_MODULES.devtools.debugger += [
  ...
]

to accomplish the same thing.  This change also means that using 
EXTRA_JS_MODULES multiple times in a single file is permitted:

EXTRA_JS_MODULES.someplace += [
  ...
]

EXTRA_JS_MODULES.some.other.place += [
  ...
]

The ability to use EXTRA_JS_MODULES to specify multiple install locations means 
that many usages of INSTALL_TARGETS or libs:: rules for installing JS files can 
be converted to moz.build.

-Nathan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to