Commit Graph

62 Commits

Author SHA1 Message Date
Akash Yadav
b035cfd10c fix: format and lint with shfmt + shellcheck
Signed-off-by: Akash Yadav <contact@itsaky.com>
2026-07-31 00:39:10 +00:00
Akash Yadav
f940a5a54e fix: format and lint with shfmt + shellcheck
Signed-off-by: Akash Yadav <contact@itsaky.com>
2026-07-31 00:39:10 +00:00
celenity
2547eff780 fix: use consistent IRONFOX_ naming for versions/commits and checksums
This ensures the naming is consistent/matches and ensures we avoid conflicts

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-28 00:15:19 +00:00
celenity
fc53726004 feat: bump Phoenix to 2026.07.24.1
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-24 05:59:07 +00:00
celenity
177d9135a3 fix-up
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-24 04:10:07 +00:00
celenity
94db696d99 fix: move certain core functions to utilities.sh
Reduces a lot of duplicate logic and adds more validation/verification checks

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-24 03:21:42 +00:00
celenity
025d607da5 fix: decrease default verbosity (+ add IRONFOX_VERBOSE env var to control it)
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-23 23:16:25 +00:00
celenity
a77d9af81b WIP: 153.0
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-21 03:39:36 +00:00
celenity
31cfc61fa2 feat: Set env vars for additional utilities + do not use the system PATH (in favor of our own custom PATH)
This should improve security (by ensuring we always specify the full paths to executables, and preventing use of unintended/undesired system executables), control (by allowing users to specify where these executables should be located), and consistency/reproducability

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-17 02:46:08 +00:00
celenity
d5af0e1fde feat: Add support for IronFox constants
These are constant values (defined at `ironfox.configure`) which can be used anywhere... specifically:

- In Gecko (via the `IFConstants.sys.mjs` module)
- In `ironfox.cfg` (via the equivalent prefs set at `ironfox.js` and `phoenix-overrides.cfg`)
- In any Kotlin/Java project (via the `org.ironfoxoss.core.IFConstants` components)

So this allows us to define these values in one place, and be able to use them anywhere. It also ensures the values always match across all projects.

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-05 04:11:07 +00:00
celenity
415496c49d fix: set indentation to 2 spaces for all files
This makes indentation consistent across all our files, and also improves readability in general

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-29 05:24:33 +00:00
celenity
255b948953 fix: ensure IRONFOX_GECKOVIEW_BUNDLE_DIRECT is properly recognized + only set MOZ_ANDROID_FAT_AAR_ARCHITECTURES if it isn't already set
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-24 19:01:29 +00:00
celenity
4b39d8c899 fix: ensure we don't try to unset MOZ_ANDROID_FAT_AAR_ARCHITECTURES from _build_gecko if we're doing a bundle build (since it's already set, and put as readonly there) + ensure we respect IRONFOX_GECKOVIEW_BUNDLE_DIRECT to prevent CI from rebuilding Gecko + GeckoView in each architecture
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-24 07:00:16 +00:00
celenity
440abf5f81 152.0.2
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-24 06:36:52 +00:00
celenity
4d011f3df3 fix: If we're in CI, only check for l10n-central if we're producing a bundle
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-18 00:25:37 +00:00
celenity
4bde1d952c feat: Improve granularity of the build scripts
Notably, this means that:

- It's now possible to build components individually
    - This should especially be useful for ex. CI, so we can avoid timeouts and improve build speed by building certain components simultaneously

- It's now possible to rebuild only a specific project and its consumers (instead of always having to build everything...)
    - ex. If I make a change to Gecko, I can just use `rebuild-gecko`, which only builds Gecko and its consumers (GeckoView, AC, and Fenix), instead of trying to build everything unconditionally

The default build behavior (ex. if no argument is specified) still remains the same

This also adds checks to ensure that the build script fails fast if important variables are not properly set/configured

Also includes some minor tweaks, such as a renaming of a couple of the CI jobs for clarity, and the addition of an `IRONFOX_TEMP` variable to indicate the temporary build directory

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-17 22:09:00 +00:00
celenity
5742e99d38 WIP: 152.0
(Also includes some clean-up and tweaks/refinements to the build system)

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-16 04:24:09 +00:00
celenity
23aa0326db fix: use double (instead of single) brackets for scripts/mozconfigs
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-04 05:35:42 +00:00
celenity
9e49bb560f feat: bump Phoenix to 2026.05.21.1
Signed-off-by: celenity <celenity@celenity.dev>
2026-05-21 06:38:57 +00:00
celenity
2edb5659bd WIP: 150.0
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-17 05:22:52 +00:00
celenity
735a39c301 fix: timeout
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-13 14:11:41 +00:00
celenity
b6142c9a69 feat: Clean-up and improve granularity of prebuild.sh
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-13 04:41:43 +00:00
celenity
31e5a1522e fix: add back separate IRONFOX_GECKOVIEW_BUNDLE_DIRECT env var
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-13 04:28:42 +00:00
celenity
d1f1981059 fix: clean-up since it now works as expected :)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 23:26:40 +00:00
celenity
d66c9967f4 fix: ensure we always fail properly
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 22:43:13 +00:00
celenity
404481ba4f fix: test to ensure artifacts are always uploaded
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 21:45:09 +00:00
celenity
4ea4b50d0f fix: test to ensure artifacts are always uploaded
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 21:38:18 +00:00
celenity
43f4ee2206 feat: allow configuration of variables for Fenix and GeckoView outputs, + clean-up and improve handling of the export/output process
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 10:40:08 +00:00
celenity
f8c761a551 fix: revert changes to use IRONFOX_GECKOVIEW_BUNDLE_DIRECT at build-if.sh for now (e3d327f014) - appears to be causing CI to timeout
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-09 07:47:18 +00:00
celenity
8747e36ff8 feat: use separate IRONFOX_GECKOVIEW_BUNDLE_DIRECT env var for building GeckoView AAR archives directly (like we do in CI), + ensure we fail fast if the necessary GeckoView AAR archives are missing
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:47:17 +00:00
celenity
cf38d7347e feat: specify different env vars for the location of GeckoView AAR archives to use when building the GeckoView bundle (instead of just hardcoding the outputs directory)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:30:11 +00:00
celenity
e8e66fb809 feat: add/use env variables to manually override the build date and versions for local dependency substitutions
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:05:38 +00:00
celenity
d21b8720eb fix: specify target architecture for sign.sh, instead of getting it from IRONFOX_TARGET_ARCH via build.sh
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 05:51:24 +00:00
celenity
fb7ad0e64c WIP: v149.0.2
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 00:12:21 +00:00
celenity
2f3bebc23d fix: add global IRONFOX_NAME env variable, set depending on release channel
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 20:22:23 +00:00
celenity
923042e2de fix: revert "fix: temporarily revert certain env + CI script changes for now"
This reverts commit 3dd7cf2d5f, as these changes were not related to the issue

Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 20:12:43 +00:00
celenity
27cc063715 fix - ci: extract our GeckoView AAR artifacts
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-04 21:08:13 +00:00
celenity
8f9b3d8040 fix: scripts (for now)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-02 21:31:13 +00:00
celenity
d0067a5a3c fix: Glean Java home
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-01 19:10:35 +00:00
celenity
c37abd5d82 fix: AS publish java home
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-01 07:22:25 +00:00
celenity
18e26ec790 fix: AS java home
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-01 04:44:04 +00:00
celenity
7091254bb0 fix: add JDK 17 to AS java installation paths
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-01 02:13:58 +00:00
celenity
68acead79e feat: set env variables as readonly where possible, and improve/fix-up env var handling in general
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-31 23:30:53 +00:00
celenity
57ceb4a389 feat: Switch to using JDK 25 by default, and use JDK 21 where possible for projects that JDK 25 don't support
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-30 15:53:38 -04:00
celenity
3618dc3788 feat: Set-up Python with UV directly
(also sets envs to configure Python and UV)

Signed-off-by: celenity <celenity@celenity.dev>
2026-03-29 20:14:28 -04:00
celenity
f7aba43071 feat: re-organize configuration files into separate configs directory
This should also help slightly speed up the build process, as it prevents us unnecessarily copying ex. the mozconfig files

Also includes a few minor tweaks to envs, like Gradle flags and new Phoenix envs (for next release)

Signed-off-by: celenity <celenity@celenity.dev>
2026-03-29 20:10:49 -04:00
celenity
c5a9a32f4f fix: prevent running releaseOssLicensesCleanUp before building Fenix's bundle, to ensure that the generated dependencies.json isn't automatically deleted
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-29 02:43:05 +00:00
celenity
60652479fd feat: Substitute Android Components, and use our own approach to substitute Glean
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-27 07:33:29 +00:00
celenity
a5f8d5bf45 fix: Node.js woes
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-25 04:45:21 +00:00
celenity
e6eb47c322 WIP: v149.0
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-23 05:29:31 +00:00