mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Update moe equivalence
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175542973
This commit is contained in:
parent
fbfbe7d6c9
commit
6e15d5cab7
@ -1,41 +0,0 @@
|
|||||||
# ExoPlayer TV tuner extension #
|
|
||||||
|
|
||||||
Provides components for broadcast TV playback with ExoPlayer.
|
|
||||||
|
|
||||||
## Links ##
|
|
||||||
|
|
||||||
* [Javadoc][]: Classes matching `com.google.android.exoplayer2.ext.tv.*`
|
|
||||||
belong to this extension.
|
|
||||||
|
|
||||||
[Javadoc]: https://google.github.io/ExoPlayer/doc/reference/index.html
|
|
||||||
|
|
||||||
## Build Instructions ##
|
|
||||||
|
|
||||||
* Checkout ExoPlayer:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/google/ExoPlayer.git
|
|
||||||
```
|
|
||||||
|
|
||||||
* Set the following environment variables:
|
|
||||||
|
|
||||||
```
|
|
||||||
cd "<path to exoplayer checkout>"
|
|
||||||
EXOPLAYER_ROOT="$(pwd)"
|
|
||||||
TV_MODULE_PATH="${EXOPLAYER_ROOT}/extensions/tv/src/main"
|
|
||||||
```
|
|
||||||
|
|
||||||
* Download the [Android NDK][] and set its location in an environment variable:
|
|
||||||
|
|
||||||
[Android NDK]: https://developer.android.com/tools/sdk/ndk/index.html
|
|
||||||
|
|
||||||
```
|
|
||||||
NDK_PATH="<path to Android NDK>"
|
|
||||||
```
|
|
||||||
|
|
||||||
* Build the JNI native libraries from the command line:
|
|
||||||
|
|
||||||
```
|
|
||||||
cd "${TV_MODULE_PATH}"/jni && \
|
|
||||||
${NDK_PATH}/ndk-build APP_ABI=all -j<N>
|
|
||||||
```
|
|
@ -1,39 +0,0 @@
|
|||||||
// Copyright (C) 2017 The Android Open Source Project
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
apply from: '../../constants.gradle'
|
|
||||||
apply plugin: 'com.android.library'
|
|
||||||
|
|
||||||
android {
|
|
||||||
compileSdkVersion project.ext.compileSdkVersion
|
|
||||||
buildToolsVersion project.ext.buildToolsVersion
|
|
||||||
|
|
||||||
defaultConfig {
|
|
||||||
minSdkVersion 21
|
|
||||||
targetSdkVersion project.ext.targetSdkVersion
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets.main {
|
|
||||||
jniLibs.srcDir 'src/main/libs'
|
|
||||||
jni.srcDirs = [] // Disable the automatic ndk-build call by Android Studio.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compile project(modulePrefix + 'library-core')
|
|
||||||
}
|
|
||||||
|
|
||||||
ext {
|
|
||||||
javadocTitle = 'TV tuner extension'
|
|
||||||
}
|
|
||||||
apply from: '../../javadoc_library.gradle'
|
|
Loading…
x
Reference in New Issue
Block a user