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 Change-Id: I96f429ec3284114868ad220ea308a6920930c065
This commit is contained in:
parent
fa448be01f
commit
8af77ef942
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Dauntless
|
# Dauntless
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/dauntless/sepolicy
|
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_SOONG_NAMESPACES += vendor/google_nos/init/dauntless
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -92,4 +92,4 @@ endif
|
||||||
$(call dist-for-goals,droid,vendor/google_nos/prebuilts/dauntless/intermediate_images/d3m2_intermediate.ec.bin)
|
$(call dist-for-goals,droid,vendor/google_nos/prebuilts/dauntless/intermediate_images/d3m2_intermediate.ec.bin)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif # $(wildcard vendor)
|
endif # $(wildcard vendor/google_nos)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue