Implement cc_cmake_snapshot

Bug: 302718225
Test: cd build/soong/cc && go test
Test: https://r.android.com/2803466
Change-Id: Ie7df635233ed68c40d917ea1f83f9fd4b5bfe729
This commit is contained in:
Hao Chen
2023-10-20 23:03:45 +00:00
committed by Tomasz Wasilczyk
parent 5b007eaa91
commit 1c8ea5b6e1
12 changed files with 746 additions and 11 deletions

View File

@@ -278,6 +278,10 @@ func (compiler *baseCompiler) compilerProps() []interface{} {
return []interface{}{&compiler.Properties, &compiler.Proto}
}
func (compiler *baseCompiler) baseCompilerProps() BaseCompilerProperties {
return compiler.Properties
}
func includeBuildDirectory(prop *bool) bool {
return proptools.BoolDefault(prop, true)
}