Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linphone-sdk
Compare revisions
3a57737ee5e03dc857e5d39662bfa1b96e3715b7...5c63230d2227463702e875ca6c1a4e3170f548a5
Source
BC/public/linphone-sdk
Select target project
5c63230d2227463702e875ca6c1a4e3170f548a5
Select Git revision
..
..
...
Target
BC/public/linphone-sdk
Select target project
BC/public/linphone-sdk
3a57737ee5e03dc857e5d39662bfa1b96e3715b7
Select Git revision
Compare
Swap revisions
Commits (3)
Feature/add fast deploy option
· 3630f22e
Erwan Croze
authored
6 years ago
3630f22e
Update ms2 (Deteciton of supported H26x format on Apple's platforms)
· 241bbf9e
François Grisez
authored
6 years ago
241bbf9e
Updated linphone to fix android tester random crash
· 5c63230d
Sylvain Berfini
authored
6 years ago
5c63230d
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
.gitlab-ci-files/job-android.yml
+35
-0
.gitlab-ci-files/job-android.yml
.gitlab-ci-files/job-ios.yml
+19
-0
.gitlab-ci-files/job-ios.yml
.gitlab-ci-files/job-linux-desktop.yml
+5
-0
.gitlab-ci-files/job-linux-desktop.yml
.gitlab-ci-files/job-macosx.yml
+10
-0
.gitlab-ci-files/job-macosx.yml
.gitlab-ci-files/job-uploads.yml
+8
-0
.gitlab-ci-files/job-uploads.yml
.gitlab-ci-files/job-windows.yml
+5
-0
.gitlab-ci-files/job-windows.yml
linphone
+1
-1
linphone
mediastreamer2
+1
-1
mediastreamer2
tester/Android/app/build.gradle
+19
-1
tester/Android/app/build.gradle
tester/Android/app/src/main/java/org/linphone/tester/Tester.java
+7
-6
...Android/app/src/main/java/org/linphone/tester/Tester.java
tester/Android/build.gradle
+1
-1
tester/Android/build.gradle
with
111 additions
and
10 deletions
.gitlab-ci-files/job-android.yml
View file @
5c63230d
...
...
@@ -37,6 +37,10 @@
job-android-makefile-r16b
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r16b
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
...
...
@@ -46,6 +50,10 @@ job-android-makefile-r16b:
job-android-makefile-r17c
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r17c
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
...
...
@@ -56,6 +64,10 @@ job-android-makefile-r17c:
job-android-makefile-r18b
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r18b
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
...
...
@@ -65,6 +77,10 @@ job-android-makefile-r18b:
job-android-makefile-r19
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r19
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
...
...
@@ -79,6 +95,10 @@ job-android-makefile-r19:
job-android-ninja-r16b
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r16b
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Ninja
extends
:
.scheduled-job-android
...
...
@@ -96,6 +116,9 @@ job-android-ninja-r16b-novideo:
job-android-ninja-r17c
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r17c
except
:
variables
:
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DENABLE_AAUDIO=ON
...
...
@@ -106,6 +129,10 @@ job-android-ninja-r17c-novideo:
only
:
-
schedules
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_OPTIONS
:
-DENABLE_VIDEO=NO -DENABLE_AAUDIO=ON
extends
:
job-android-ninja-r17c
...
...
@@ -114,6 +141,10 @@ job-android-ninja-r17c-novideo:
job-android-ninja-r18b
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r18b
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DENABLE_AAUDIO=ON
...
...
@@ -123,6 +154,10 @@ job-android-ninja-r18b:
job-android-ninja-r19
:
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r19
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DENABLE_AAUDIO=ON
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci-files/job-ios.yml
View file @
5c63230d
...
...
@@ -33,6 +33,11 @@
job-ios-makefile
:
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
ADDITIONAL_BUILD_OPTIONS
:
-j$MAKEFILE_JOBS
...
...
@@ -46,6 +51,11 @@ job-ios-makefile:
job-ios-ninja
:
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
variables
:
CMAKE_GENERATOR
:
Ninja
extends
:
.job-ios
...
...
@@ -53,6 +63,11 @@ job-ios-ninja:
job-ios-ninja-novideo
:
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
only
:
-
schedules
variables
:
...
...
@@ -70,6 +85,10 @@ job-ios-xcode:
stage
:
build
tags
:
[
"
macosx"
]
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
only
:
-
schedules
script
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci-files/job-linux-desktop.yml
View file @
5c63230d
...
...
@@ -3,6 +3,11 @@
stage
:
build
extends
:
.linux-prepare
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
script
:
-
export CC=$CC
-
export CXX=$CXX
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci-files/job-macosx.yml
View file @
5c63230d
...
...
@@ -4,6 +4,11 @@
stage
:
build
tags
:
[
"
macosx"
]
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
script
:
-
ccache -s
-
mkdir -p build-desktop
...
...
@@ -59,6 +64,11 @@ job-macosx-xcode:
stage
:
build
tags
:
[
"
macosx"
]
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
only
:
-
schedules
script
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci-files/job-uploads.yml
View file @
5c63230d
...
...
@@ -8,6 +8,10 @@ job-ios-upload:
stage
:
deploy
tags
:
[
"
deploy"
]
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
only
:
-
schedules
dependencies
:
...
...
@@ -33,6 +37,10 @@ job-android-upload:
tags
:
[
"
docker-android"
]
image
:
gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r17c
except
:
variables
:
-
$DEPLOY_RUN_IOS
variables
:
CCACHE_SIZE
:
4G
CMAKE_GENERATOR
:
Ninja
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci-files/job-windows.yml
View file @
5c63230d
...
...
@@ -8,6 +8,11 @@ job-windows-vs2015:
stage
:
build
tags
:
[
"
windows"
]
except
:
variables
:
-
$DEPLOY_RUN_ANDROID
-
$DEPLOY_RUN_IOS
script
:
-
mkdir build-desktop
-
cd build-desktop
...
...
This diff is collapsed.
Click to expand it.
linphone
@
b1e218ba
Compare
c1d4e387
...
b1e218ba
Subproject commit
c1d4e3870dce2de8e9c64fdd0bb5f9d26efb145a
Subproject commit
b1e218bad5a2b701cb62e864d22d1794fafd7e67
This diff is collapsed.
Click to expand it.
mediastreamer2
@
2ee3f8b4
Compare
9eaed75d
...
2ee3f8b4
Subproject commit
9eaed75d6d9772ea4081308cbfb0978e886a356f
Subproject commit
2ee3f8b44ba2df6217033c7a3afea5bec22f8220
This diff is collapsed.
Click to expand it.
tester/Android/app/build.gradle
View file @
5c63230d
...
...
@@ -5,6 +5,19 @@ excludePackage.add('**/gdb.*')
excludePackage
.
add
(
'**/libopenh264**'
)
excludePackage
.
add
(
'**/LICENSE.txt'
)
static
def
isLocalAarAvailable
()
{
File
debugAar
=
new
File
(
'linphone-sdk-android/linphone-sdk-android-debug.aar'
)
File
releaseAar
=
new
File
(
'linphone-sdk-android/linphone-sdk-android-release.aar'
)
return
debugAar
.
exists
()
||
releaseAar
.
exists
()
}
repositories
{
maven
{
// Switch to release for releases !
url
"https://gitlab.linphone.org/BC/public/maven_repository/raw/master"
}
}
android
{
compileSdkVersion
28
defaultConfig
{
...
...
@@ -45,7 +58,12 @@ android {
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
'androidx.appcompat:appcompat:1.0.0-beta01'
implementation
project
(
":linphone-sdk-android"
)
if
(
isLocalAarAvailable
())
{
implementation
project
(
":linphone-sdk-android"
)
}
else
{
implementation
"org.linphone:linphone-sdk-android:4.1+"
}
// Required for instrumented tests
implementation
'androidx.test:runner:1.1.0'
...
...
This diff is collapsed.
Click to expand it.
tester/Android/app/src/main/java/org/linphone/tester/Tester.java
View file @
5c63230d
...
...
@@ -20,7 +20,6 @@ package org.linphone.tester;
*/
import
android.content.Context
;
import
androidx.test.InstrumentationRegistry
;
import
org.junit.After
;
import
org.junit.Before
;
...
...
@@ -31,6 +30,8 @@ import java.util.Arrays;
import
java.util.LinkedList
;
import
java.util.List
;
import
androidx.test.platform.app.InstrumentationRegistry
;
public
class
Tester
{
public
native
void
setApplicationContext
(
Context
ct
);
public
native
void
removeApplicationContext
();
...
...
@@ -110,11 +111,11 @@ public class Tester {
System
.
loadLibrary
(
"bctoolbox-tester"
);
System
.
loadLibrary
(
"linphonetester"
);
keepAccounts
(
false
);
//
keepAccounts(true);
//
keepAccounts(false);
keepAccounts
(
true
);
if
(
mContext
==
null
)
{
mContext
=
InstrumentationRegistry
.
getTargetContext
();
mContext
=
InstrumentationRegistry
.
getInstrumentation
().
getTargetContext
();
}
setApplicationContext
(
mContext
);
...
...
@@ -124,14 +125,14 @@ public class Tester {
@Before
public
void
initTest
()
{
if
(
mContext
==
null
)
{
mContext
=
InstrumentationRegistry
.
getTargetContext
();
mContext
=
InstrumentationRegistry
.
getInstrumentation
().
getTargetContext
();
}
setApplicationContext
(
mContext
);
}
@After
public
void
tearDown
()
{
//
clearAccounts();
clearAccounts
();
removeApplicationContext
();
}
...
...
This diff is collapsed.
Click to expand it.
tester/Android/build.gradle
View file @
5c63230d
...
...
@@ -7,7 +7,7 @@ buildscript {
jcenter
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.3.
0
'
classpath
'com.android.tools.build:gradle:3.3.
1
'
// NOTE: Do not place your application dependencies here; they belong
...
...
This diff is collapsed.
Click to expand it.
Menu
Explore
Projects
Groups
Topics
Snippets