From ad503a021691736bb0fea9130b672c010677b367 Mon Sep 17 00:00:00 2001 From: Nelson Li Date: Wed, 8 Jan 2025 04:04:41 +0000 Subject: [PATCH] To ensure that gs201's init_dpm.sh is only built for gs201 devices. After confirmation, devices where `USES_DEVICE_GOOGLE_GS201` is true will ultimately include device/google/gs201/device.mk. Therefore, setting PRODUCT_SOONG_NAMESPACES in this file can prevent misuse by other devices. Flag: EXEMPT refactor Bug: 385999805 Test: lunch gs201 products; m -j init_dpm.sh Change-Id: Ic4283242786222bbf734cea7d91f6d230e12b6f6 --- device.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device.mk b/device.mk index 6ef1b9dc..fc210617 100644 --- a/device.mk +++ b/device.mk @@ -74,6 +74,7 @@ PRODUCT_SOONG_NAMESPACES += \ device/google/gs201 \ device/google/gs201/powerstats \ vendor/google_devices/common/chre/host/hal \ + vendor/google_devices/gs201/proprietary/debugpolicy \ vendor/google/whitechapel/tools \ vendor/google/interfaces \ vendor/google_nos/host/android \