summaryrefslogtreecommitdiffstats
path: root/mobile/android/app/omnijar/build.gradle
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /mobile/android/app/omnijar/build.gradle
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/app/omnijar/build.gradle')
-rw-r--r--mobile/android/app/omnijar/build.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/mobile/android/app/omnijar/build.gradle b/mobile/android/app/omnijar/build.gradle
new file mode 100644
index 000000000..c5274a618
--- /dev/null
+++ b/mobile/android/app/omnijar/build.gradle
@@ -0,0 +1,33 @@
+buildDir "${topobjdir}/gradle/build/mobile/android/omnijar"
+
+apply plugin: 'java'
+
+// This project is a dummy project; the JAR produced is not used. The :app
+// project uses the set of inputs here to check if the omnijar needs to be
+// rebuilt. By listing them here as resource directories, IntelliJ labels each
+// checked directly nicely. Why list the directories here? There's a mismatch
+// between SourceDirectorySet and TaskInputs: the former is directory oriented,
+// while the latter is more general. That means its easy to convert this list
+// into inputs for :app, but not vice-versa. Sadly this implies that :app
+// evaluation depends on :omnijar, but the evaluation overhead is low enough
+// that we accept it.
+sourceSets {
+ main {
+ // Depend on the Gecko resources in mobile/android.
+ resources {
+ srcDir "${topsrcdir}/mobile/android/chrome"
+ srcDir "${topsrcdir}/mobile/android/components"
+ srcDir "${topsrcdir}/mobile/android/locales"
+ srcDir "${topsrcdir}/mobile/android/modules"
+ srcDir "${topsrcdir}/mobile/android/themes"
+ srcDir "${topsrcdir}/toolkit"
+ }
+ }
+}
+
+apply plugin: 'idea'
+
+idea {
+ module {
+ }
+}