Summary: - Open-source stubs are in a library with no dependencies - That library is included in InferBase, but in facebook builds it contains no modules Reviewed By: ezgicicek Differential Revision: D20922574 fbshipit-source-id: af918a687master
parent
e1093159b0
commit
bf671af2b2
@ -0,0 +1,21 @@
|
|||||||
|
(* -*- tuareg -*- *)
|
||||||
|
(*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*)
|
||||||
|
(* NOTE: prepend dune.common to this file! *)
|
||||||
|
|
||||||
|
(* include the open-source modules only in open-source build modes, otherwise this library is empty *)
|
||||||
|
|
||||||
|
;;
|
||||||
|
Jbuild_plugin.V1.send
|
||||||
|
(Format.sprintf {|
|
||||||
|
(library
|
||||||
|
(name OpenSource)
|
||||||
|
(public_name infer.OpenSource)
|
||||||
|
%s
|
||||||
|
)
|
||||||
|
|}
|
||||||
|
(if facebook then "(modules)" else "(modules :standard)"))
|
Loading…
Reference in new issue