rocksdb/buckifier
Neil Mitchell b77569f18b Make the TARGETS file Starlark compliant (#7743)
Summary:
Buck TARGETS files are sometimes parsed with Python, and sometimes with Starlark - this TARGETS file was not Starlark compliant. In Starlark you can't have a top-level if in a TARGETS file, but you can have a ternary `a if b else c`. Therefore I converted TARGETS, and updated the generator for it.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7743

Reviewed By: pdillinger

Differential Revision: D25342587

Pulled By: ndmitchell

fbshipit-source-id: 88cbe8632071a45a3ea8675812967614c62c78d1
2020-12-07 10:28:26 -08:00
..
buckify_rocksdb.py Add a rocksdb lib target with link_whole=True (#7466) 2020-09-30 22:50:32 -07:00
check_buck_targets.sh Allow missing "unversioned" python, as in CentOS 8 (#6883) 2020-05-29 11:29:23 -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 Make the TARGETS file Starlark compliant (#7743) 2020-12-07 10:28:26 -08:00
targets_cfg.py Add a rocksdb lib target with link_whole=True (#7466) 2020-09-30 22:50:32 -07:00
util.py Make buckifier python3 compatible (#5922) 2019-10-23 13:52:27 -07:00