Lint TARGETS files with buildifier

Summary: Build file formatting

Reviewed By: mzlee

Differential Revision: D9728238

fbshipit-source-id: 99a266d5d2260eabfd63a200b2994c6850b59cf4
This commit is contained in:
Philip Jameson 2018-09-11 14:53:20 -07:00 committed by Facebook Github Bot
parent c86a22ac43
commit dbf44c314b

24
TARGETS
View File

@ -1081,19 +1081,19 @@ if not is_opt_mode:
ttype = "gtest" if test_cfg[2] == "parallel" else "simple" ttype = "gtest" if test_cfg[2] == "parallel" else "simple"
test_bin = test_name + "_bin" test_bin = test_name + "_bin"
cpp_binary ( cpp_binary(
name = test_bin, name = test_bin,
srcs = [test_cc], srcs = [test_cc],
deps = [":rocksdb_test_lib"], arch_preprocessor_flags = rocksdb_arch_preprocessor_flags,
preprocessor_flags = rocksdb_preprocessor_flags, compiler_flags = rocksdb_compiler_flags,
arch_preprocessor_flags = rocksdb_arch_preprocessor_flags, preprocessor_flags = rocksdb_preprocessor_flags,
compiler_flags = rocksdb_compiler_flags, deps = [":rocksdb_test_lib"],
external_deps = rocksdb_external_deps, external_deps = rocksdb_external_deps,
) )
custom_unittest( custom_unittest(
name = test_name, name = test_name,
type = ttype, command = [TEST_RUNNER, BUCK_BINS + test_bin],
deps = [":" + test_bin], type = ttype,
command = [TEST_RUNNER, BUCK_BINS + test_bin] deps = [":" + test_bin],
) )