Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
471facd3
Commit
471facd3
authored
Sep 14, 2020
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
build: generate native symbols file
Change-Id: I4e61ae2ce6d22ff05144058fff6c0383050a2d7a
parent
e1065db1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
compile.sh
+8
-14
8 additions, 14 deletions
compile.sh
fdroidMergeRequest.sh
+1
-1
1 addition, 1 deletion
fdroidMergeRequest.sh
with
9 additions
and
15 deletions
compile.sh
+
8
−
14
View file @
471facd3
...
...
@@ -15,7 +15,6 @@ TOP=$(pwd)/ring-android
RELEASE
=
0
DAEMON_ONLY
=
0
NO_GRADLE
=
0
for
i
in
${
@
}
;
do
case
"
$i
"
in
release|--release
)
...
...
@@ -24,15 +23,11 @@ for i in ${@}; do
daemon|--daemon
)
DAEMON_ONLY
=
1
;;
no-gradle|--no-gradle
)
NO_GRADLE
=
1
;;
*
)
;;
esac
done
export
RELEASE
export
DAEMON_ONLY
ANDROID_ABI_LIST
=
"
${
ANDROID_ABI
}
"
echo
"Building ABIs:
${
ANDROID_ABI_LIST
}
"
...
...
@@ -43,20 +38,19 @@ for i in ${ANDROID_ABI_LIST}; do
echo
"
$i
build OK"
done
if
[[
$
NO_GRADLE
-eq
0
]]
;
then
if
[[
$
DAEMON_ONLY
-eq
0
]]
;
then
if
[
-z
"
$RING_BUILD_FIREBASE
"
]
;
then
echo
"Building without Firebase support"
else
GRADLE_PROPERTIES
=
"-PbuildFirebase"
echo
"Building with Firebase support"
fi
if
[[
$DAEMON_ONLY
-eq
0
]]
;
then
if
[[
$RELEASE
-eq
1
]]
;
then
echo
"Archiving native debug symbols"
cd
$TOP
/app/src/main/libs
zip
-r
$TOP
/app/symbols.zip
.
cd
$TOP
&&
gradle
$GRADLE_PROPERTIES
assembleRelease
else
cd
$TOP
&&
gradle
$GRADLE_PROPERTIES
assembleDebug
fi
fi
else
echo
"Stopping before gradle build as requested."
fi
This diff is collapsed.
Click to expand it.
fdroidMergeRequest.sh
+
1
−
1
View file @
471facd3
...
...
@@ -77,7 +77,7 @@ echo " - versionName: ${versionName}
- cd ../..
- export ANDROID_NDK_ROOT=
\"\$
ANDROID_NDK
\"
- export ANDROID_ABI=
\"
armeabi-v7a arm64-v8a x86
\"
- ./compile.sh --release --
no-gradle
- ./compile.sh --release --
daemon
ndk:
${
ndkVersion
}
"
>>
${
METADATA_FOLDER
}
/cx.ring.yml
...
...
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