Reformat BUCK files
Summary: Reformat BUCK files to better conform with style. Reviewed By: zertosh Differential Revision: D5901515 fbshipit-source-id: 93e8c56450f65b691af9017d880e6cf2a2cdb7af
This commit is contained in:
committed by
Facebook Github Bot
parent
969f055f47
commit
fc6c85996e
4
BUCK
4
BUCK
@@ -21,9 +21,9 @@ TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + ["-std=c++11"
|
||||
cxx_library(
|
||||
name = "yoga",
|
||||
srcs = glob(["yoga/*.c"]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
exported_headers = subdir_glob([("", "yoga/*.h")]),
|
||||
header_namespace = "",
|
||||
exported_headers = subdir_glob([("", "yoga/*.h")]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
soname = "libyogacore.$(ext)",
|
||||
tests = [":YogaTests"],
|
||||
visibility = ["PUBLIC"],
|
||||
|
@@ -30,8 +30,8 @@ COMPILER_FLAGS = [
|
||||
apple_library(
|
||||
name = "YogaKit",
|
||||
srcs = glob(["Source/**/*.m"]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
exported_headers = glob(["Source/**/*.h"]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
|
@@ -10,6 +10,8 @@ include_defs("//YOGA_DEFS")
|
||||
cxx_binary(
|
||||
name = "benchmark",
|
||||
srcs = glob(["*.c"]),
|
||||
headers = subdir_glob([("", "*.h")]),
|
||||
header_namespace = "",
|
||||
compiler_flags = [
|
||||
"-fno-omit-frame-pointer",
|
||||
"-fexceptions",
|
||||
@@ -18,8 +20,6 @@ cxx_binary(
|
||||
"-O3",
|
||||
"-std=c11",
|
||||
],
|
||||
header_namespace = "",
|
||||
headers = subdir_glob([("", "*.h")]),
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
yoga_dep(":yoga"),
|
||||
|
@@ -10,6 +10,7 @@ include_defs("//YOGA_DEFS")
|
||||
cxx_library(
|
||||
name = "jni",
|
||||
srcs = glob(["jni/*.cpp"]),
|
||||
header_namespace = "",
|
||||
compiler_flags = [
|
||||
"-fno-omit-frame-pointer",
|
||||
"-fexceptions",
|
||||
@@ -19,7 +20,6 @@ cxx_library(
|
||||
"-O3",
|
||||
"-std=c++11",
|
||||
],
|
||||
header_namespace = "",
|
||||
soname = "libyoga.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
|
@@ -15,13 +15,13 @@ COMPILER_FLAGS = [
|
||||
cxx_library(
|
||||
name = "gtest",
|
||||
srcs = glob(["googletest/googletest/src/*.cc"]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
header_namespace = "",
|
||||
exported_headers = subdir_glob([
|
||||
("googletest/googletest/include", "**/*.h"),
|
||||
("googletest/googletest", "src/*.h"),
|
||||
("googletest/googletest", "src/*.cc"),
|
||||
]),
|
||||
header_namespace = "",
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
visibility = YOGA_ROOTS,
|
||||
deps = [],
|
||||
)
|
||||
|
@@ -7,11 +7,11 @@
|
||||
|
||||
cxx_library(
|
||||
name = "jni",
|
||||
header_namespace = "",
|
||||
exported_headers = [
|
||||
"jni.h",
|
||||
"real/jni.h",
|
||||
],
|
||||
force_static = True,
|
||||
header_namespace = "",
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
Reference in New Issue
Block a user