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

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

Issue 2311843002: GN Templates: Move common_inherited_config to the template. (Closed)
Patch Set: Added comment for rtc_common_inherited_config. Created 4 years, 3 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/p2p/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("../../build/webrtc.gni") 10 import("../../build/webrtc.gni")
(...skipping 30 matching lines...) Expand all
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/p2p/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698