blob: 3c3f580901a9bf365868c35563a8e9117d1bc92b [file] [log] [blame]
// Glob in all the build.gradle files we can find across the project
fileTree('.') {
include '*/**/build.gradle'
exclude '**/pkginfo' // exclude pkginfo for now, it does not work yet
}.each { include relativePath(it.parent).replace('/',':') }
// Add the magical gpu project that has no matching dir, for special rules
include 'gpu'
project(':gpu').buildFileName = "../gpu.gradle"
// The following is an ugly hack to enable apic commands to happen in parallel
[
':gfxapi:gfxapi_test-api.go',
':gfxapi:gfxapi_test-replay_writer.go',
':gfxapi:gfxapi_test-schema.go',
':gfxapi:gfxapi_test-state_mutator.go',
':gfxapi:gles-api.go',
':gfxapi:gles-api_exports.cpp',
':gfxapi:gles-api_imports.cpp',
':gfxapi:gles-api_imports.h',
':gfxapi:gles-api_spy.h',
':gfxapi:gles-api_types.h',
':gfxapi:gles-gfx_api.cpp',
':gfxapi:gles-gfx_api.h',
':gfxapi:gles-opengl32_exports.def',
':gfxapi:gles-opengl32_resolve.cpp',
':gfxapi:gles-opengl32_x64.asm',
':gfxapi:gles-opengl_framework_exports.cpp',
':gfxapi:gles-replay_writer.go',
':gfxapi:gles-schema.go',
':gfxapi:gles-state_mutator.go',
].each { name ->
include name
project(name).buildFileName = 'ignore'
project(name).projectDir = file("$settingsDir/$name")
}