diff --git a/TARGETS b/TARGETS index 26cf750ee..e6345f145 100644 --- a/TARGETS +++ b/TARGETS @@ -1,3 +1,5 @@ +load("@fbcode_macros//build_defs:auto_headers.bzl", "AutoHeaders") + REPO_PATH = package_name() + "/" BUCK_BINS = "buck-out/gen/" + REPO_PATH @@ -1095,4 +1097,3 @@ if not is_opt_mode: deps = [":" + test_bin], command = [TEST_RUNNER, BUCK_BINS + test_bin] ) - diff --git a/buckifier/targets_cfg.py b/buckifier/targets_cfg.py index 1b426acf0..608f66a4d 100644 --- a/buckifier/targets_cfg.py +++ b/buckifier/targets_cfg.py @@ -2,7 +2,10 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals -rocksdb_target_header = """REPO_PATH = package_name() + "/" +rocksdb_target_header = """ +load("@fbcode_macros//build_defs:auto_headers.bzl", "AutoHeaders") + +REPO_PATH = package_name() + "/" BUCK_BINS = "buck-out/gen/" + REPO_PATH