code: def main():
      # Make a copy of os.environ to be clear when functions and getting and setting
      # environment variables.
      environ_cp = dict(os.environ)
  
      reset_lce_configure_bazelrc()
  
      setup_python(environ_cp)
  
      set_cc_opt_flags(environ_cp)
  
      if is_windows():
          set_windows_build_flags(environ_cp)
  
      if get_var(
          environ_cp,
          "LCE_SET_ANDROID_WORKSPACE",
          "android workspace",
          False,
          (
              "Would you like to interactively configure ./WORKSPACE for "
              "Android builds?"
          ),
          "Searching for NDK and SDK installations.",
          "Not configuring the WORKSPACE for Android builds.",
      ):
          create_android_ndk_rule(environ_cp)
          create_android_sdk_rule(environ_cp)
  
imports: import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 23 for calling a global function with example usage: main() without return types