xref: /aosp_15_r20/external/cronet/build/xcode_binaries.yaml (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# This yaml file is used to package binaries from Xcode.app.
2# To use this:
3#   1) Move Xcode.app to the same directory as this file,
4#      and rename Xcode.app to xcode_binaries. Or make a symlink:
5#      $ rm -rf build/xcode_binaries && \
6#        ln -s /Applications/Xcode.app build/xcode_binaries
7#   2) Call `cipd create --pkg-def build/xcode_binaries.yaml`
8# To deploy the newly created cipd package across the fleet, modify
9# ./mac_toolchain.py to point to the new cipd hash.
10#
11# Note that runhooks extracts the cipd file to build/mac_files/xcode_binaries
12# -- your build/xcode_binaries you're creating in step 1 above isn't used as
13# part of the Chromium build, build/mac_files/xcode_binaries is. So you need to
14# `runhooks` after updating the hash in mac_toolchain.py like everyone else to
15# get the new bits for your local build.
16#
17# The ACLs for this package are determined by the directory structure. The
18# nomenclature mirrors that of the hermetic toolchain to avoid ACL duplication.
19package: infra_internal/ios/xcode/xcode_binaries/mac-amd64
20description: A hermetic deployment of all Xcode binaries used to build Chromium.
21root: "xcode_binaries"
22data:
23  - dir: Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
24  - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/bison
25  - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos
26  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/air-lld
27  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison
28  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gm4
29  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf
30  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
31  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
32  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
33  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo
34  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-nm
35  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-objdump
36  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-otool
37  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-size
38  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal
39  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metallib
40  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/mig
41  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
42  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool
43  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic
44  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/size
45  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/size-classic
46  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
47  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib
48  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libcodedirectory.dylib
49  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libswiftDemangle.dylib
50  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libtapi.dylib
51  - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec/migcom
52  - file: Contents/Developer/usr/bin/atos
53  - file: Contents/Developer/usr/bin/notarytool
54  - file: Contents/Resources/en.lproj/License.rtf
55  - file: Contents/Resources/LicenseInfo.plist
56  - dir: Contents/SharedFrameworks/CoreSymbolicationDT.framework
57  - dir: Contents/SharedFrameworks/DebugSymbolsDT.framework
58  - dir: Contents/SharedFrameworks/MallocStackLoggingDT.framework
59  - dir: Contents/SharedFrameworks/SymbolicationDT.framework
60  - file: Contents/version.plist
61# llvm-size and size are run on swarming, those are symlinked to out of
62# isolated tree and produce invalid symlinks if we don't use copy mode here.
63install_mode: copy
64