diff --git a/audio/sepolicy/common/genfs_contexts b/audio/sepolicy/common/genfs_contexts index eaa0c71..c4a3120 100644 --- a/audio/sepolicy/common/genfs_contexts +++ b/audio/sepolicy/common/genfs_contexts @@ -21,3 +21,4 @@ genfscon sysfs /devices/platform/audiometrics/call_count u:ob genfscon sysfs /devices/platform/audiometrics/offload_effects_id u:object_r:sysfs_pixelstats:s0 genfscon sysfs /devices/platform/audiometrics/offload_effects_duration u:object_r:sysfs_pixelstats:s0 genfscon sysfs /devices/platform/audiometrics/bt_usage u:object_r:sysfs_pixelstats:s0 +genfscon sysfs /devices/platform/audiometrics/speaker_version u:object_r:sysfs_pixelstats:s0 diff --git a/camera/lyric.mk b/camera/lyric.mk index e3feab3..7762f4d 100644 --- a/camera/lyric.mk +++ b/camera/lyric.mk @@ -11,13 +11,8 @@ ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),) $(call soong_config_set,gch,hwl_library,lyric) endif -# Check if we're in PDK build -ifeq ($(wildcard vendor/google/camera),) -# If vendor/google/camera doesn't exist, it's a PDK build. -$(call soong_config_set,lyric,pdk_build,true) -else -# Otherwise, it's an internal Google build. -$(call soong_config_set,lyric,pdk_build,false) +# Check if we're in the internal build +ifneq ($(wildcard vendor/google/camera),) PRODUCT_SOONG_NAMESPACES += \ vendor/google/camera \ diff --git a/device.mk b/device.mk index 4787315..45b7da8 100644 --- a/device.mk +++ b/device.mk @@ -14,7 +14,9 @@ # limitations under the License. # +ifeq (,$(filter true, $(PRODUCT_WITHOUT_TTS_VOICE_PACKS))) include device/google/gs-common/tts/voice_packs.mk +endif PRODUCT_SOONG_NAMESPACES += \ device/google/gs-common/powerstats