Add load statements to rocksdb TARGETS files

Reviewed By: siying

Differential Revision: D13993686

fbshipit-source-id: 0c55e8952307bcf457c1d78d527a0c86b59628e8
This commit is contained in:
Philip Jameson 2019-02-13 10:54:25 -08:00 committed by Facebook Github Bot
parent 5af9446ee6
commit 51a90415e2

View File

@ -3,6 +3,7 @@ from __future__ import division
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
rocksdb_target_header = """load("@fbcode_macros//build_defs:auto_headers.bzl", "AutoHeaders") rocksdb_target_header = """load("@fbcode_macros//build_defs:auto_headers.bzl", "AutoHeaders")
load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")
load(":defs.bzl", "test_binary") load(":defs.bzl", "test_binary")
REPO_PATH = package_name() + "/" REPO_PATH = package_name() + "/"
@ -23,6 +24,7 @@ ROCKSDB_COMPILER_FLAGS = [
"-DBZIP2", "-DBZIP2",
"-DLZ4", "-DLZ4",
"-DZSTD", "-DZSTD",
"-DZSTD_STATIC_LINKING_ONLY",
"-DGFLAGS=gflags", "-DGFLAGS=gflags",
"-DNUMA", "-DNUMA",
"-DTBB", "-DTBB",