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
This commit is contained in:
committed by
Facebook Github Bot
parent
a253c6fbb7
commit
f5912a97e4
11
java/BUCK
11
java/BUCK
@@ -20,7 +20,9 @@ cxx_library(
|
||||
'-O3',
|
||||
'-std=c++11',
|
||||
],
|
||||
deps = JNI_DEPS + [
|
||||
deps = [
|
||||
FBJNI_TARGET,
|
||||
JNI_TARGET,
|
||||
csslayout_dep(':CSSLayout'),
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
@@ -30,7 +32,7 @@ java_library(
|
||||
name = 'java',
|
||||
srcs = glob(['com/facebook/csslayout/*.java']),
|
||||
tests=[
|
||||
csslayout_dep('/java:tests'),
|
||||
csslayout_dep('java:tests'),
|
||||
],
|
||||
source = '1.7',
|
||||
target = '1.7',
|
||||
@@ -47,10 +49,11 @@ java_library(
|
||||
java_test(
|
||||
name = 'tests',
|
||||
srcs = glob(['tests/**/*.java']),
|
||||
use_cxx_libraries = True,
|
||||
cxx_library_whitelist = CXX_LIBRARY_WHITELIST,
|
||||
deps = [
|
||||
':java',
|
||||
JUNIT_TARGET,
|
||||
],
|
||||
use_cxx_libraries = True,
|
||||
cxx_library_whitelist = CXX_LIBRARY_WHITELIST,
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
Reference in New Issue
Block a user