Closed Bug 1432649 Opened 7 years ago Closed 7 years ago

mach bootstrap (artifact mode) ignores mozconfig android sdk path override

Categories

(Firefox Build System :: Android Studio and Gradle Integration, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1221253

People

(Reporter: mcomella, Unassigned)

Details

i.e. I have: ac_add_options --with-android-sdk="..." In my mozconfig, but `mach bootstrap` will only install android SDK dependencies to .mozbuild/. Since bootstrap is the only way to automatically install dependencies, I have to install them by hand if I want to use a custom path (e.g. the Android Studio default at ~/Library/Android/sdk), which is tedious.
(In reply to Michael Comella (:mcomella) [inactive – if needed, contact me via IRC/email] from comment #0) > i.e. I have: > > ac_add_options --with-android-sdk="..." > > In my mozconfig, but `mach bootstrap` will only install android SDK > dependencies to .mozbuild/. Since bootstrap is the only way to automatically > install dependencies, I have to install them by hand if I want to use a > custom path (e.g. the Android Studio default at ~/Library/Android/sdk), > which is tedious. |mach bootstrap| doesn't know anything about your mozconfig, and even can run without any parts of a build or checkout on your device. I'd like bootstrap to "just work" with Android Studio SDK versions -- better experience overall -- but it's not trivial: see https://bugzilla.mozilla.org/show_bug.cgi?id=1221253. You can install the android-packages.txt from the tree using whatever SDK's version of sdkmanager you want; that should generally "just work".
I'm fine covering the defaults with bug 1221253 - thanks Nick.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.