Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthew Finkel
tor-browser-build
Commits
68c652e1
Unverified
Commit
68c652e1
authored
4 years ago
by
Georg Koppen
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40078: Include Gradle 6.5.1 and use it for fenix
parent
97879e51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
projects/android-toolchain/build
+5
-3
5 additions, 3 deletions
projects/android-toolchain/build
projects/android-toolchain/config
+14
-10
14 additions, 10 deletions
projects/android-toolchain/config
projects/fenix/build
+2
-2
2 additions, 2 deletions
projects/fenix/build
with
21 additions
and
15 deletions
projects/android-toolchain/build
+
5
−
3
View file @
68c652e1
...
...
@@ -15,11 +15,13 @@ unzip -qq [% c("input_files_by_name/android_sdk_tools") %] -d $SDK_HOME
unzip
-
qq
[
%
c
(
"
input_files_by_name/android_ndk_compiler
"
)
%
]
-
d
$
NDK_HOME
# GeckoView is still using an older Android NDK, bundle it, too.
unzip
-
qq
[
%
c
(
"
input_files_by_name/android_ndk_compiler_old
"
)
%
]
-
d
$
NDK_HOME
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle
_bin
"
)
%
]
-
d
$
GRADLE_HOME
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle
564
"
)
%
]
-
d
$
GRADLE_HOME
# GeckoView is still using an older Gradle, bundle it, too.
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle
_bin_old
"
)
%
]
-
d
$
GRADLE_HOME
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle
511
"
)
%
]
-
d
$
GRADLE_HOME
# application-services is using a comparatively new Gradle, bundle it, too.
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle_bin_new
"
)
%
]
-
d
$
GRADLE_HOME
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle63
"
)
%
]
-
d
$
GRADLE_HOME
# Fenix switched to a fairly recent Gradle, add it as well.
unzip
-
qq
[
%
c
(
"
input_files_by_name/gradle651
"
)
%
]
-
d
$
GRADLE_HOME
# NDK Archive
for
version
in
[
%
c
(
"
var/android_ndk_version
"
)
%
][
%
c
(
"
var/android_ndk_revision
"
)
%
]
[
%
c
(
"
var/android_ndk_version_old
"
)
%
];
do
...
...
This diff is collapsed.
Click to expand it.
projects/android-toolchain/config
+
14
−
10
View file @
68c652e1
...
...
@@ -19,16 +19,17 @@ var:
export GRADLE_HOME=/var/tmp/dist/[% project %]/gradle
export ANDROID_HOME=$ANDROID_SDK_HOME
export GRADLE_USER_HOME=$GRADLE_HOME
export PATH=$PATH:$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$GRADLE_HOME/gradle-[% c("var/gradle
_version
") %]/bin
export PATH=$PATH:$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$GRADLE_HOME/gradle-[% c("var/gradle
564
") %]/bin
google_repo
:
https://dl.google.com/android/repository
android_api_level
:
29
android_platform_revision
:
04
android_ndk_version
:
21
android_ndk_version_old
:
20
android_ndk_revision
:
d
gradle_version_new
:
6.3
gradle_version
:
5.6.4
gradle_version_old
:
5.1.1
gradle651
:
6.5.1
gradle63
:
6.3
gradle564
:
5.6.4
gradle511
:
5.1.1
input_files
:
-
project
:
container-image
-
URL
:
'
[%
c("var/google_repo")
%]/build-tools_r[%
c("version")
%]-linux.zip'
...
...
@@ -55,12 +56,15 @@ input_files:
-
URL
:
'
[%
c("var/google_repo")
%]/android-ndk-r[%
c("var/android_ndk_version_old")
%]-linux-x86_64.zip'
name
:
android_ndk_compiler_old
sha256sum
:
57435158f109162f41f2f43d5563d2164e4d5d0364783a9a6fab3ef12cb06ce0
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle_version_new") %]-bin.zip
name
:
gradle_bin_new
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle651") %]-bin.zip
name
:
gradle651
sha256sum
:
50a7d30529fa939721fe9268a0205142f3f2302bcac5fb45b27a3902e58db54a
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle63") %]-bin.zip
name
:
gradle63
sha256sum
:
038794feef1f4745c6347107b6726279d1c824f3fc634b60f86ace1e9fbd1768
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle
_version
") %]-bin.zip
name
:
gradle
_bin
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle
564
") %]-bin.zip
name
:
gradle
564
sha256sum
:
1f3067073041bc44554d0efe5d402a33bc3d3c93cc39ab684f308586d732a80d
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle
_version_old
") %]-bin.zip
name
:
gradle
_bin_old
-
URL
:
https://services.gradle.org/distributions/gradle-[% c("var/gradle
511
") %]-bin.zip
name
:
gradle
511
sha256sum
:
4953323605c5d7b89e97d0dc7779e275bccedefcdac090aec123375eae0cc798
This diff is collapsed.
Click to expand it.
projects/fenix/build
+
2
−
2
View file @
68c652e1
...
...
@@ -31,7 +31,7 @@ cp $rootdir/[% c('input_files_by_name/topl') %]/* app/
cp
$
rootdir
/
[
%
c
(
'
input_files_by_name/tor-android-service
'
)
%
]
/*
app
/
[
%
IF
c
(
"
var/fetch_gradle_dependencies
"
)
%
]
gradle
--
debug
--
no
-
daemon
app
:
assemble
[
%
c
(
'
variant
'
)
%
]
-
x
lint
$
GRADLE_HOME
/
gradle
-
6.5
.
1
/
bin
/
gradle
--
debug
--
no
-
daemon
app
:
assemble
[
%
c
(
'
variant
'
)
%
]
-
x
lint
[
%
ELSE
%
]
# Prepare Glean dependencies for offline build
tar
-
xjf
$
rootdir
/
glean
-
parser
-
[
%
c
(
'
var/glean_parser
'
)
%
].
tar
.
bz2
...
...
@@ -45,7 +45,7 @@ cp $rootdir/[% c('input_files_by_name/tor-android-service') %]/* app/
# not only for geckoview-beta.
cp
-
f
$
distdir
/
geckoview
/*
.
aar
$
gradle_repo
/
org
/
mozilla
/
geckoview
/
geckoview
-
beta
/
$
geckoview_version
/
geckoview
-
beta
-
$
geckoview_version
.
aar
gradle
--
offline
--
no
-
daemon
-
Dmaven
.
repo
.
local
=
$
gradle_repo
app
:
assemble
[
%
c
(
'
variant
'
)
%
]
-
x
lint
$
GRADLE_HOME
/
gradle
-
6.5
.
1
/
bin
/
gradle
--
offline
--
no
-
daemon
-
Dmaven
.
repo
.
local
=
$
gradle_repo
app
:
assemble
[
%
c
(
'
variant
'
)
%
]
-
x
lint
# XXX We need the build variant in lower case. Do something smarter here.
v
=
[
%
c
(
"
variant
"
)
%
]
cp
app
/
build
/
outputs
/
apk
/
$
{
v
,}
/*
.
apk
$
distdir
/
[
%
project
%
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment