• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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
5PYTHON_VERSION_COMPATIBILITY = 'PY3'
6
7DEPS = [
8    'recipe_engine/cipd',
9    'recipe_engine/context',
10    'recipe_engine/json',
11    'recipe_engine/path',
12    'recipe_engine/platform',
13    'recipe_engine/step',
14]
15
16from recipe_engine.recipe_api import Property
17from recipe_engine.config import ConfigGroup, Single
18
19PROPERTIES = {
20    '$gn/macos_sdk':
21        Property(
22            help='Properties specifically for the macos_sdk module.',
23            param_name='sdk_properties',
24            kind=ConfigGroup(  # pylint: disable=line-too-long
25                # XCode build version number. Internally maps to an XCode build id like
26                # '9c40b'. See
27                #
28                #   https://chrome-infra-packages.appspot.com/p/infra_internal/ios/xcode/mac/+/
29                #
30                # For an up to date list of the latest SDK builds.
31                sdk_version=Single(str),
32
33                # The CIPD toolchain tool package and version.
34                tool_pkg=Single(str),
35                tool_ver=Single(str),
36            ),
37            default={
38                'sdk_version':
39                    '12B5025f',
40                'tool_package':
41                    'infra/tools/mac_toolchain/${platform}',
42                'tool_version':
43                    'git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280',
44            },
45        )
46}
47