diff --git a/core_settings.gradle b/core_settings.gradle index 2c6ddbda78..ac56933155 100644 --- a/core_settings.gradle +++ b/core_settings.gradle @@ -26,6 +26,7 @@ include modulePrefix + 'library-hls' include modulePrefix + 'library-smoothstreaming' include modulePrefix + 'library-ui' include modulePrefix + 'testutils' +include modulePrefix + 'testdata' include modulePrefix + 'extension-av1' include modulePrefix + 'extension-ffmpeg' include modulePrefix + 'extension-flac' @@ -51,6 +52,7 @@ project(modulePrefix + 'library-hls').projectDir = new File(rootDir, 'library/hl 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 + 'testdata').projectDir = new File(rootDir, 'testdata') 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') diff --git a/testdata/README.md b/testdata/README.md new file mode 100644 index 0000000000..911505926b --- /dev/null +++ b/testdata/README.md @@ -0,0 +1,4 @@ +# ExoPlayer test data # + +Provides sample data for ExoPlayer unit and instrumentation tests. + diff --git a/testdata/build.gradle b/testdata/build.gradle new file mode 100644 index 0000000000..372a01132e --- /dev/null +++ b/testdata/build.gradle @@ -0,0 +1,18 @@ +// Copyright 2020 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 + diff --git a/testdata/src/main/AndroidManifest.xml b/testdata/src/main/AndroidManifest.xml new file mode 100644 index 0000000000..280235f11a --- /dev/null +++ b/testdata/src/main/AndroidManifest.xml @@ -0,0 +1,17 @@ + + + +