You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.2 KiB

; 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.
(library
(name ATDGenerated)
(public_name infer.ATDGenerated)
(flags
(:standard -w -27-32-34-35-39))
(libraries atdgen core)
(preprocess
(pps ppx_compare)))
; Rules below are boilerplatey, but this is benign and very easy to
; understand boilerplate.
; ATD for jsonbug
(rule
(targets jsonbug_j.ml
jsonbug_j.mli)
(deps jsonbug.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets jsonbug_t.ml
jsonbug_t.mli)
(deps jsonbug.atd)
(action (run atdgen -t %{deps})))
; ATD for runstate
(rule
(targets runstate_j.ml
runstate_j.mli)
(deps runstate.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets runstate_t.ml
runstate_t.mli)
(deps runstate.atd)
(action (run atdgen -t %{deps})))
; ATD for java_method_decl
(rule
(targets java_method_decl_j.ml
java_method_decl_j.mli)
(deps java_method_decl.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets java_method_decl_t.ml
java_method_decl_t.mli)
(deps java_method_decl.atd)
(action (run atdgen -t %{deps})))
; ATD for perf_profiler
(rule
(targets perf_profiler_j.ml
perf_profiler_j.mli)
(deps perf_profiler.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets perf_profiler_t.ml
perf_profiler_t.mli)
(deps perf_profiler.atd)
(action (run atdgen -t %{deps})))
; ATD for java_profiler_samples
(rule
(targets java_profiler_samples_j.ml
java_profiler_samples_j.mli)
(deps java_profiler_samples.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets java_profiler_samples_t.ml
java_profiler_samples_t.mli)
(deps java_profiler_samples.atd)
(action (run atdgen -t %{deps})))
; ATD for clang_profiler_samples
(rule
(targets clang_profiler_samples_j.ml
clang_profiler_samples_j.mli)
(deps clang_profiler_samples.atd)
(action (run atdgen -j -j-std %{deps})))
(rule
(targets clang_profiler_samples_t.ml
clang_profiler_samples_t.mli)
(deps clang_profiler_samples.atd)
(action (run atdgen -t %{deps})))