1# Copyright (C) 2021 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15DEPS = [ 16 'recipe_engine/cipd', 17 'recipe_engine/context', 18 'recipe_engine/json', 19 'recipe_engine/path', 20 'recipe_engine/platform', 21 'recipe_engine/step', 22] 23 24from recipe_engine.recipe_api import Property 25from recipe_engine.config import ConfigGroup, Single 26 27PROPERTIES = { 28 '$perfetto/macos_sdk': 29 Property( 30 help='Properties specifically for the macos_sdk module.', 31 param_name='sdk_properties', 32 kind=ConfigGroup( # pylint: disable=line-too-long 33 # XCode build version number. Internally maps to an XCode build id like 34 # '9c40b'. See 35 # 36 # https://chrome-infra-packages.appspot.com/p/infra_internal/ios/xcode/mac/+/ 37 # 38 # For an up to date list of the latest SDK builds. 39 sdk_version=Single(str), 40 41 # The CIPD toolchain tool package and version. 42 tool_pkg=Single(str), 43 tool_ver=Single(str), 44 ), 45 default={ 46 'sdk_version': 47 '13C5066c', 48 'tool_package': 49 'infra/tools/mac_toolchain/${platform}', 50 'tool_version': 51 'git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280', 52 }, 53 ) 54} 55