def ComputeOutputDir(params):
  # generator_dir: relative path from pwd to where make puts build files.
  # Makes migrating from make to ninja easier, ninja doesn't put anything here.
  generator_dir = os.path.relpath(params['options'].generator_output or '.')

  # output_dir: relative path from generator_dir to the build directory.
  output_dir = params.get('generator_flags', {}).get('output_dir', 'out')

  # Relative path from source root to our output files.  e.g. "out"
  return os.path.normpath(os.path.join(generator_dir, output_dir))
Enable service startup so that things work when the AMI starts
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/ninja.py/ComputeOutputDir--crossover with--dataset/ETHPy150Open Netflix/aminator/aminator/plugins/distro/linux.py/BaseLinuxDistroPlugin._activate_provisioning_service_block