OLD | NEW |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 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 { | 9 { |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'video_processing', | 12 'target_name': 'video_processing', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
15 'webrtc_utility', | 15 'webrtc_utility', |
16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
17 '<(webrtc_root)/common_video/common_video.gyp:common_video', | 17 '<(webrtc_root)/common_video/common_video.gyp:common_video', |
18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'main/interface/video_processing.h', | 21 'include/video_processing.h', |
22 'main/interface/video_processing_defines.h', | 22 'include/video_processing_defines.h', |
23 'main/source/brighten.cc', | 23 'brighten.cc', |
24 'main/source/brighten.h', | 24 'brighten.h', |
25 'main/source/brightness_detection.cc', | 25 'brightness_detection.cc', |
26 'main/source/brightness_detection.h', | 26 'brightness_detection.h', |
27 'main/source/content_analysis.cc', | 27 'content_analysis.cc', |
28 'main/source/content_analysis.h', | 28 'content_analysis.h', |
29 'main/source/deflickering.cc', | 29 'deflickering.cc', |
30 'main/source/deflickering.h', | 30 'deflickering.h', |
31 'main/source/frame_preprocessor.cc', | 31 'frame_preprocessor.cc', |
32 'main/source/frame_preprocessor.h', | 32 'frame_preprocessor.h', |
33 'main/source/spatial_resampler.cc', | 33 'spatial_resampler.cc', |
34 'main/source/spatial_resampler.h', | 34 'spatial_resampler.h', |
35 'main/source/video_decimator.cc', | 35 'video_decimator.cc', |
36 'main/source/video_decimator.h', | 36 'video_decimator.h', |
37 'main/source/video_processing_impl.cc', | 37 'video_processing_impl.cc', |
38 'main/source/video_processing_impl.h', | 38 'video_processing_impl.h', |
39 ], | 39 ], |
40 'conditions': [ | 40 'conditions': [ |
41 ['target_arch=="ia32" or target_arch=="x64"', { | 41 ['target_arch=="ia32" or target_arch=="x64"', { |
42 'dependencies': [ 'video_processing_sse2', ], | 42 'dependencies': [ 'video_processing_sse2', ], |
43 }], | 43 }], |
44 ], | 44 ], |
45 }, | 45 }, |
46 ], | 46 ], |
47 'conditions': [ | 47 'conditions': [ |
48 ['target_arch=="ia32" or target_arch=="x64"', { | 48 ['target_arch=="ia32" or target_arch=="x64"', { |
49 'targets': [ | 49 'targets': [ |
50 { | 50 { |
51 'target_name': 'video_processing_sse2', | 51 'target_name': 'video_processing_sse2', |
52 'type': 'static_library', | 52 'type': 'static_library', |
53 'sources': [ | 53 'sources': [ |
54 'main/source/content_analysis_sse2.cc', | 54 'content_analysis_sse2.cc', |
55 ], | 55 ], |
56 'conditions': [ | 56 'conditions': [ |
57 ['os_posix==1 and OS!="mac"', { | 57 ['os_posix==1 and OS!="mac"', { |
58 'cflags': [ '-msse2', ], | 58 'cflags': [ '-msse2', ], |
59 }], | 59 }], |
60 ['OS=="mac"', { | 60 ['OS=="mac"', { |
61 'xcode_settings': { | 61 'xcode_settings': { |
62 'OTHER_CFLAGS': [ '-msse2', ], | 62 'OTHER_CFLAGS': [ '-msse2', ], |
63 }, | 63 }, |
64 }], | 64 }], |
65 ], | 65 ], |
66 }, | 66 }, |
67 ], | 67 ], |
68 }], | 68 }], |
69 ], | 69 ], |
70 } | 70 } |
71 | 71 |
OLD | NEW |