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:
committed by
Facebook Github Bot
parent
d6d4dcb141
commit
47d8d9d22b
@@ -5,10 +5,10 @@
|
||||
# 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")
|
||||
|
||||
prebuilt_jar(
|
||||
name = 'android-support',
|
||||
binary_jar = 'android-support-v4.jar',
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "android-support",
|
||||
binary_jar = "android-support-v4.jar",
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
@@ -5,10 +5,10 @@
|
||||
# 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")
|
||||
|
||||
android_prebuilt_aar(
|
||||
name = 'appcompat',
|
||||
aar = 'appcompat-v7-19.1.0.aar',
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "appcompat",
|
||||
aar = "appcompat-v7-19.1.0.aar",
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
61
lib/fb/BUCK
61
lib/fb/BUCK
@@ -5,38 +5,41 @@
|
||||
# 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")
|
||||
|
||||
prebuilt_cxx_library(
|
||||
name = 'ndklog',
|
||||
header_only = True,
|
||||
exported_platform_linker_flags = [
|
||||
('^android.*', ['-llog']),
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "ndklog",
|
||||
exported_platform_linker_flags = [
|
||||
(
|
||||
"^android.*",
|
||||
["-llog"],
|
||||
),
|
||||
],
|
||||
header_only = True,
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
||||
cxx_library(
|
||||
name = 'fbjni',
|
||||
srcs = glob(['**/*.cpp']),
|
||||
exported_headers = subdir_glob([('include', '**/*.h')]),
|
||||
header_namespace = '',
|
||||
compiler_flags = [
|
||||
'-DLOG_TAG=\"libfb\"',
|
||||
'-DDISABLE_CPUCAP',
|
||||
'-DDISABLE_XPLAT',
|
||||
'-DHAVE_POSIX_CLOCKS',
|
||||
'-fno-omit-frame-pointer',
|
||||
'-fexceptions',
|
||||
'-frtti',
|
||||
'-Wall',
|
||||
'-Werror',
|
||||
'-Wno-unused-parameter',
|
||||
'-std=c++11',
|
||||
],
|
||||
deps = [
|
||||
':ndklog',
|
||||
JNI_TARGET,
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
name = "fbjni",
|
||||
srcs = glob(["**/*.cpp"]),
|
||||
compiler_flags = [
|
||||
"-DLOG_TAG=\"libfb\"",
|
||||
"-DDISABLE_CPUCAP",
|
||||
"-DDISABLE_XPLAT",
|
||||
"-DHAVE_POSIX_CLOCKS",
|
||||
"-fno-omit-frame-pointer",
|
||||
"-fexceptions",
|
||||
"-frtti",
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wno-unused-parameter",
|
||||
"-std=c++11",
|
||||
],
|
||||
exported_headers = subdir_glob([("include", "**/*.h")]),
|
||||
header_namespace = "",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
":ndklog",
|
||||
JNI_TARGET,
|
||||
],
|
||||
)
|
||||
|
@@ -5,23 +5,23 @@
|
||||
# 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")
|
||||
|
||||
COMPILER_FLAGS = [
|
||||
'-std=c++11',
|
||||
'-Wno-missing-prototypes',
|
||||
"-std=c++11",
|
||||
"-Wno-missing-prototypes",
|
||||
]
|
||||
|
||||
cxx_library(
|
||||
name = 'gtest',
|
||||
srcs = glob(['googletest/googletest/src/*.cc']),
|
||||
exported_headers = subdir_glob([
|
||||
('googletest/googletest/include', '**/*.h'),
|
||||
('googletest/googletest', 'src/*.h'),
|
||||
('googletest/googletest', 'src/*.cc'),
|
||||
]),
|
||||
header_namespace = '',
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
deps = [],
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "gtest",
|
||||
srcs = glob(["googletest/googletest/src/*.cc"]),
|
||||
compiler_flags = COMPILER_FLAGS,
|
||||
exported_headers = subdir_glob([
|
||||
("googletest/googletest/include", "**/*.h"),
|
||||
("googletest/googletest", "src/*.h"),
|
||||
("googletest/googletest", "src/*.cc"),
|
||||
]),
|
||||
header_namespace = "",
|
||||
visibility = [YOGA_ROOT],
|
||||
deps = [],
|
||||
)
|
||||
|
@@ -5,17 +5,17 @@
|
||||
# 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")
|
||||
|
||||
prebuilt_jar(
|
||||
name = 'infer-annotations-jar',
|
||||
binary_jar = 'infer-annotations-1.4.jar',
|
||||
name = "infer-annotations-jar",
|
||||
binary_jar = "infer-annotations-1.4.jar",
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'infer-annotations',
|
||||
exported_deps = [
|
||||
':infer-annotations-jar',
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "infer-annotations",
|
||||
exported_deps = [
|
||||
":infer-annotations-jar",
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
16
lib/jni/BUCK
16
lib/jni/BUCK
@@ -6,12 +6,12 @@
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
cxx_library(
|
||||
name = 'jni',
|
||||
force_static = True,
|
||||
header_namespace = '',
|
||||
exported_headers = [
|
||||
'jni.h',
|
||||
'real/jni.h',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
name = "jni",
|
||||
exported_headers = [
|
||||
"jni.h",
|
||||
"real/jni.h",
|
||||
],
|
||||
force_static = True,
|
||||
header_namespace = "",
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
@@ -5,17 +5,17 @@
|
||||
# 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")
|
||||
|
||||
prebuilt_jar(
|
||||
name = 'jsr305-jar',
|
||||
binary_jar = 'jsr305.jar',
|
||||
name = "jsr305-jar",
|
||||
binary_jar = "jsr305.jar",
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'jsr-305',
|
||||
exported_deps = [
|
||||
':jsr305-jar',
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "jsr-305",
|
||||
exported_deps = [
|
||||
":jsr305-jar",
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
@@ -5,17 +5,17 @@
|
||||
# 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")
|
||||
|
||||
prebuilt_jar(
|
||||
name = 'junit-jar',
|
||||
binary_jar = 'junit4.jar',
|
||||
name = "junit-jar",
|
||||
binary_jar = "junit4.jar",
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'junit',
|
||||
exported_deps = [
|
||||
':junit-jar',
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "junit",
|
||||
exported_deps = [
|
||||
":junit-jar",
|
||||
],
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
@@ -5,10 +5,10 @@
|
||||
# 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")
|
||||
|
||||
android_prebuilt_aar(
|
||||
name = 'soloader',
|
||||
aar = 'soloader-0.1.0.aar',
|
||||
visibility = [YOGA_ROOT],
|
||||
name = "soloader",
|
||||
aar = "soloader-0.1.0.aar",
|
||||
visibility = [YOGA_ROOT],
|
||||
)
|
||||
|
Reference in New Issue
Block a user