diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /mobile/android/app/omnijar/build.gradle | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/app/omnijar/build.gradle')
-rw-r--r-- | mobile/android/app/omnijar/build.gradle | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mobile/android/app/omnijar/build.gradle b/mobile/android/app/omnijar/build.gradle new file mode 100644 index 0000000000..10a61d7975 --- /dev/null +++ b/mobile/android/app/omnijar/build.gradle @@ -0,0 +1,34 @@ +buildDir "${topobjdir}/gradle/build/mobile/android/omnijar" + +apply plugin: 'java' + +// This project is a dummy project; the JAR produced is not used. The root +// 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 the root project, but not vice-versa. Sadly this would mean +// that the root project evaluation depends on :omnijar, so we duplicate in the +// root project. +sourceSets { + main { + // These are supposed to be files that go into the omnijar. But yes, + // toolkit/ has lots of native code. + 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 { + } +} |