aom: cmake: rm some arm srcs w/CONFIG_REALTIME_ONLY=1

From 022c0fd402dc0bd985258a180442c2518843ab11 Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Tue, 6 Aug 2024 16:19:52 -0700
Subject: [PATCH] cmake: rm some arm srcs w/CONFIG_REALTIME_ONLY=1

obmc sad and pickrst are unused with this configuration.

This fixes some -Wmissing-prototypes warnings.

Bug: aomedia:42302428
Change-Id: I6370877de1292e0d0104f6c3df8e57237a587a9d
---
 aom_dsp/aom_dsp.cmake | 2 ++
 av1/av1.cmake         | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/aom_dsp/aom_dsp.cmake b/aom_dsp/aom_dsp.cmake
index a5cc5b9d3c..b021b0824f 100644
--- a/aom_dsp/aom_dsp.cmake
+++ b/aom_dsp/aom_dsp.cmake
@@ -377,7 +377,9 @@ if(CONFIG_AV1_ENCODER)
                      "${AOM_ROOT}/aom_dsp/x86/highbd_adaptive_quantize_sse2.c")
 
     list(REMOVE_ITEM AOM_DSP_ENCODER_INTRIN_NEON
+                     "${AOM_ROOT}/aom_dsp/arm/highbd_obmc_sad_neon.c"
                      "${AOM_ROOT}/aom_dsp/arm/highbd_obmc_variance_neon.c"
+                     "${AOM_ROOT}/aom_dsp/arm/obmc_sad_neon.c"
                      "${AOM_ROOT}/aom_dsp/arm/obmc_variance_neon.c")
   endif()
 endif()
diff --git a/av1/av1.cmake b/av1/av1.cmake
index bed6ab9220..9e0b5a380a 100644
--- a/av1/av1.cmake
+++ b/av1/av1.cmake
@@ -545,7 +545,10 @@ if(CONFIG_REALTIME_ONLY)
 
   list(REMOVE_ITEM AOM_AV1_ENCODER_INTRIN_NEON
                    "${AOM_ROOT}/av1/encoder/arm/cnn_neon.c"
+                   "${AOM_ROOT}/av1/encoder/arm/highbd_pickrst_neon.c"
                    "${AOM_ROOT}/av1/encoder/arm/highbd_temporal_filter_neon.c"
+                   "${AOM_ROOT}/av1/encoder/arm/pickrst_neon.c"
+                   "${AOM_ROOT}/av1/encoder/arm/pickrst_neon.h"
                    "${AOM_ROOT}/av1/encoder/arm/temporal_filter_neon.c")
 
   list(REMOVE_ITEM AOM_AV1_ENCODER_INTRIN_NEON_DOTPROD