Apply auto-formatter for BUCK files in fbandroid.

Summary:
For more background, see:

https://fb.facebook.com/groups/303159406399348/permalink/1334977403217538/
https://fburl.com/auto-format-build-files
D4527873

fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
This commit is contained in:
Michael Bolin
2017-02-24 21:40:45 -08:00
committed by Facebook Github Bot
parent d6d4dcb141
commit 47d8d9d22b
19 changed files with 314 additions and 307 deletions

View File

@@ -5,56 +5,56 @@
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
include_defs('//YOGA_DEFS')
include_defs("//YOGA_DEFS")
cxx_library(
name = 'jni',
soname = 'libyoga.$(ext)',
srcs = glob(['jni/*.cpp']),
header_namespace = '',
compiler_flags = [
'-fno-omit-frame-pointer',
'-fexceptions',
'-fPIC',
'-Wall',
'-Werror',
'-O3',
'-std=c++11',
],
deps = [
FBJNI_TARGET,
JNI_TARGET,
yoga_dep(':yoga'),
],
visibility = ['PUBLIC'],
name = "jni",
srcs = glob(["jni/*.cpp"]),
compiler_flags = [
"-fno-omit-frame-pointer",
"-fexceptions",
"-fPIC",
"-Wall",
"-Werror",
"-O3",
"-std=c++11",
],
header_namespace = "",
soname = "libyoga.$(ext)",
visibility = ["PUBLIC"],
deps = [
FBJNI_TARGET,
JNI_TARGET,
yoga_dep(":yoga"),
],
)
java_library(
name = 'java',
srcs = glob(['com/facebook/yoga/*.java']),
tests=[
yoga_dep('java:tests'),
],
source = '1.7',
target = '1.7',
deps = [
':jni',
INFER_ANNOTATIONS_TARGET,
JSR_305_TARGET,
PROGRUARD_ANNOTATIONS_TARGET,
SOLOADER_TARGET,
],
visibility = ['PUBLIC'],
name = "java",
srcs = glob(["com/facebook/yoga/*.java"]),
source = "1.7",
target = "1.7",
tests = [
yoga_dep("java:tests"),
],
visibility = ["PUBLIC"],
deps = [
":jni",
INFER_ANNOTATIONS_TARGET,
JSR_305_TARGET,
PROGRUARD_ANNOTATIONS_TARGET,
SOLOADER_TARGET,
],
)
java_test(
name = 'tests',
srcs = glob(['tests/**/*.java']),
use_cxx_libraries = True,
cxx_library_whitelist = CXX_LIBRARY_WHITELIST,
deps = [
':java',
JUNIT_TARGET,
],
visibility = ['PUBLIC'],
name = "tests",
srcs = glob(["tests/**/*.java"]),
cxx_library_whitelist = CXX_LIBRARY_WHITELIST,
use_cxx_libraries = True,
visibility = ["PUBLIC"],
deps = [
":java",
JUNIT_TARGET,
],
)

View File

@@ -5,13 +5,13 @@
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
include_defs('//YOGA_DEFS')
include_defs("//YOGA_DEFS")
java_library(
name = 'annotations',
srcs = glob(['*.java']),
source = '1.7',
target = '1.7',
deps = [],
visibility = [YOGA_ROOT],
name = "annotations",
srcs = glob(["*.java"]),
source = "1.7",
target = "1.7",
visibility = [YOGA_ROOT],
deps = [],
)