1*30877f79SAndroid Build Coastguard Worker// Copyright (C) 2016 The Android Open Source Project 2*30877f79SAndroid Build Coastguard Worker// 3*30877f79SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*30877f79SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*30877f79SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*30877f79SAndroid Build Coastguard Worker// 7*30877f79SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*30877f79SAndroid Build Coastguard Worker// 9*30877f79SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*30877f79SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*30877f79SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*30877f79SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*30877f79SAndroid Build Coastguard Worker// limitations under the License. 14*30877f79SAndroid Build Coastguard Workergradle.ext.exoplayerModulePrefix = '' 15*30877f79SAndroid Build Coastguard Worker 16*30877f79SAndroid Build Coastguard Workerdef modulePrefix = ':' 17*30877f79SAndroid Build Coastguard Workerif (gradle.ext.has('exoplayerModulePrefix')) { 18*30877f79SAndroid Build Coastguard Worker modulePrefix += gradle.ext.exoplayerModulePrefix 19*30877f79SAndroid Build Coastguard Worker} 20*30877f79SAndroid Build Coastguard Worker 21*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'demo' 22*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'demo').projectDir = new File(rootDir, 'demos/main') 23*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'demo-cast' 24*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'demo-cast').projectDir = new File(rootDir, 'demos/cast') 25*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'demo-gl' 26*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'demo-gl').projectDir = new File(rootDir, 'demos/gl') 27*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'demo-surface' 28*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'demo-surface').projectDir = new File(rootDir, 'demos/surface') 29*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'demo-transformer' 30*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'demo-transformer').projectDir = new File(rootDir, 'demos/transformer') 31*30877f79SAndroid Build Coastguard Worker 32*30877f79SAndroid Build Coastguard Workerinclude modulePrefix + 'playbacktests' 33*30877f79SAndroid Build Coastguard Workerproject(modulePrefix + 'playbacktests').projectDir = new File(rootDir, 'playbacktests') 34*30877f79SAndroid Build Coastguard Worker 35*30877f79SAndroid Build Coastguard Workerapply from: 'core_settings.gradle' 36