commit | 1d50676e3feb0df643e93bce5f5634a53af10641 | [log] [tgz] |
---|---|---|
author | Tommy Chiu <tommychiu@google.com> | Wed Oct 09 05:05:34 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Oct 18 21:15:19 2024 +0000 |
tree | f56962f95c511e4749bc47cfe4e29c75219c9c66 | |
parent | 6993882c34d70c0f70b3bc3b559a1bd5bbba0120 [diff] [blame] |
gsc: Change the criteria for building GSC targets There can be a case where vendor directory exists but vendor/google_nos does not. Bug: 371059500 Test: manual Flag: EXEMPT refactor (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8af77ef94228bf37bd7be4d8db496f7084e0333d) Merged-In: I96f429ec3284114868ad220ea308a6920930c065 Change-Id: I96f429ec3284114868ad220ea308a6920930c065
diff --git a/dauntless/gsc.mk b/dauntless/gsc.mk index c1cf0e0..b563cc4 100644 --- a/dauntless/gsc.mk +++ b/dauntless/gsc.mk
@@ -1,6 +1,6 @@ # Dauntless BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/dauntless/sepolicy -ifneq ($(wildcard vendor),) +ifneq ($(wildcard vendor/google_nos),) PRODUCT_SOONG_NAMESPACES += vendor/google_nos/init/dauntless PRODUCT_PACKAGES += \ @@ -92,4 +92,4 @@ $(call dist-for-goals,droid,vendor/google_nos/prebuilts/dauntless/intermediate_images/d3m2_intermediate.ec.bin) endif -endif # $(wildcard vendor) +endif # $(wildcard vendor/google_nos)