From c731933e93c19b5e70275e4f4ae2e7da90fa3a32 Mon Sep 17 00:00:00 2001
From: gregce Creates a configuration transition to be applied across"
- + " a dependency edge.",
+ "A transition that reads a set of input build settings and writes a set of output build "
+ + "settings."
+ + " Example:\n"
+ + "def _transition_impl(settings, attr):\n"
+ + " # This transition just reads the current CPU value as a demonstration.\n"
+ + " # A real transition could incorporate this into its followup logic.\n"
+ + " current_cpu = settings[\"//command_line_option:cpu\"]\n"
+ + " return {\"//command_line_option:compilation_mode\": \"dbg\"}\n"
+ + "\n"
+ + "build_in_debug_mode = transition(\n"
+ + " implementation = _transition_impl,\n"
+ + " inputs = [\"//command_line_option:cpu\"],\n"
+ + " outputs = [\"//command_line_option:compilation_mode\"],\n"
+ + ")"
+ + "
For more details see " + + "here.
", parameters = { @Param( name = "implementation",