Commit Graph

16 Commits

Author SHA1 Message Date
Nick Alexander
ee75d8a77d Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.

MozReview-Commit-ID: 4fCY504UgPu
2016-02-17 19:25:54 -08:00
Nick Alexander
1aaa667c0e Backed out changeset 746468f5d979 (bug 1233882). 2016-02-05 21:19:13 -08:00
Nick Alexander
1c6c3b60c1 Bug 1234629 - Post: Add Gradle support for bouncer. r=me 2016-01-26 11:54:00 -08:00
Nick Alexander
19001498af Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.
2016-01-17 21:52:46 -08:00
Nigel Babu
2682409fe4 Backed out 10 changesets (bug 1234629, bug 1233882) for bustage on Android rc tests
Backed out changeset 9aa32d9a25df (bug 1234629)
Backed out changeset d73d36c9619b (bug 1234629)
Backed out changeset a7f63b3721cd (bug 1233882)
Backed out changeset c79f4a8c3e86 (bug 1234629)
Backed out changeset 400c030d3c01 (bug 1234629)
Backed out changeset 54a3d0851bc6 (bug 1234629)
Backed out changeset f80912ecfa87 (bug 1234629)
Backed out changeset 50bcadca2131 (bug 1234629)
Backed out changeset aaa420ed66d7 (bug 1234629)
Backed out changeset 7a62e97f07c2 (bug 1234629)
2016-02-05 15:42:28 +05:30
Nick Alexander
bf5ea4d671 Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.
2016-01-17 21:52:46 -08:00
Nick Alexander
5590b049e3 Bug 1234629 - Post: Add Gradle support for bouncer. r=me 2016-01-26 11:54:00 -08:00
Nick Alexander
3d8d7fa0f6 Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f=mcomella 2015-12-10 10:51:42 -05:00
Nick Alexander
c1dd1f403b Bug 1107811 - Part 3: Fix Gradle configurations. r=me 2015-12-05 17:33:55 -08:00
Nick Alexander
615f080743 Bug 1228430 - Move build.gradle out of mobile/android/base. r=me
DONTBUILD NPOTB
2015-11-26 13:02:00 -08:00
Nick Alexander
0e9317d123 Bug 1220887 - Make 'base' Gradle project in the srcdir. r=sebastian
This is the last Gradle project that isn't in the srcdir.  Since base/
doesn't have the correct package prefix directory structure, we still
need to symlink, but we only need one link.  This effectively
deprecates |mach gradle-install|.

This should improve the robustness of our Gradle configuration,
ensuring that we always have projects to import.  Since
settings.gradle executes very early in the IDE import project
sequence: before Gradle project evaluation time, and thus before any
Gradle task is executed, we should always see a complete project.  (It
was possible to see incomplete Gradle configurations if |mach
gradle-install| hadn't been run at just the right time.)
2015-11-03 15:04:39 -08:00
Nick Alexander
149d85b051 Bug 1219846 - Part 2: Make 'omnijar' project in srcdir. r=me
DONTBUILD NPOTB

The :omnijar project is for IntelliJ only; adding it neatly labels
folders we consider part of the omnijar in mobile/android.  The JAR
produced is not used.

We add an evaluation-time dependency from :app to :omnijar so that we
can declare the set of omnijar folders exactly once.  We'd prefer to
have the dependency in the other direction (to save evaluation time)
but there's an interface mismatch between the two Gradle model types.
See comments in the :omnijar project.

This is delicate.
2015-10-29 11:11:36 -07:00
Nick Alexander
61d222ad1d Bug 1219846 - Part 1: Add 'app' Gradle project in srcdir. r=me
DONTBUILD NPOTB
2015-10-28 16:01:23 -07:00
Nick Alexander
ffc147b3de Bug 1123416 - Part 5: Make a 'thirdparty' Gradle project in the source directory. r=sebastian
I don't want to cut consumers of $OBJDIR/mobile/android/gradle over
yet, so this doesn't remove the existing 'thirdparty' project.
2015-10-20 15:32:50 -07:00
Nick Alexander
de06739bad Bug 1123416 - Part 2: Restrict $topsrcdir/build.gradle to Fennec. r=sebastian 2015-10-20 10:32:26 -07:00
Nick Alexander
9bcadfad8b Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian
The sub-project definitions are still in the object directory (and
still installed by |mach gradle-install); over time, we'll migrate
them out.

The Gradle wrapper and {settings,build}.gradle in topsrcdir are
identical to those in mobile/android/gradle.  I don't like the
duplication, but I also don't want the burden of keeping the two
configurations identical.  We'll move away from the configuration
using mobile/android/gradle as quickly as we can.
2015-10-21 15:07:55 -07:00