Commit Graph

90 Commits

Author SHA1 Message Date
Nick Alexander
44608f65ab Bug 1570411 - Add --without-fennec to make mach package not produce Fennec APK. r=chmanchester
When working on GeckoView, there's no need to produce a Fennec APK.
This commit avoids doing that work at `mach package` time.  There are
many other things we'd like to stop doing as we remove Fennec from the
tree, so we add a general flag to guard such things.

Depends on D41447

Differential Revision: https://phabricator.services.mozilla.com/D41448

--HG--
extra : moz-landing-system : lando
2019-08-14 20:40:00 +00:00
rdalal
43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Nick Alexander
5893476bdb Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

Differential Revision: https://phabricator.services.mozilla.com/D31572

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:09 +00:00
Mike Hommey
fa3631a2e3 Bug 1549886 - Move MOZ_TELEMETRY_REPORTING to python configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30335

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:54 +00:00
Ryan VanderMeulen
5e8e050d6a Bug 1547710 - Add FENNEC_NIGHTLY define to Fennec nightly builds. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D29203

--HG--
extra : moz-landing-system : lando
2019-05-01 18:37:29 +00:00
Brindusan Cristian
1f6d297e33 Backed out 5 changesets (bug 1508976, bug 1522581) for android geckoview bustages at /usr/bin/python2.7. CLOSED TREE
Backed out changeset 7a6be593b0be (bug 1522581)
Backed out changeset c47b37ac1775 (bug 1522581)
Backed out changeset 91c31d2a7706 (bug 1508976)
Backed out changeset da57df805c56 (bug 1508976)
Backed out changeset 4e5d97c93515 (bug 1508976)
2019-03-05 22:42:15 +02:00
Nick Alexander
5854b41436 Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=snorp,agi,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15771

--HG--
extra : moz-landing-system : lando
2019-03-05 17:52:54 +00:00
Makoto Kato
b93b9a8c45 Bug 1515004 - Move --with-android-sdk to moz.configure. r=nalexander
Since ./mach bootstrap installs Android SDK into ~/.mozbuild, we should detect
this location as default SDK install path.

Also, --with-android-max-sdk and --with-android-min-sdk are still in android.m4
because confvars.sh sets MOZ_ANDROID_MIN_SDK_VERSION.

Differential Revision: https://phabricator.services.mozilla.com/D15463

--HG--
extra : moz-landing-system : lando
2019-02-01 21:12:51 +00:00
Mike Hommey
ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

Differential Revision: https://phabricator.services.mozilla.com/D14126

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Tooru Fujisawa
a5e176836f Bug 1492716 - Part 1: Stop using default=True for --enable-* or --with-* configure options. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8833
2018-10-16 20:28:12 +09:00
James Willcox
6e2788b633 Bug 1447734 - Specify Google Play Services library version in Gradle r=nalexander
MozReview-Commit-ID: KXcYJTlG2UC
2018-03-22 14:35:38 -05:00
James Willcox
dd28aadd33 Bug 1447729 - Specify Android Support library version in Gradle r=nalexander
MozReview-Commit-ID: 6r8tI1v2SeC
2018-03-22 14:35:37 -05:00
Nick Alexander
c1ee58eb7f Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : 17a25d2a15868f3661248a06b9048741e5a1dca5
extra : intermediate-source : d4d42899e5cd4255df3bfb4332532936e42ebf43
extra : source : be888fa125dc1948fc073ed69aa8116f47e22877
2018-01-04 15:37:15 -08:00
Nick Alexander
0f67bd1add Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : c02766104281a895ab57e58079a1f651e1b9f832
extra : intermediate-source : 78828bf781d737b03c249de3dd41dc9edec788fc
extra : source : 44bcb609e721598135a19bf41ba7ff94f3051553
2017-11-22 09:48:02 -08:00
Brindusan Cristian
9e0ffdd8cb Backed out 7 changesets (bug 1419581) as requested by nalexander a=backout
Backed out changeset 7f41dd3bbc2d (bug 1419581)
Backed out changeset d4d42899e5cd (bug 1419581)
Backed out changeset 78828bf781d7 (bug 1419581)
Backed out changeset 5224db0c36aa (bug 1419581)
Backed out changeset 072108d16590 (bug 1419581)
Backed out changeset f8b3e95f18e4 (bug 1419581)
Backed out changeset 5f7645a19bf1 (bug 1419581)
2018-01-24 22:28:19 +02:00
Nick Alexander
847818a3e1 Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : f599de01c63b873a95252d6b01128a6f069ff105
extra : intermediate-source : 060290b66b370137cfd3dbbac7c442ef107aaa68
extra : source : be888fa125dc1948fc073ed69aa8116f47e22877
2018-01-04 15:37:15 -08:00
Nick Alexander
b43c5179f1 Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : 77470c2043598175c427a137b54f56263f6dc499
extra : intermediate-source : df53850e90878d703a2bd867dfbc13295aec998d
extra : source : 44bcb609e721598135a19bf41ba7ff94f3051553
2017-11-22 09:48:02 -08:00
Ryan VanderMeulen
8ac2db0699 Backed out 7 changesets (bug 1419581) for incorrect android:debuggable. r=nalexander
Backed out changeset bd1e3857b5ba (bug 1419581)
Backed out changeset be888fa125dc (bug 1419581)
Backed out changeset 44bcb609e721 (bug 1419581)
Backed out changeset a7d75667c58b (bug 1419581)
Backed out changeset 2ea82ff4a757 (bug 1419581)
Backed out changeset 8f1655752d43 (bug 1419581)
Backed out changeset 65195aae48d8 (bug 1419581)
2018-01-17 15:54:22 -05:00
Nick Alexander
8aeea642d5 Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : 04a8e4b89153a2a11e8a793e893a2e626cbc877a
2018-01-04 15:37:15 -08:00
Nick Alexander
589fd13270 Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : 009c13d53663553ded4d3645c926f12ecee9da0b
2017-11-22 09:48:02 -08:00
Margareta Eliza Balazs
b61bd7a503 Backed out 7 changesets (bug 1419581) for B bustage on /builds/worker/workspace/build/src/widget/android/nsWindow.h:0 on a CLOSED TREE
Backed out changeset 1af5a54e829d (bug 1419581)
Backed out changeset c9aef37de282 (bug 1419581)
Backed out changeset 8d0855cb17b7 (bug 1419581)
Backed out changeset d0eba5853ab6 (bug 1419581)
Backed out changeset bc4cda1cc57c (bug 1419581)
Backed out changeset 93547276fba8 (bug 1419581)
Backed out changeset 45b5309a73cb (bug 1419581)
2018-01-17 00:03:19 +02:00
Nick Alexander
aaf5da4a9e Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : 1a6f7414c0b8108862701dca896befd815d2ac16
2018-01-04 15:37:15 -08:00
Nick Alexander
0ea29cca03 Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : 63e4eaab1cf81b765503750c9b356fcc4a2470dd
2017-11-22 09:48:02 -08:00
Nathan Froyd
cd85ab8af7 Bug 1422734 - move --enable-small-chunk-size to moz.configure; r=chmanchester 2017-12-03 13:44:55 -05:00
Kilik Kuo
f6da4e9275 Bug 1365505 - [P1][Fennec] Enable HLS support by default for all brandings. r=jolin
MozReview-Commit-ID: AVGfgKR0zRX

--HG--
extra : rebase_source : b1d54aea01ccdf5a4b58e98744efc1b36fb0e941
2017-11-30 17:46:06 +08:00
Mark Banner
39be58d801 Bug 1272086 - Remove now-unused MOZ_SOCIAL configure options. r=chmanchester
MozReview-Commit-ID: KjkKRo4NyDm

--HG--
extra : rebase_source : 0d4aadc9f350af1fb642a4fde6088cbcc2a4c344
2017-10-31 09:30:52 +00:00
Nick Alexander
a562b72999 Bug 1221344 - Remove Fennec Search Activity. r=gueroJeff,sebastian,snorp
MozReview-Commit-ID: L7rihfeqvzH

--HG--
extra : rebase_source : 3170b86ef2c95e642c451c3e9bbe9db83bc9edcf
2017-10-19 14:14:36 -07:00
maliu
a2f6cf439f Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander
MozReview-Commit-ID: C1QJcr65yWu

--HG--
extra : rebase_source : 867d143416321adc4820d488991fb4575c767cf0
2017-10-25 22:51:44 +08:00
Julian_Chu
61b790f58d Bug 1329152 - Enable custom tabs by default r=sebastian
Remove related options, just use CustomTabs directly.

MozReview-Commit-ID: DdcMHnsfAU1

--HG--
extra : rebase_source : bc46d5d71d53acadc2cb0415790e9560eeda2c8a
2017-04-10 17:32:16 +08:00
maliu
bbb6f1eeba Bug 1389990 - back out d5210a2cb19a (Bug 1365505 - Part1-Make the feature flag be exposed not only on nightly. ) r=kikuo"
MozReview-Commit-ID: BZfwYV4QUeS

--HG--
extra : rebase_source : 858be32a0e61dc3762a0177d14d63162b7771305
2017-08-16 19:32:38 +08:00
Chenxia Liu
4535430990 Bug 1389257 - Set MOZ_ANDROID_POCKET only for nightly, beta, release builds. r=chmanchester
MozReview-Commit-ID: JRgBimDVRa6

--HG--
extra : rebase_source : 6d027108555c89d5dff82309df7d9d6792256ceb
2017-08-10 15:36:58 -07:00
Chenxia Liu
9c27584fe8 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P

--HG--
extra : rebase_source : bb7d2a561517decdf3b05badaced27ea9e7e2000
2017-08-09 12:11:10 -07:00
Wes Kocher
b6e3e08c6d Backed out changeset 59bc932c44ea (bug 1386906) for breaking single locale fennec builds a=bustage
MozReview-Commit-ID: 4z1nq8Z9gnV
2017-08-11 12:30:22 -07:00
Chenxia Liu
8b3a0e7bc2 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P

--HG--
extra : rebase_source : 42c608d41e1262d0985dd9f59946a0732a971abc
2017-08-09 12:11:10 -07:00
Jing-wei Wu
51ea6f24b7 Bug 1386975 - Part 1: Use Photon resources to build Fennec. r=maliu,nalexander,sebastian
Remove '--enable-photon' option and use Photon resources to build Fennec.

This patch prohibits changing skin(Australis/Photon) in mach build because we would drop Australis resources in near future.

Any modification in Nightly after this patch should only affect Photon.

MozReview-Commit-ID: 37HzuN6xmPm

--HG--
extra : rebase_source : 0fe6d2e7f49d3c59ceb13c88109061d5a69fce68
2017-08-04 16:35:45 +08:00
Sebastian Hengst
47c49d0a90 Backed out changeset 88017de7130d (bug 1386975) for failing chrome tests on Android 4.2 x86 opt. r=backout 2017-08-07 19:04:44 +02:00
Jing-wei Wu
13b8efcf5f Bug 1386975 - Part 1: Use Photon resources to build Fennec. r=maliu,sebastian
Remove '--enable-photon' option and use Photon resources to build Fennec.

This patch prohibits changing skin(Australis/Photon) in mach build because we would drop Australis resources in near future.

Any modification in Nightly after this patch should only affect Photon.

MozReview-Commit-ID: 37HzuN6xmPm

--HG--
extra : rebase_source : 79e9c13e210fbe3be90a4b3ed9da900ea89a4648
2017-08-04 16:35:45 +08:00
James Cheng
b1e12e61d3 Bug 1365505 - Part1-Make the feature flag be exposed not only on nightly. r=kikuo
MozReview-Commit-ID: Hqu24jvYGSo

--HG--
extra : rebase_source : ab12a1bd1db8513a2ea1bf530808ded20692ccdc
2017-08-01 17:44:58 +08:00
Julian_Chu
6a63d0bc4d Bug 1376486 - Add PWA experimental feature preference r=daleharvey,sebastian
To test PWA, we must manually enable "manifest.install.enabled" in
about:config. This is not convenient for development or testing.

Now we try to add a preference option.

MozReview-Commit-ID: LbrNgZmAeUm

--HG--
extra : rebase_source : 0c2b3b2e9c05e962da870672c07ecb32202f1fd5
2017-06-28 01:18:54 -07:00
jwu
7d0811e177 Bug 1372486 - Part 3: Support mach/gradle build for Photon with its resources. r=nalexander,nechen
MozReview-Commit-ID: DMzYPgzcEq2

--HG--
extra : rebase_source : 1077aed91281adaf711f58903400caf0e068693d
2017-06-17 01:46:55 +08:00
Sebastian Hengst
7481fa469f Backed out changeset d60f1d602dca (bug 1372486) 2017-06-17 20:12:34 +02:00
jwu
087b84303e Bug 1372486 - Part 3: Support mach/gradle build for Photon with its resources. r=nalexander,nechen
MozReview-Commit-ID: DMzYPgzcEq2

--HG--
extra : rebase_source : 47ed1cd60432d2d1c8fd8263d526c82fc6dd9e1b
2017-06-17 01:46:55 +08:00
friedger
ab7ccca330 Bug 1369673 - remove flag localeSwitchingIsEnabled from GeckoPreferences r=nalexander
remove the flag from GeckoPreferences as it is always true

MozReview-Commit-ID: J5bJwnaRFDa

--HG--
extra : rebase_source : 012ae9f1a220c7fd98f0b88c64dcbae4ad85b70c
2017-06-14 13:50:49 +02:00
Carsten "Tomcat" Book
59fc3e791f Backed out changeset 3e06253547af (bug 1329152) on developers request / bug 1371561 2017-06-12 08:58:10 +02:00
Michael Kaply
80449040b7 Bug 1367201 - Add MOZ_ANDROID_MOZILLA_ONLINE build flag to support MozillaOnline (Mozilla China) custom code. r=nalexander
MozReview-Commit-ID: BB0dcmLez0w

--HG--
extra : rebase_source : fdfb55bc9a77798f334f6fb1de78c63eb4852659
2017-06-05 14:42:53 -05:00
Julian_Chu
d432b78932 Bug 1329152 - Enable custom tabs by default r=sebastian
Remove related options, just use CustomTabs directly.

MozReview-Commit-ID: DdcMHnsfAU1

--HG--
extra : rebase_source : bc081e180eca920979d8f4557751cf98c27c51de
2017-04-10 17:32:16 +08:00
Nick Alexander
b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Sebastian Hengst
66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Nick Alexander
0a0a08ec4c Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : 5390cf8c5c2eb7ffe675757b372debbb639bc900
2017-05-26 12:31:20 -07:00
Sebastian Hengst
1e43f4ab4d Backed out changeset 87e59d65e1b2 (bug 1367201) for crashes in Android's robocop tests, e.g. testANRReporter. r=backout 2017-05-25 22:57:18 +02:00