Lines Matching full:semantics
53 ":semantics.bzl",
134 def py_executable_base_impl(ctx, *, semantics, is_test, inherited_environment = []):
138 semantics object.
142 semantics: BinarySemantics struct; see create_binary_semantics_struct()
155 precompile_result = semantics.maybe_precompile(ctx, direct_sources)
179 imports = collect_imports(ctx, semantics)
181 runtime_details = _get_runtime_details(ctx, semantics)
183 extra_deps = semantics.get_coverage_deps(ctx, runtime_details)
190 extra_deps.extend(semantics.get_debugger_deps(ctx, runtime_details))
192 cc_details = semantics.get_cc_details_for_binary(ctx, extra_deps = extra_deps)
195 semantics = semantics,
211 semantics.get_extra_common_runfiles_for_binary(ctx),
213 semantics = semantics,
215 exec_result = semantics.create_executable(
254 semantics = semantics,
280 def _get_runtime_details(ctx, semantics):
288 semantics: A `BinarySemantics` struct; see `create_binary_semantics_struct`
333 executable_interpreter_path = semantics.get_interpreter_path(
414 semantics):
436 semantics: A `BinarySemantics` struct; see `create_binary_semantics_struct`.
479 if semantics.should_create_init_files(ctx):
495 if is_stamping_enabled(ctx, semantics) and semantics.should_include_build_data(ctx):
498 semantics.get_central_uncachable_version_file(ctx),
499 semantics.get_extra_write_build_data_env(ctx),
591 def _get_native_deps_details(ctx, *, semantics, cc_details, is_test):
592 if not semantics.should_build_native_deps_dso(ctx):
600 dso = ctx.actions.declare_file(semantics.get_native_deps_dso_name(ctx))
632 stamp = 1 if is_stamping_enabled(ctx, semantics) else 0,
637 user_link_flags = semantics.get_native_deps_user_link_flags(ctx),
776 def is_stamping_enabled(ctx, semantics):
781 semantics: a semantics struct (see create_semantics_struct).
794 return semantics.get_stamp_flag(ctx)
820 semantics):
847 semantics: BinarySemantics struct; see create_binary_semantics()
930 extra_providers = semantics.get_extra_providers(