Summary: The Infer builtins can be used in the e2e tests, but those tests should not depend on the Infer models to avoid cyclic dependencies. This diff separates the models and the Infer builtins in two directories so that the test can depend on the builtins without depending on the models Reviewed By: sblackshear Differential Revision: D3929478 fbshipit-source-id: 7d0ab79master
parent
051fbd779c
commit
168c613ac9
@ -1,11 +1,21 @@
|
|||||||
java_library(
|
java_library(
|
||||||
name = 'models',
|
name = 'builtins',
|
||||||
srcs = glob(['src/**/*.java']),
|
srcs = glob(['builtins/**/*.java']),
|
||||||
visibility = [
|
visibility = [
|
||||||
'PUBLIC',
|
'PUBLIC',
|
||||||
],
|
],
|
||||||
deps = [
|
)
|
||||||
'//dependencies/java/jackson:jackson',
|
|
||||||
'//infer/lib/java/android:android',
|
java_library(
|
||||||
]
|
name = 'models',
|
||||||
|
srcs = glob(['src/**/*.java']),
|
||||||
|
visibility = [
|
||||||
|
'PUBLIC',
|
||||||
|
],
|
||||||
|
deps = [
|
||||||
|
':builtins',
|
||||||
|
'//dependencies/java/jackson:jackson',
|
||||||
|
'//infer/annotations:annotations',
|
||||||
|
'//infer/lib/java/android:android',
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue