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("../../build/webrtc.gni") | 10 import("../../build/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 source_set("video_processing") { | 14 source_set("video_processing") { |
15 sources = [ | 15 sources = [ |
16 "content_analysis.cc", | |
17 "content_analysis.h", | |
18 "frame_preprocessor.cc", | 16 "frame_preprocessor.cc", |
19 "frame_preprocessor.h", | 17 "frame_preprocessor.h", |
20 "include/video_processing.h", | 18 "include/video_processing.h", |
21 "include/video_processing_defines.h", | 19 "include/video_processing_defines.h", |
22 "spatial_resampler.cc", | 20 "spatial_resampler.cc", |
23 "spatial_resampler.h", | 21 "spatial_resampler.h", |
24 "util/denoiser_filter.cc", | 22 "util/denoiser_filter.cc", |
25 "util/denoiser_filter.h", | 23 "util/denoiser_filter.h", |
26 "util/denoiser_filter_c.cc", | 24 "util/denoiser_filter_c.cc", |
27 "util/denoiser_filter_c.h", | 25 "util/denoiser_filter_c.h", |
(...skipping 28 matching lines...) Expand all Loading... |
56 if (is_clang) { | 54 if (is_clang) { |
57 # Suppress warnings from Chrome's Clang plugins. | 55 # Suppress warnings from Chrome's Clang plugins. |
58 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 56 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
59 configs -= [ "//build/config/clang:find_bad_constructs" ] | 57 configs -= [ "//build/config/clang:find_bad_constructs" ] |
60 } | 58 } |
61 } | 59 } |
62 | 60 |
63 if (build_video_processing_sse2) { | 61 if (build_video_processing_sse2) { |
64 source_set("video_processing_sse2") { | 62 source_set("video_processing_sse2") { |
65 sources = [ | 63 sources = [ |
66 "content_analysis_sse2.cc", | |
67 "util/denoiser_filter_sse2.cc", | 64 "util/denoiser_filter_sse2.cc", |
68 "util/denoiser_filter_sse2.h", | 65 "util/denoiser_filter_sse2.h", |
69 ] | 66 ] |
70 | 67 |
71 configs += [ "../..:common_config" ] | 68 configs += [ "../..:common_config" ] |
72 public_configs = [ "../..:common_inherited_config" ] | 69 public_configs = [ "../..:common_inherited_config" ] |
73 | 70 |
74 if (is_clang) { | 71 if (is_clang) { |
75 # Suppress warnings from Chrome's Clang plugins. | 72 # Suppress warnings from Chrome's Clang plugins. |
76 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 73 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
(...skipping 13 matching lines...) Expand all Loading... |
90 "util/denoiser_filter_neon.h", | 87 "util/denoiser_filter_neon.h", |
91 ] | 88 ] |
92 if (current_cpu != "arm64") { | 89 if (current_cpu != "arm64") { |
93 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] | 90 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
94 cflags = [ "-mfpu=neon" ] | 91 cflags = [ "-mfpu=neon" ] |
95 } | 92 } |
96 configs += [ "../..:common_config" ] | 93 configs += [ "../..:common_config" ] |
97 public_configs = [ "../..:common_inherited_config" ] | 94 public_configs = [ "../..:common_inherited_config" ] |
98 } | 95 } |
99 } | 96 } |
OLD | NEW |