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