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

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

Issue 1410663004: modules/video_processing: refactor interface->include + more. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years, 1 month 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/modules.gyp ('k') | webrtc/modules/video_processing/brighten.h » ('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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
11 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" 11 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64"
12 12
13 source_set("video_processing") { 13 source_set("video_processing") {
14 sources = [ 14 sources = [
15 "main/interface/video_processing.h", 15 "brighten.cc",
16 "main/interface/video_processing_defines.h", 16 "brighten.h",
17 "main/source/brighten.cc", 17 "brightness_detection.cc",
18 "main/source/brighten.h", 18 "brightness_detection.h",
19 "main/source/brightness_detection.cc", 19 "content_analysis.cc",
20 "main/source/brightness_detection.h", 20 "content_analysis.h",
21 "main/source/content_analysis.cc", 21 "deflickering.cc",
22 "main/source/content_analysis.h", 22 "deflickering.h",
23 "main/source/deflickering.cc", 23 "frame_preprocessor.cc",
24 "main/source/deflickering.h", 24 "frame_preprocessor.h",
25 "main/source/frame_preprocessor.cc", 25 "include/video_processing.h",
26 "main/source/frame_preprocessor.h", 26 "include/video_processing_defines.h",
27 "main/source/spatial_resampler.cc", 27 "spatial_resampler.cc",
28 "main/source/spatial_resampler.h", 28 "spatial_resampler.h",
29 "main/source/video_decimator.cc", 29 "video_decimator.cc",
30 "main/source/video_decimator.h", 30 "video_decimator.h",
31 "main/source/video_processing_impl.cc", 31 "video_processing_impl.cc",
32 "main/source/video_processing_impl.h", 32 "video_processing_impl.h",
33 ] 33 ]
34 34
35 deps = [ 35 deps = [
36 "../../common_audio", 36 "../../common_audio",
37 "../../common_video", 37 "../../common_video",
38 "../../modules/utility", 38 "../../modules/utility",
39 "../../system_wrappers", 39 "../../system_wrappers",
40 ] 40 ]
41 if (build_video_processing_sse2) { 41 if (build_video_processing_sse2) {
42 deps += [ ":video_processing_sse2" ] 42 deps += [ ":video_processing_sse2" ]
43 } 43 }
44 44
45 configs += [ "../..:common_config" ] 45 configs += [ "../..:common_config" ]
46 public_configs = [ "../..:common_inherited_config" ] 46 public_configs = [ "../..:common_inherited_config" ]
47 47
48 if (is_clang) { 48 if (is_clang) {
49 # Suppress warnings from Chrome's Clang plugins. 49 # Suppress warnings from Chrome's Clang plugins.
50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
51 configs -= [ "//build/config/clang:find_bad_constructs" ] 51 configs -= [ "//build/config/clang:find_bad_constructs" ]
52 } 52 }
53 } 53 }
54 54
55 if (build_video_processing_sse2) { 55 if (build_video_processing_sse2) {
56 source_set("video_processing_sse2") { 56 source_set("video_processing_sse2") {
57 sources = [ 57 sources = [
58 "main/source/content_analysis_sse2.cc", 58 "content_analysis_sse2.cc",
59 ] 59 ]
60 60
61 configs += [ "../..:common_config" ] 61 configs += [ "../..:common_config" ]
62 public_configs = [ "../..:common_inherited_config" ] 62 public_configs = [ "../..:common_inherited_config" ]
63 63
64 if (is_clang) { 64 if (is_clang) {
65 # Suppress warnings from Chrome's Clang plugins. 65 # Suppress warnings from Chrome's Clang plugins.
66 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 66 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
67 configs -= [ "//build/config/clang:find_bad_constructs" ] 67 configs -= [ "//build/config/clang:find_bad_constructs" ]
68 } 68 }
69 69
70 if (is_posix) { 70 if (is_posix) {
71 cflags = [ "-msse2" ] 71 cflags = [ "-msse2" ]
72 } 72 }
73 } 73 }
74 } 74 }
OLDNEW
« no previous file with comments | « webrtc/modules/modules.gyp ('k') | webrtc/modules/video_processing/brighten.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698