Commit Graph

5 Commits

Author SHA1 Message Date
Nick Alexander
8e187264cd Bug 1107811 - Part 4: Exclude all but mobile/. r=me 2015-12-02 14:57:12 -08:00
Nick Alexander
76f4045b56 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
09e37d989d Bug 1219846 - Pre: Index less in IntelliJ. r=me 2015-10-29 19:53:51 -07:00
Nick Alexander
0d25f9103c Bug 1123416 - Part 3: Limit IntelliJ objdir indexing. r=sebastian
IntelliJ's exclusion mechanism (for Gradle-based projects) is not very
flexible; we get just idea.module.excludeDirs.  This patch crawls the
file system to skip what we can.
2015-10-20 15:30:44 -07:00
Nick Alexander
304165afc6 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