Files
yoga/lib/fb/BUCK
Michael Bolin 47d8d9d22b 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
2017-02-24 21:44:02 -08:00

46 lines
1.1 KiB
Python

# Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# 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")
prebuilt_cxx_library(
name = "ndklog",
exported_platform_linker_flags = [
(
"^android.*",
["-llog"],
),
],
header_only = True,
visibility = [YOGA_ROOT],
)
cxx_library(
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,
],
)