remove unused exoplayer modules

update licenses
This commit is contained in:
austinried 2021-09-07 16:36:12 +09:00
parent 0c825a3d85
commit dd0d4d52c1
6 changed files with 4444 additions and 15 deletions

File diff suppressed because it is too large Load Diff

View File

@ -470,6 +470,19 @@ MIT License
-----
The following software may be included in this product: @xmldom/xmldom, xmldom. A copy of the source code may be downloaded from git://github.com/xmldom/xmldom.git (@xmldom/xmldom), git://github.com/xmldom/xmldom.git (xmldom). This software contains the following license and notice below:
Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
The following software may be included in this product: abort-controller. A copy of the source code may be downloaded from git+https://github.com/mysticatea/abort-controller.git. This software contains the following license and notice below:
MIT License
@ -7543,19 +7556,6 @@ OTHER DEALINGS IN THE SOFTWARE.
-----
The following software may be included in this product: xmldom. A copy of the source code may be downloaded from git://github.com/xmldom/xmldom.git. This software contains the following license and notice below:
Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
The following software may be included in this product: xtend. A copy of the source code may be downloaded from git://github.com/Raynos/xtend.git. This software contains the following license and notice below:
The MIT License (MIT)

View File

@ -0,0 +1,64 @@
// 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.
def rootDir = gradle.ext.exoplayerRoot
def modulePrefix = ':'
if (gradle.ext.has('exoplayerModulePrefix')) {
modulePrefix += gradle.ext.exoplayerModulePrefix
}
// include modulePrefix + 'library'
include modulePrefix + 'library-core'
include modulePrefix + 'library-dash'
include modulePrefix + 'library-hls'
include modulePrefix + 'library-smoothstreaming'
// include modulePrefix + 'library-ui'
include modulePrefix + 'testutils'
// include modulePrefix + 'extension-av1'
include modulePrefix + 'extension-ffmpeg'
// include modulePrefix + 'extension-flac'
// include modulePrefix + 'extension-gvr'
// include modulePrefix + 'extension-ima'
// include modulePrefix + 'extension-cast'
// include modulePrefix + 'extension-cronet'
// include modulePrefix + 'extension-mediasession'
// include modulePrefix + 'extension-okhttp'
// include modulePrefix + 'extension-opus'
// include modulePrefix + 'extension-vp9'
// include modulePrefix + 'extension-rtmp'
// include modulePrefix + 'extension-leanback'
// include modulePrefix + 'extension-jobdispatcher'
// include modulePrefix + 'extension-workmanager'
// project(modulePrefix + 'library').projectDir = new File(rootDir, 'library/all')
project(modulePrefix + 'library-core').projectDir = new File(rootDir, 'library/core')
project(modulePrefix + 'library-dash').projectDir = new File(rootDir, 'library/dash')
project(modulePrefix + 'library-hls').projectDir = new File(rootDir, 'library/hls')
project(modulePrefix + 'library-smoothstreaming').projectDir = new File(rootDir, 'library/smoothstreaming')
// project(modulePrefix + 'library-ui').projectDir = new File(rootDir, 'library/ui')
project(modulePrefix + 'testutils').projectDir = new File(rootDir, 'testutils')
// project(modulePrefix + 'extension-av1').projectDir = new File(rootDir, 'extensions/av1')
project(modulePrefix + 'extension-ffmpeg').projectDir = new File(rootDir, 'extensions/ffmpeg')
// project(modulePrefix + 'extension-flac').projectDir = new File(rootDir, 'extensions/flac')
// project(modulePrefix + 'extension-gvr').projectDir = new File(rootDir, 'extensions/gvr')
// project(modulePrefix + 'extension-ima').projectDir = new File(rootDir, 'extensions/ima')
// project(modulePrefix + 'extension-cast').projectDir = new File(rootDir, 'extensions/cast')
// project(modulePrefix + 'extension-cronet').projectDir = new File(rootDir, 'extensions/cronet')
// project(modulePrefix + 'extension-mediasession').projectDir = new File(rootDir, 'extensions/mediasession')
// project(modulePrefix + 'extension-okhttp').projectDir = new File(rootDir, 'extensions/okhttp')
// project(modulePrefix + 'extension-opus').projectDir = new File(rootDir, 'extensions/opus')
// project(modulePrefix + 'extension-vp9').projectDir = new File(rootDir, 'extensions/vp9')
// project(modulePrefix + 'extension-rtmp').projectDir = new File(rootDir, 'extensions/rtmp')
// project(modulePrefix + 'extension-leanback').projectDir = new File(rootDir, 'extensions/leanback')
// project(modulePrefix + 'extension-jobdispatcher').projectDir = new File(rootDir, 'extensions/jobdispatcher')
// project(modulePrefix + 'extension-workmanager').projectDir = new File(rootDir, 'extensions/workmanager')

View File

@ -232,6 +232,24 @@
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: androidx.test.ext:junit:+
name: junit
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://developer.android.com/testing
- artifact: androidx.test:core:+
name: core
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://developer.android.com/testing
- artifact: androidx.test:monitor:+
name: monitor
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://developer.android.com/testing
- artifact: androidx.transition:transition:+
name: transition
copyrightHolder: Original Author
@ -414,12 +432,59 @@
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://developer.android.com/tools/extras/support-library.html
- artifact: com.google.auto.value:auto-value-annotations:+
name: auto-value-annotations
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/auto
- artifact: com.google.code.findbugs:jsr305:+
name: jsr305
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://findbugs.sourceforge.net/
- artifact: com.google.errorprone:error_prone_annotations:+
name: error_prone_annotations
copyrightHolder: Original Author
license: Apache 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
- artifact: com.google.guava:failureaccess:+
name: failureaccess
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/guava
- artifact: com.google.guava:guava:+
name: guava
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/guava
- artifact: com.google.guava:listenablefuture:+
name: listenablefuture
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/guava
- artifact: com.google.j2objc:j2objc-annotations:+
name: j2objc-annotations
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/j2objc/
- artifact: com.google.truth:truth:+
name: truth
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/google/truth
- artifact: com.googlecode.java-diff-utils:diffutils:+
name: diffutils
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://code.google.com/p/java-diff-utils/
- artifact: com.parse.bolts:bolts-tasks:+
name: bolts-tasks
copyrightHolder: Original Author
@ -450,6 +515,54 @@
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://code.google.com/p/atinject/
- artifact: junit:junit:+
name: junit
copyrightHolder: Original Author
license: Eclipse Public License 1.0
licenseUrl: http://www.eclipse.org/legal/epl-v10.html
url: http://junit.org
- artifact: net.bytebuddy:byte-buddy-agent:+
name: byte-buddy-agent
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/raphw/byte-buddy
- artifact: net.bytebuddy:byte-buddy:+
name: byte-buddy
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://github.com/raphw/byte-buddy
- artifact: org.checkerframework:checker-compat-qual:+
name: checker-compat-qual
copyrightHolder: Original Author
license: GNU General Public License, version 2 (GPL2), with the classpath exception
licenseUrl: http://www.gnu.org/software/classpath/license.html
url: https://checkerframework.org
- artifact: org.checkerframework:checker-qual:+
name: checker-qual
copyrightHolder: Original Author
license: The MIT License
licenseUrl: http://opensource.org/licenses/MIT
url: https://checkerframework.org
- artifact: org.codehaus.mojo:animal-sniffer-annotations:+
name: animal-sniffer-annotations
copyrightHolder: Original Author
license: The MIT License
licenseUrl: http://opensource.org/licenses/MIT
url: https://github.com/mojohaus/animal-sniffer
- artifact: org.hamcrest:hamcrest-core:+
name: hamcrest-core
copyrightHolder: Original Author
license: BSD License
licenseUrl: https://raw.githubusercontent.com/hamcrest/JavaHamcrest/master/LICENSE.txt
url: https://github.com/hamcrest/JavaHamcrest
- artifact: org.jetbrains.kotlin:kotlin-annotations-jvm:+
name: kotlin-annotations-jvm
copyrightHolder: Original Author
license: The Apache License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: https://kotlinlang.org/
- artifact: org.jetbrains.kotlin:kotlin-stdlib-common:+
name: kotlin-stdlib-common
copyrightHolder: Original Author
@ -480,3 +593,15 @@
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://www.jetbrains.org
- artifact: org.mockito:mockito-core:+
name: mockito-core
copyrightHolder: Original Author
license: The MIT License
licenseUrl: https://github.com/mockito/mockito/blob/master/LICENSE
url: https://github.com/mockito/mockito
- artifact: org.objenesis:objenesis:+
name: objenesis
copyrightHolder: Original Author
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.txt
url: http://objenesis.org

View File

@ -9,4 +9,4 @@ apply from: file("../node_modules/@react-native-community/cli-platform-android/n
include ':app'
gradle.ext.exoplayerRoot = '../submodules/ExoPlayer'
gradle.ext.exoplayerModulePrefix = 'exoplayer-'
apply from: file("$gradle.ext.exoplayerRoot/core_settings.gradle")
apply from: file("exoplayer_settings.gradle")

View File

@ -11,7 +11,7 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"license:npm": "yarn licenses generate-disclaimer --production | grep -v '^info\\s\"\\?fsevents' > android/app/src/main/assets/licenses/npm_licenses.txt",
"license:android": "./android/gradlew -p android checkLicenses && ./android/gradlew -p android generateLicensePage",
"license:update": "./android/gradlew -p android updateLicenses",
"license:android:update": "./android/gradlew -p android updateLicenses",
"license": "yarn license:npm && yarn license:android",
"version:patch": "yarn version --patch --no-git-tag-version && ./android/gradlew -p android bumpPatchVersion",
"version:minor": "yarn version --minor --no-git-tag-version && ./android/gradlew -p android bumpMinorVersion",