Files
yoga/lib/fb/BUCK
Emil Sjolander f5912a97e4 Fix issues with running test in open source
Summary: Travis builds have been broken for a while. This diff fixes some of the issues surrounding bad buck file configuration as well as missing jni.h file.

Reviewed By: astreet

Differential Revision: D4148724

fbshipit-source-id: 1e284db61280326a4bcbb9337e804a4804348aa6
2016-11-09 11:37:48 -08:00

43 lines
988 B
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('//CSSLAYOUT_DEFS')
prebuilt_cxx_library(
name = 'ndklog',
header_only = True,
exported_platform_linker_flags = [
('android.*', ['-llog']),
],
visibility = [CSSLAYOUT_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'],
)