Skip to content

Commit

Permalink
Fix deps prefix
Browse files Browse the repository at this point in the history
Reviewed By: tyronen

Differential Revision: D2869672

fb-gh-sync-id: fe6c255199ee181626d59c6dfb760212a0bcec2a
shipit-source-id: fe6c255199ee181626d59c6dfb760212a0bcec2a
  • Loading branch information
Michał Gregorczyk authored and facebook-github-bot-3 committed Feb 14, 2016
1 parent 84a4ed0 commit e77bd5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ to your build.gradle file.

## Building from source
To build SoLoader from source you'll need [Buck](https://buckbuild.com/).
Onve you have Buck installed execute following commands from the project root
Once you have Buck installed execute following commands from the project root
directory:
```shell
python scripts/fetch_deps.py
Expand Down
2 changes: 1 addition & 1 deletion oss_defs/SOLOADER_DEFS
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def _deps_decorator(original_rule):
"""
def augmented_rule(**kwargs):
all_deps = kwargs.get('deps', [])
oss_deps = [dep for dep in all_deps if dep.startswith('//deps/')]
oss_deps = [dep for dep in all_deps if dep.startswith('//deps:')]
kwargs['deps'] = [dep for dep in all_deps if dep not in oss_deps]
kwargs.setdefault('provided_deps', []).extend(oss_deps)
original_rule(**kwargs)
Expand Down

0 comments on commit e77bd5c

Please sign in to comment.