Stop using public_deps in modules/audio_processing.

TBR=phoglund@webrtc.org

Bug: webrtc:8603
Change-Id: Ib44266389e6f08a77bd92cffd1eba166147687f4
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29822
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21106}
diff --git a/modules/audio_processing/BUILD.gn b/modules/audio_processing/BUILD.gn
index 6f09165..75a5ac2 100644
--- a/modules/audio_processing/BUILD.gn
+++ b/modules/audio_processing/BUILD.gn
@@ -239,6 +239,7 @@
   defines = []
   deps = [
     ":aec_dump_interface",
+    ":audio_processing_c",
     ":audio_processing_statistics",
     "..:module_api",
     "../..:webrtc_common",
@@ -249,9 +250,6 @@
     "../../rtc_base:protobuf_utils",
     "../audio_coding:isac",
   ]
-  public_deps = [
-    ":audio_processing_c",
-  ]
 
   if (apm_debug_dump) {
     defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
@@ -451,10 +449,8 @@
     }
 
     deps = [
-      "../../common_audio",
-    ]
-    public_deps = [
       ":audio_processing_neon_c",
+      "../../common_audio",
     ]
 
     if (apm_debug_dump) {
@@ -498,7 +494,7 @@
 if (rtc_include_tests) {
   group("audio_processing_tests") {
     testonly = true
-    public_deps = [
+    deps = [
       ":audioproc_test_utils",
       ":click_annotate",
       ":nonlinear_beamformer_test",
@@ -506,11 +502,11 @@
     ]
 
     if (rtc_enable_intelligibility_enhancer) {
-      public_deps += [ ":intelligibility_proc" ]
+      deps += [ ":intelligibility_proc" ]
     }
 
     if (rtc_enable_protobuf) {
-      public_deps += [
+      deps += [
         ":audioproc_f",
         ":audioproc_unittest_proto",
         ":unpack_aecdump",