Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Side by Side Diff: webrtc/modules/video_processing/BUILD.gn

Issue 2839963005: Revert of Creating webrtc/modules:module_api (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
30 "../../base:rtc_base_approved", 29 "../../base:rtc_base_approved",
31 "../../common_audio", 30 "../../common_audio",
32 "../../common_video", 31 "../../common_video",
33 "../../modules/utility", 32 "../../modules/utility",
34 "../../system_wrappers", 33 "../../system_wrappers",
35 ] 34 ]
36 if (build_video_processing_sse2) { 35 if (build_video_processing_sse2) {
37 deps += [ ":video_processing_sse2" ] 36 deps += [ ":video_processing_sse2" ]
38 } 37 }
39 if (rtc_build_with_neon) { 38 if (rtc_build_with_neon) {
40 deps += [ ":video_processing_neon" ] 39 deps += [ ":video_processing_neon" ]
41 } 40 }
42 41
43 if (!build_with_chromium && is_clang) { 42 if (!build_with_chromium && is_clang) {
44 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 43 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
45 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 44 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
46 } 45 }
47 } 46 }
48 47
49 rtc_source_set("denoiser_filter") { 48 rtc_source_set("denoiser_filter") {
50 # Target that only exists to avoid cyclic depdency errors for the SSE2 and 49 # Target that only exists to avoid cyclic depdency errors for the SSE2 and
51 # Neon implementations below. 50 # Neon implementations below.
52 sources = [ 51 sources = [
53 "util/denoiser_filter.h", 52 "util/denoiser_filter.h",
54 ] 53 ]
55 deps = [
56 "..:module_api",
57 ]
58 } 54 }
59 55
60 if (build_video_processing_sse2) { 56 if (build_video_processing_sse2) {
61 rtc_static_library("video_processing_sse2") { 57 rtc_static_library("video_processing_sse2") {
62 sources = [ 58 sources = [
63 "util/denoiser_filter_sse2.cc", 59 "util/denoiser_filter_sse2.cc",
64 "util/denoiser_filter_sse2.h", 60 "util/denoiser_filter_sse2.h",
65 ] 61 ]
66 62
67 deps = [ 63 deps = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "../../common_video:common_video", 113 "../../common_video:common_video",
118 "../../test:test_support", 114 "../../test:test_support",
119 "../../test:video_test_common", 115 "../../test:video_test_common",
120 ] 116 ]
121 if (!build_with_chromium && is_clang) { 117 if (!build_with_chromium && is_clang) {
122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 118 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 119 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
124 } 120 }
125 } 121 }
126 } 122 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698