// 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 = file(gradle.ext.exoplayerRoot) if (!gradle.ext.has('exoplayerSettingsDir')) { gradle.ext.exoplayerSettingsDir = rootDir.getCanonicalPath() } def modulePrefix = ':' if (gradle.ext.has('exoplayerModulePrefix')) { modulePrefix += gradle.ext.exoplayerModulePrefix } include modulePrefix + 'library' project(modulePrefix + 'library').projectDir = new File(rootDir, 'library/all') include modulePrefix + 'library-common' project(modulePrefix + 'library-common').projectDir = new File(rootDir, 'library/common') include modulePrefix + 'library-core' project(modulePrefix + 'library-core').projectDir = new File(rootDir, 'library/core') include modulePrefix + 'library-dash' project(modulePrefix + 'library-dash').projectDir = new File(rootDir, 'library/dash') include modulePrefix + 'library-extractor' project(modulePrefix + 'library-extractor').projectDir = new File(rootDir, 'library/extractor') include modulePrefix + 'library-hls' project(modulePrefix + 'library-hls').projectDir = new File(rootDir, 'library/hls') include modulePrefix + 'library-rtsp' project(modulePrefix + 'library-rtsp').projectDir = new File(rootDir, 'library/rtsp') include modulePrefix + 'library-smoothstreaming' project(modulePrefix + 'library-smoothstreaming').projectDir = new File(rootDir, 'library/smoothstreaming') include modulePrefix + 'library-transformer' project(modulePrefix + 'library-transformer').projectDir = new File(rootDir, 'library/transformer') include modulePrefix + 'library-ui' project(modulePrefix + 'library-ui').projectDir = new File(rootDir, 'library/ui') include modulePrefix + 'extension-av1' project(modulePrefix + 'extension-av1').projectDir = new File(rootDir, 'extensions/av1') include modulePrefix + 'extension-ffmpeg' project(modulePrefix + 'extension-ffmpeg').projectDir = new File(rootDir, 'extensions/ffmpeg') include modulePrefix + 'extension-flac' project(modulePrefix + 'extension-flac').projectDir = new File(rootDir, 'extensions/flac') include modulePrefix + 'extension-gvr' project(modulePrefix + 'extension-gvr').projectDir = new File(rootDir, 'extensions/gvr') include modulePrefix + 'extension-ima' project(modulePrefix + 'extension-ima').projectDir = new File(rootDir, 'extensions/ima') include modulePrefix + 'extension-cast' project(modulePrefix + 'extension-cast').projectDir = new File(rootDir, 'extensions/cast') include modulePrefix + 'extension-cronet' project(modulePrefix + 'extension-cronet').projectDir = new File(rootDir, 'extensions/cronet') include modulePrefix + 'extension-mediasession' project(modulePrefix + 'extension-mediasession').projectDir = new File(rootDir, 'extensions/mediasession') include modulePrefix + 'extension-media2' project(modulePrefix + 'extension-media2').projectDir = new File(rootDir, 'extensions/media2') include modulePrefix + 'extension-okhttp' project(modulePrefix + 'extension-okhttp').projectDir = new File(rootDir, 'extensions/okhttp') include modulePrefix + 'extension-opus' project(modulePrefix + 'extension-opus').projectDir = new File(rootDir, 'extensions/opus') include modulePrefix + 'extension-vp9' project(modulePrefix + 'extension-vp9').projectDir = new File(rootDir, 'extensions/vp9') include modulePrefix + 'extension-rtmp' project(modulePrefix + 'extension-rtmp').projectDir = new File(rootDir, 'extensions/rtmp') include modulePrefix + 'extension-leanback' project(modulePrefix + 'extension-leanback').projectDir = new File(rootDir, 'extensions/leanback') include modulePrefix + 'extension-workmanager' project(modulePrefix + 'extension-workmanager').projectDir = new File(rootDir, 'extensions/workmanager') include modulePrefix + 'robolectricutils' project(modulePrefix + 'robolectricutils').projectDir = new File(rootDir, 'robolectricutils') include modulePrefix + 'testdata' project(modulePrefix + 'testdata').projectDir = new File(rootDir, 'testdata') include modulePrefix + 'testutils' project(modulePrefix + 'testutils').projectDir = new File(rootDir, 'testutils')