-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
109 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ build/ | |
user.gradle | ||
local.properties | ||
.directory | ||
|
||
.settings | ||
.classpath | ||
.project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*/ | ||
|
||
buildscript { | ||
ext.cronetVersion = '91.0.4472.120' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mar-v-in
Author
Member
|
||
ext.nlpVersion = '2.0-alpha6' | ||
ext.remoteDroidGuardVersion = '0.1.2' | ||
ext.safeParcelVersion = '1.7.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2021, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
|
||
dependencies { | ||
implementation("org.microg:cronet-api:$cronetVersion") | ||
implementation("org.microg:cronet-common:$cronetVersion") | ||
implementation("org.microg:cronet-native:$cronetVersion") | ||
} | ||
|
||
android { | ||
compileSdkVersion androidCompileSdk | ||
buildToolsVersion "$androidBuildVersionTools" | ||
|
||
defaultConfig { | ||
versionName version | ||
minSdkVersion androidMinSdk | ||
targetSdkVersion androidTargetSdk | ||
} | ||
|
||
lintOptions { | ||
disable 'MissingTranslation' | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
} | ||
} | ||
|
||
apply from: '../gradle/publish-android.gradle' | ||
|
||
description = 'microG service implementation for play-services-cronet' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ SPDX-FileCopyrightText: 2021, microG Project Team | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.microg.gms.net.core"> | ||
|
||
<application> | ||
</application> | ||
</manifest> |
37 changes: 37 additions & 0 deletions
37
...oid/gms/dynamite/descriptors/com/google/android/gms/cronet_dynamite/ModuleDescriptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2021, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.dynamite.descriptors.com.google.android.gms.cronet_dynamite; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public class ModuleDescriptor { | ||
public static final String MODULE_ID = "com.google.android.gms.cronet_dynamite"; | ||
public static final int MODULE_VERSION = 2; | ||
public static final List<String> MERGED_CLASSES = Arrays.asList( | ||
"org.chromium.net.ApiVersion", | ||
"org.chromium.net.BidirectionalStream", | ||
"org.chromium.net.CallbackException", | ||
"org.chromium.net.CronetEngine", | ||
"org.chromium.net.CronetException", | ||
"org.chromium.net.CronetProvider", | ||
"org.chromium.net.ExperimentalBidirectionalStream", | ||
"org.chromium.net.ExperimentalCronetEngine", | ||
"org.chromium.net.ExperimentalUrlRequest", | ||
"org.chromium.net.ICronetEngineBuilder", | ||
"org.chromium.net.InlineExecutionProhibitedException", | ||
"org.chromium.net.NetworkException", | ||
"org.chromium.net.NetworkQualityRttListener", | ||
"org.chromium.net.NetworkQualityThroughputListener", | ||
"org.chromium.net.QuicException", | ||
"org.chromium.net.RequestFinishedInfo", | ||
"org.chromium.net.UploadDataProvider", | ||
"org.chromium.net.UploadDataProviders", | ||
"org.chromium.net.UploadDataSink", | ||
"org.chromium.net.UrlRequest", | ||
"org.chromium.net.UrlResponseInfo" | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @mar-v-in
Is this OK to have two different cronet libraries in the latest build ?
I see libcronet.91.0.4472.120.so and libcronet.92.0.4509.1.so inside microG apk.
Something wrong with build process ?