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
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,
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user