OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../../webrtc.gni") | 10 import("../../webrtc.gni") |
11 | 11 |
12 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" | 12 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" |
13 | 13 |
14 rtc_static_library("video_processing") { | 14 rtc_static_library("video_processing") { |
15 sources = [ | 15 sources = [ |
16 "util/denoiser_filter.cc", | 16 "util/denoiser_filter.cc", |
17 "util/denoiser_filter_c.cc", | 17 "util/denoiser_filter_c.cc", |
18 "util/denoiser_filter_c.h", | 18 "util/denoiser_filter_c.h", |
19 "util/noise_estimation.cc", | 19 "util/noise_estimation.cc", |
20 "util/noise_estimation.h", | 20 "util/noise_estimation.h", |
21 "util/skin_detection.cc", | 21 "util/skin_detection.cc", |
22 "util/skin_detection.h", | 22 "util/skin_detection.h", |
23 "video_denoiser.cc", | 23 "video_denoiser.cc", |
24 "video_denoiser.h", | 24 "video_denoiser.h", |
25 ] | 25 ] |
26 | 26 |
27 deps = [ | 27 deps = [ |
28 ":denoiser_filter", | 28 ":denoiser_filter", |
29 "..:module_api", | 29 "..:module_api", |
| 30 "../../base:rtc_base_approved", |
30 "../../common_audio", | 31 "../../common_audio", |
31 "../../common_video", | 32 "../../common_video", |
32 "../../modules/utility", | 33 "../../modules/utility", |
33 "../../rtc_base:rtc_base_approved", | |
34 "../../system_wrappers", | 34 "../../system_wrappers", |
35 ] | 35 ] |
36 if (build_video_processing_sse2) { | 36 if (build_video_processing_sse2) { |
37 deps += [ ":video_processing_sse2" ] | 37 deps += [ ":video_processing_sse2" ] |
38 } | 38 } |
39 if (rtc_build_with_neon) { | 39 if (rtc_build_with_neon) { |
40 deps += [ ":video_processing_neon" ] | 40 deps += [ ":video_processing_neon" ] |
41 } | 41 } |
42 | 42 |
43 if (!build_with_chromium && is_clang) { | 43 if (!build_with_chromium && is_clang) { |
(...skipping 15 matching lines...) Expand all Loading... |
59 | 59 |
60 if (build_video_processing_sse2) { | 60 if (build_video_processing_sse2) { |
61 rtc_static_library("video_processing_sse2") { | 61 rtc_static_library("video_processing_sse2") { |
62 sources = [ | 62 sources = [ |
63 "util/denoiser_filter_sse2.cc", | 63 "util/denoiser_filter_sse2.cc", |
64 "util/denoiser_filter_sse2.h", | 64 "util/denoiser_filter_sse2.h", |
65 ] | 65 ] |
66 | 66 |
67 deps = [ | 67 deps = [ |
68 ":denoiser_filter", | 68 ":denoiser_filter", |
69 "../../rtc_base:rtc_base_approved", | 69 "../../base:rtc_base_approved", |
70 "../../system_wrappers", | 70 "../../system_wrappers", |
71 ] | 71 ] |
72 | 72 |
73 if (!build_with_chromium && is_clang) { | 73 if (!build_with_chromium && is_clang) { |
74 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 74 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
75 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 75 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
76 } | 76 } |
77 | 77 |
78 if (is_posix) { | 78 if (is_posix) { |
79 cflags = [ "-msse2" ] | 79 cflags = [ "-msse2" ] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "../../common_video:common_video", | 117 "../../common_video:common_video", |
118 "../../test:test_support", | 118 "../../test:test_support", |
119 "../../test:video_test_common", | 119 "../../test:video_test_common", |
120 ] | 120 ] |
121 if (!build_with_chromium && is_clang) { | 121 if (!build_with_chromium && is_clang) { |
122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
124 } | 124 } |
125 } | 125 } |
126 } | 126 } |
OLD | NEW |