Extract FreezeHooks and make them testable (#4654)
This commit is contained in:
committed by
Vasily Levchenko
parent
e2280ce855
commit
d84c83d7da
+2
@@ -33,7 +33,9 @@ open class CompileToBitcode @Inject constructor(
|
||||
val linkerArgs = mutableListOf<String>()
|
||||
var excludeFiles: List<String> = listOf(
|
||||
"**/*Test.cpp",
|
||||
"**/*TestSupport.cpp",
|
||||
"**/*Test.mm",
|
||||
"**/*TestSupport.mm",
|
||||
)
|
||||
var includeFiles: List<String> = listOf(
|
||||
"**/*.cpp",
|
||||
|
||||
+1
-1
@@ -206,7 +206,7 @@ private fun createTestTask(
|
||||
).apply {
|
||||
this.sanitizer = sanitizer
|
||||
excludeFiles = emptyList()
|
||||
includeFiles = listOf("**/*Test.cpp", "**/*Test.mm")
|
||||
includeFiles = listOf("**/*Test.cpp", "**/*TestSupport.cpp", "**/*Test.mm", "**/*TestSupport.mm")
|
||||
dependsOn(it)
|
||||
dependsOn("downloadGoogleTest")
|
||||
compilerArgs.addAll(it.compilerArgs)
|
||||
|
||||
Reference in New Issue
Block a user