From abb042772fdd150551da3ad427839fa8c02d0f8f Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 9 Jul 2023 21:03:59 -0400 Subject: [PATCH] docs: add workaround for building on mac. --- INTERNAL.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INTERNAL.md b/INTERNAL.md index 3da33e50..df4acada 100644 --- a/INTERNAL.md +++ b/INTERNAL.md @@ -275,6 +275,14 @@ There is probably a more automated way to do this, but for now: 3. `git fetch origin -v` 4. `git checkout origin/master` +#### Mac Patch + +Normally you'll be building this on a recent Mac OS that isn't supported. You'll want to follow these steps: + +1. `vim build/soong/cc/config/darwin_host.go` +2. Find `darwinSupportedSdkVersions` array. +3. Add number that corresponds to output of: `find /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs -iname "*.sdk"` + ### Building the aapt1 (Legacy) binary. The steps below are different per flavor and operating system.