def IsBuildingModule(env, module_name):
  """Returns true if the module will be built with current build process.

  Args:
    env: The environment.
    module_name: module name.

  Returns:
    Whether the given module will be built.
  """
  return module_name in env['BUILD_SCONSCRIPTS']