Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / video_processing / main / source / video_processing.gypi
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2 #
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS.  All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 {
10   'targets': [
11     {
12       'target_name': 'video_processing',
13       'type': 'static_library',
14       'dependencies': [
15         'webrtc_utility',
16         '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
17         '<(webrtc_root)/common_video/common_video.gyp:common_video',
18         '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
19       ],
20       'sources': [
21         '../interface/video_processing.h',
22         '../interface/video_processing_defines.h',
23         'brighten.cc',
24         'brighten.h',
25         'brightness_detection.cc',
26         'brightness_detection.h',
27         'color_enhancement.cc',
28         'color_enhancement.h',
29         'color_enhancement_private.h',
30         'content_analysis.cc',
31         'content_analysis.h',
32         'deflickering.cc',
33         'deflickering.h',
34         'frame_preprocessor.cc',
35         'frame_preprocessor.h',
36         'spatial_resampler.cc',
37         'spatial_resampler.h',
38         'video_decimator.cc',
39         'video_decimator.h',
40         'video_processing_impl.cc',
41         'video_processing_impl.h',
42       ],
43       'conditions': [
44         ['target_arch=="ia32" or target_arch=="x64"', {
45           'dependencies': [ 'video_processing_sse2', ],
46         }],
47       ],
48     },
49   ],
50   'conditions': [
51     ['target_arch=="ia32" or target_arch=="x64"', {
52       'targets': [
53         {
54           'target_name': 'video_processing_sse2',
55           'type': 'static_library',
56           'sources': [
57             'content_analysis_sse2.cc',
58           ],
59           'conditions': [
60             ['os_posix==1 and OS!="mac"', {
61               'cflags': [ '-msse2', ],
62             }],
63             ['OS=="mac"', {
64               'xcode_settings': {
65                 'OTHER_CFLAGS': [ '-msse2', ],
66               },
67             }],
68           ],
69         },
70       ],
71     }],
72   ],
73 }
74