Repo Created
This commit is contained in:
parent
eb305e2886
commit
a8c22c65db
4784 changed files with 329907 additions and 2 deletions
44
play-services-cronet/core/build.gradle
Normal file
44
play-services-cronet/core/build.gradle
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* 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 {
|
||||
// TODO: Embedding the API causes random crashes as the Android AOT compiler will link the native implementation to
|
||||
// out API classes even if embedded by a third-party app that comes with their own API classes.
|
||||
// Need to find a better way to disable AOT for Cronet. Could be by packaging cronet as it's own apk that is
|
||||
// embedded in the main APK but only loaded at runtime so that the AOT compiler has no way to become active.
|
||||
// implementation("org.microg:cronet-api:$cronetVersion")
|
||||
implementation("org.microg:cronet-common:$cronetVersion")
|
||||
implementation("org.microg:cronet-native:$cronetVersion")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace "org.microg.gms.net.core"
|
||||
|
||||
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'
|
||||
10
play-services-cronet/core/src/main/AndroidManifest.xml
Normal file
10
play-services-cronet/core/src/main/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?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">
|
||||
|
||||
<application>
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
@ -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"
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue