forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JsLibrary: Don't remove macro deps from build deps
Summary: For legacy reasons, we were removing *all* but the worker dependency from build rule params when creating a `JsBundle`, where in reality we only wanted to remove declared deps and query deps. This lead to dependencies coming from `extraJson` being unintentionally removed. Here, we add new tests to guarantee the behavior we want, and only remove js_library dependencies from build rule params. Reviewed By: fromcelticpark fbshipit-source-id: cad3b34
- Loading branch information
1 parent
031df99
commit 49287cb
Showing
4 changed files
with
126 additions
and
23 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