From 0e5ed2e0c888913e211ef83a2369aae402df8621 Mon Sep 17 00:00:00 2001 From: "Fan Zhang(DevX)" Date: Sat, 25 May 2024 17:10:12 -0700 Subject: [PATCH] add export_file to rockdb TARGETS generator and re-gen Summary: we are converting the implicit loads to explicit loads, then remove the hidden loads in fbcode macroes. details see https://fb.workplace.com/groups/devx.build.bffs/permalink/7481848805183560/ Reviewed By: JakobDegen Differential Revision: D57800976 fbshipit-source-id: a893aa2aa9237704ba9eb998cba210222c95dd2f --- TARGETS | 1 + buckifier/targets_cfg.py | 1 + 2 files changed, 2 insertions(+) diff --git a/TARGETS b/TARGETS index d9a1199ea6..a274da1518 100644 --- a/TARGETS +++ b/TARGETS @@ -4,6 +4,7 @@ # This file is a Facebook-specific integration for buck builds, so can # only be validated by Facebook employees. load("//rocks/buckifier:defs.bzl", "cpp_library_wrapper","rocks_cpp_library_wrapper","cpp_binary_wrapper","cpp_unittest_wrapper","fancy_bench_wrapper","add_c_test_wrapper") +load("@fbcode_macros//build_defs:export_files.bzl", "export_file") cpp_library_wrapper(name="rocksdb_lib", srcs=[ diff --git a/buckifier/targets_cfg.py b/buckifier/targets_cfg.py index ead6ac51a5..08f58628a7 100644 --- a/buckifier/targets_cfg.py +++ b/buckifier/targets_cfg.py @@ -7,6 +7,7 @@ rocksdb_target_header_template = """# This file \100generated by: # This file is a Facebook-specific integration for buck builds, so can # only be validated by Facebook employees. load("//rocks/buckifier:defs.bzl", "cpp_library_wrapper","rocks_cpp_library_wrapper","cpp_binary_wrapper","cpp_unittest_wrapper","fancy_bench_wrapper","add_c_test_wrapper") +load("@fbcode_macros//build_defs:export_files.bzl", "export_file") """