Commit Graph

17 Commits

Author SHA1 Message Date
Nick Alexander
4f3f4284e1 Bug 1098239 - Rewrite mobile/android Gradle integration. r=me
This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
2014-12-22 19:49:04 -08:00
Ting-Yu Lin
1ef04f1195 Bug 1065252 - Ignore Emacs .dir-locals.el. r=ted
Ignore Emacs's directory variable files .dir-locals.el in all directory.
It allows me to write ((c-mode . ((mode . c++)))) to view all .h files
in C++ mode especially for those .h files generated by IDL without
proper Emacs modeline.

DONTBUILD because NPOTB
2014-09-09 23:40:00 +02:00
James Graham
1d0db0076b Bug 945222 - Initial import of web-platform-tests testsuite 4/4 : Integration with build system, mach and mozharness, r=ahal,gps
--HG--
extra : rebase_source : 0d704f5a3edcbcef56d15b76ef26aae1b7232c4d
2014-09-04 12:52:43 +01:00
Ting-Yu Lin
a2b1027d61 Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
Panos Astithas
bd818d0778 Bug 861197 - chrome.manifest files created by the devtools loader should be ignored; r=dcamp; DONTBUILD because NPOTB 2013-04-30 10:22:25 +03:00
Gregory Szorc
60111d5545 Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
Gregory Szorc
d876536efe NO BUG - Have .gitignore properly ignore files in python/psutil; r=me DONTBUILD
--HG--
extra : rebase_source : 48f7a48de00dcd92c42332db0eb466e16addfe62
2012-09-21 17:04:05 -07:00
Gregory Szorc
e29c61ae2c Bug 783727 - Part 5: Add psutil to virtualenv; r=ted
It is optional so if your machine does not support building Python C
extensions things should still work.
2012-09-19 11:20:19 -07:00
Gregory Szorc
a1df2b5a3c Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted
This patch basically bypasses setup.py for pure Python packages. Instead
of producing .egg-info directories in the source tree, it merely
installs .pth files pointing back to the source directory. As a result,
this is less junk in the source tree.

The .hgignore and .gitignore entries for egg-info directories have been
removed because there should no longer be egg-info directories any more.
People should clean up these orphaned directories manually. This can be
accomplished by running:

  $ hg status -u | grep .egg-info | xargs rm -rf
  $ git ls-files -o '*.egg-info*' | xargs rm -rf
2012-09-04 10:45:45 -07:00
Kartikaya Gupta
6e84653730 Bug 760094 - Ignore egg-info directories in source tree. r=ted 2012-05-31 12:24:17 -04:00
Ehsan Akhgari
060fa03e26 Bug 756516 - Ignore .clang_complete files; r=BenWa
DONTBUILD
2012-05-18 13:55:58 -04:00
Till Schneidereit
48e4ab10bb Bug 726573: Change .hgignore and .gitignore to ignore Eclipse IDE project files in subdirectories, too. r=khuey 2012-02-13 14:36:16 -08:00
Justin Lebar
8c9aac15c4 No bug - Fix .gitignore to only ignore 'obj*' in the root directory. rs=cjones
--HG--
extra : rebase_source : 990a013ce24b6fc49a137dba965eb62845b52634
2012-01-26 15:53:56 -05:00
Jonathan Watt
c1d56f6044 Bug 718442 - Have .hgignore and .gitignore ignore the project files Eclipse IDE. r=khuey.
--HG--
extra : rebase_source : d02b562c1764de4e8b2acf92f74f5e1ca1782b25
2012-01-16 21:31:44 +00:00
Kan-Ru Chen
6210dfb376 Bug 715800 - Ignore all directories start with obj* in .gitignore. r=jmuizelaar 2012-01-06 11:39:35 +01:00
Jacek Caban
ce536a5e19 Bug 700614 - Wrong .mozconfig rule in .gitignore r=jmuizelaar 2011-11-15 12:57:26 +01:00
Jeff Muizelaar
db1cc73fb6 Bug 676599. Add .gitignore. r=ted
--HG--
extra : rebase_source : 0cbc5eebea84cf24f91cf2f7fe32e7a27b391d24
2011-10-26 12:25:40 -04:00