From a876995ed403ba196d739c97951f5a98e77742b1 Mon Sep 17 00:00:00 2001 From: Philip Jameson Date: Tue, 28 Aug 2018 21:14:52 -0700 Subject: [PATCH] Grab straggler files to explicitly import AutoHeaders Summary: There were a few files that were missed when AutoHeaders were moved to their own file. Add explicit loads Reviewed By: yfeldblum Differential Revision: D9499942 fbshipit-source-id: 942bf3a683b8961e1b6244136f6337477dcc45af --- TARGETS | 3 ++- buckifier/targets_cfg.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- GitLab