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") |
(...skipping 30 matching lines...) Expand all Loading... |
41 "../../modules/utility", | 41 "../../modules/utility", |
42 "../../system_wrappers", | 42 "../../system_wrappers", |
43 ] | 43 ] |
44 if (build_video_processing_sse2) { | 44 if (build_video_processing_sse2) { |
45 deps += [ ":video_processing_sse2" ] | 45 deps += [ ":video_processing_sse2" ] |
46 } | 46 } |
47 if (rtc_build_with_neon) { | 47 if (rtc_build_with_neon) { |
48 deps += [ ":video_processing_neon" ] | 48 deps += [ ":video_processing_neon" ] |
49 } | 49 } |
50 | 50 |
51 public_configs = [ "../..:common_inherited_config" ] | |
52 | |
53 if (is_clang) { | 51 if (is_clang) { |
54 # Suppress warnings from Chrome's Clang plugins. | 52 # Suppress warnings from Chrome's Clang plugins. |
55 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
56 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
57 } | 55 } |
58 } | 56 } |
59 | 57 |
60 if (build_video_processing_sse2) { | 58 if (build_video_processing_sse2) { |
61 rtc_source_set("video_processing_sse2") { | 59 rtc_source_set("video_processing_sse2") { |
62 sources = [ | 60 sources = [ |
63 "util/denoiser_filter_sse2.cc", | 61 "util/denoiser_filter_sse2.cc", |
64 "util/denoiser_filter_sse2.h", | 62 "util/denoiser_filter_sse2.h", |
65 ] | 63 ] |
66 | 64 |
67 public_configs = [ "../..:common_inherited_config" ] | |
68 | |
69 if (is_clang) { | 65 if (is_clang) { |
70 # Suppress warnings from Chrome's Clang plugins. | 66 # Suppress warnings from Chrome's Clang plugins. |
71 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 67 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
72 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 68 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
73 } | 69 } |
74 | 70 |
75 if (is_posix) { | 71 if (is_posix) { |
76 cflags = [ "-msse2" ] | 72 cflags = [ "-msse2" ] |
77 } | 73 } |
78 } | 74 } |
79 } | 75 } |
80 | 76 |
81 if (rtc_build_with_neon) { | 77 if (rtc_build_with_neon) { |
82 rtc_source_set("video_processing_neon") { | 78 rtc_source_set("video_processing_neon") { |
83 sources = [ | 79 sources = [ |
84 "util/denoiser_filter_neon.cc", | 80 "util/denoiser_filter_neon.cc", |
85 "util/denoiser_filter_neon.h", | 81 "util/denoiser_filter_neon.h", |
86 ] | 82 ] |
87 if (current_cpu != "arm64") { | 83 if (current_cpu != "arm64") { |
88 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] | 84 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] |
89 cflags = [ "-mfpu=neon" ] | 85 cflags = [ "-mfpu=neon" ] |
90 } | 86 } |
91 public_configs = [ "../..:common_inherited_config" ] | |
92 } | 87 } |
93 } | 88 } |
OLD | NEW |