-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fine-grained Closure Library build rules (#269)
This change introduced a fine-grained build graph for the Closure Library. This is most useful when the Closure Compiler isn't being used. For example, it's now possible to depend on `@io_bazel_rules_closure//closure/library/object` which is 11mB smaller (in terms of naïvely concatenated JavaScript sources) than getting the same API from `@io_bazel_rules_closure//closure/library`. The latency of tools like Clutz should also be improved. The following additional changes needed to be made: - `deps.js` no longer needs to be an implicit dependency thanks to `transitionalforwarddeclarations.js`. - A `lenient` attribute is now available for `closure_js_library` which makes the compiler more easy-going. - `goog.labs`, `goog.ui`, and third party APIs may no longer be exported from `//closure/library` and `//closure/library:testing` by default.
- Loading branch information
Showing
131 changed files
with
13,768 additions
and
1,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.