blob: 25e2097007f5f01bb9e3c23ec23047fa3a16f00f [file] [log] [blame]
xians@google.comd3185fe2011-09-12 12:24:39 +00001# 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.
niklase@google.com470e71d2011-07-07 08:21:25 +00008
9{
niklase@google.com470e71d2011-07-07 08:21:25 +000010 'targets': [
11 {
12 'target_name': 'video_processing',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000013 'type': 'static_library',
niklase@google.com470e71d2011-07-07 08:21:25 +000014 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000015 'webrtc_utility',
andrew@webrtc.org34235372013-04-30 23:43:26 +000016 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
andrew@webrtc.orgfa418ac2012-09-11 01:34:21 +000017 '<(webrtc_root)/common_video/common_video.gyp:common_video',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000018 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
niklase@google.com470e71d2011-07-07 08:21:25 +000019 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000020 'sources': [
Henrik Kjellander0f59a882015-11-18 22:31:24 +010021 'include/video_processing.h',
22 'include/video_processing_defines.h',
23 'brighten.cc',
24 'brighten.h',
25 'brightness_detection.cc',
26 'brightness_detection.h',
27 'content_analysis.cc',
28 'content_analysis.h',
29 'deflickering.cc',
30 'deflickering.h',
31 'frame_preprocessor.cc',
32 'frame_preprocessor.h',
33 'spatial_resampler.cc',
34 'spatial_resampler.h',
35 'video_decimator.cc',
36 'video_decimator.h',
37 'video_processing_impl.cc',
38 'video_processing_impl.h',
andrew@webrtc.orgc8d012f2012-01-13 19:43:09 +000039 ],
40 'conditions': [
41 ['target_arch=="ia32" or target_arch=="x64"', {
42 'dependencies': [ 'video_processing_sse2', ],
43 }],
44 ],
45 },
andrew@webrtc.org737c0232012-02-14 19:57:50 +000046 ],
47 'conditions': [
48 ['target_arch=="ia32" or target_arch=="x64"', {
49 'targets': [
50 {
51 'target_name': 'video_processing_sse2',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000052 'type': 'static_library',
andrew@webrtc.org737c0232012-02-14 19:57:50 +000053 'sources': [
Henrik Kjellander0f59a882015-11-18 22:31:24 +010054 'content_analysis_sse2.cc',
andrew@webrtc.org737c0232012-02-14 19:57:50 +000055 ],
andrew@webrtc.org737c0232012-02-14 19:57:50 +000056 'conditions': [
57 ['os_posix==1 and OS!="mac"', {
58 'cflags': [ '-msse2', ],
59 }],
60 ['OS=="mac"', {
61 'xcode_settings': {
62 'OTHER_CFLAGS': [ '-msse2', ],
63 },
64 }],
65 ],
66 },
andrew@webrtc.orgc8d012f2012-01-13 19:43:09 +000067 ],
andrew@webrtc.org737c0232012-02-14 19:57:50 +000068 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000069 ],
70}
71