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