rocksdb/buckifier
Yanqin Jin 3a10ffe954 Change buckifier to support parameterized dependencies (#5648)
Summary:
Users may desire to specify extra dependencies via buck. This PR allows users to pass additional dependencies as a JSON object so that the buckifier script can generate TARGETS file with desired extra dependencies.

Test plan (on dev server)
```
$python buckifier/buckify_rocksdb.py '{"fake": {"extra_deps": [":test_dep", "//fakes/module:mock1"], "extra_compiler_flags": ["-DROCKSDB_LITE", "-Os"]}}'
Generating TARGETS
Extra dependencies:
{'': {'extra_compiler_flags': [], 'extra_deps': []}, 'test_dep1': {'extra_compiler_flags': ['-O2', '-DROCKSDB_LITE'], 'extra_deps': [':fake', '//dep1/mock']}}
Generated TARGETS Summary:
- 5 libs
- 0 binarys
- 296 tests
```
Verify the TARGETS file.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5648

Differential Revision: D16565043

Pulled By: riversand963

fbshipit-source-id: a6ef02274174fcf159692d7b846e828454d01e89
2019-09-06 10:16:19 -07:00
..
buckify_rocksdb.py Change buckifier to support parameterized dependencies (#5648) 2019-09-06 10:16:19 -07:00
rocks_test_runner.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
targets_builder.py Change buckifier to support parameterized dependencies (#5648) 2019-09-06 10:16:19 -07:00
targets_cfg.py Change buckifier to support parameterized dependencies (#5648) 2019-09-06 10:16:19 -07:00
util.py Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00