summaryrefslogtreecommitdiff
path: root/cc/sanitize.go
diff options
context:
space:
mode:
author Kiyoung Kim <kiyoungkim@google.com> 2021-07-22 00:57:39 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-07-22 00:57:39 +0000
commit5d96f64d043af9cbd2f95d5dc076c74b7906b32f (patch)
tree715e2d87d3dae09e736e04610f6ab8d985c52596 /cc/sanitize.go
parentf8de870f4caecb794e22f74a81ee532e156cced9 (diff)
parentae11c233b52cb066b85b2e556faa8ac0bd483343 (diff)
Merge changes I3574d2a1,Ifb69fb3d
* changes: Update prebuilt_etc available for snapshot Separate snapshot definition
Diffstat (limited to 'cc/sanitize.go')
-rw-r--r--cc/sanitize.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/sanitize.go b/cc/sanitize.go
index defe8fde1..3863c3a7c 100644
--- a/cc/sanitize.go
+++ b/cc/sanitize.go
@@ -25,6 +25,7 @@ import (
"android/soong/android"
"android/soong/cc/config"
+ "android/soong/snapshot"
)
var (
@@ -907,7 +908,7 @@ func (m *Module) SanitizableDepTagChecker() SantizableDependencyTagChecker {
// as vendor snapshot. Such modules must create both cfi and non-cfi variants,
// except for ones which explicitly disable cfi.
func needsCfiForVendorSnapshot(mctx android.TopDownMutatorContext) bool {
- if IsVendorProprietaryModule(mctx) {
+ if snapshot.IsVendorProprietaryModule(mctx) {
return false
}