constants.py 509 B

1234567891011121314151617
  1. # Copyright 2021 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. """Constants for unexpected pass finders."""
  5. import os
  6. CHROMIUM_SRC_DIR = os.path.realpath(
  7. os.path.join(os.path.dirname(__file__), '..', '..'))
  8. SRC_INTERNAL_DIR = os.path.realpath(
  9. os.path.join(CHROMIUM_SRC_DIR, '..', 'src-internal'))
  10. # pylint: disable=useless-object-inheritance
  11. class BuilderTypes(object):
  12. CI = 'ci'
  13. TRY = 'try'