; The browser profile builds the playground compiler; these rules generate modules from platform/{native,playground}. (rule (target cmt_format_persistence.ml) (enabled_if (= %{profile} browser)) (action (copy# platform/playground/cmt_format_persistence.ml cmt_format_persistence.ml))) (rule (target cmt_format_persistence.ml) (enabled_if (<> %{profile} browser)) (action (copy# platform/native/cmt_format_persistence.ml cmt_format_persistence.ml))) (rule (target ext_platform_primitives.ml) (enabled_if (= %{profile} browser)) (action (copy# platform/playground/ext_platform_primitives.ml ext_platform_primitives.ml))) (rule (target ext_platform_primitives.ml) (enabled_if (<> %{profile} browser)) (action (copy# platform/native/ext_platform_primitives.ml ext_platform_primitives.ml))) (library (name typing) (flags (:standard -open Rescript_ast -open Rescript_printer)) (wrapped false) (private_modules cmt_format_common cmt_format_persistence) (instrumentation (backend bisect_ppx)) (foreign_stubs (language c) (names ext_platform_primitives_stubs)) (libraries rescript_ast rescript_printer flow_parser unix))