• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This yaml file is used to package binaries from Xcode.app.
2# To use this:
3#   1) Make sure Xcode is fully updated (via the app store or otherwise).
4#   2) Move Xcode.app to the same directory as this file,
5#      and rename Xcode.app to xcode_binaries. Or make a symlink:
6#      $ rm -rf build/xcode_binaries && \
7#        ln -s /Applications/Xcode.app build/xcode_binaries
8#   3) Call `cipd create --pkg-def build/xcode_binaries.yaml \
9#            -ref <xcode version num> -ref <xcode build version>`
10#      a.) The version information can be found in "About Xcode",
11#          or by running `xcodebuild -version`
12# To deploy the newly created cipd package across the fleet, modify
13# ./mac_toolchain.py to point to the new cipd hash.
14#
15# Note that the Chromium build looks for the mac binaries in
16# build/mac_files/xcode_binaries; it won't see the build/xcode_binaries that
17# you just created. In order to use the new toolchain version, you still need to
18# `gclient runhooks` after updating the hash in mac_toolchain.py.
19#
20# The ACLs for this package are determined by the directory structure. The
21# nomenclature mirrors that of the hermetic toolchain to avoid ACL duplication.
22package: infra_internal/ios/xcode/xcode_binaries/mac-amd64
23description: A hermetic deployment of all Xcode binaries used to build Chromium.
24root: "xcode_binaries"
25data:
26  - dir: Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
27  - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/bison
28  - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal
29  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/air-lld
30  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison
31  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gm4
32  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf
33  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
34  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
35  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
36  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo
37  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-nm
38  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-objdump
39  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-otool
40  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-size
41  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal
42  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metallib
43  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/mig
44  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
45  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool
46  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic
47  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/size
48  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/size-classic
49  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
50  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib
51  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libcodedirectory.dylib
52  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libswiftDemangle.dylib
53  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libtapi.dylib
54  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec/migcom
55  - file: Contents/Developer/usr/bin/atos
56  - file: Contents/Developer/usr/bin/notarytool
57  - file: Contents/Resources/en.lproj/License.rtf
58  - file: Contents/Resources/LicenseInfo.plist
59  - dir: Contents/SharedFrameworks/CoreSymbolicationDT.framework
60  - dir: Contents/SharedFrameworks/DebugSymbolsDT.framework
61  - dir: Contents/SharedFrameworks/MallocStackLoggingDT.framework
62  - dir: Contents/SharedFrameworks/SymbolicationDT.framework
63  - file: Contents/version.plist
64# llvm-size and size are run on swarming, those are symlinked to out of
65# isolated tree and produce invalid symlinks if we don't use copy mode here.
66install_mode: copy
67