blob: 1eb21272079132ddb705a25e7fb27afc416821b1 [file] [log] [blame]
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +00001# Copyright (c) 2012 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# This target is broken out into its own gyp file in order to be treated as
10# third party code. (Since src/build/common.gypi is not included,
11# chromium_code is disabled).
12#
13# We can't place this in third_party/ because Chromium parses
14# video_capture.gypi and would fail to find it in the Chromium third_party/.
15{
16 'targets': [
17 {
18 'target_name': 'direct_show_base_classes',
19 'type': 'static_library',
20 'variables': {
21 # Path needed to build the Direct Show base classes on Windows. The
22 # code is included in the Windows SDK.
23 'direct_show_dir%':
24 'C:/Program Files/Microsoft SDKs/Windows/v7.1/Samples/multimedia/directshow/baseclasses/',
25 },
26 'defines!': [
27 'NOMINMAX',
28 ],
29 'include_dirs': [
30 '<(direct_show_dir)',
31 ],
32 'direct_dependent_settings': {
33 'include_dirs': [
34 '<(direct_show_dir)',
35 ],
36 },
37 'sources': [
38 '<(direct_show_dir)amextra.cpp',
39 '<(direct_show_dir)amextra.h',
40 '<(direct_show_dir)amfilter.cpp',
41 '<(direct_show_dir)amfilter.h',
42 '<(direct_show_dir)amvideo.cpp',
43 '<(direct_show_dir)cache.h',
44 '<(direct_show_dir)combase.cpp',
45 '<(direct_show_dir)combase.h',
46 '<(direct_show_dir)cprop.cpp',
47 '<(direct_show_dir)cprop.h',
48 '<(direct_show_dir)ctlutil.cpp',
49 '<(direct_show_dir)ctlutil.h',
50 '<(direct_show_dir)ddmm.cpp',
51 '<(direct_show_dir)ddmm.h',
52 '<(direct_show_dir)dllentry.cpp',
53 '<(direct_show_dir)dllsetup.cpp',
54 '<(direct_show_dir)dllsetup.h',
55 '<(direct_show_dir)fourcc.h',
56 '<(direct_show_dir)measure.h',
57 '<(direct_show_dir)msgthrd.h',
58 '<(direct_show_dir)mtype.cpp',
59 '<(direct_show_dir)mtype.h',
60 '<(direct_show_dir)outputq.cpp',
61 '<(direct_show_dir)outputq.h',
62 '<(direct_show_dir)pstream.cpp',
63 '<(direct_show_dir)pstream.h',
64 '<(direct_show_dir)pullpin.cpp',
65 '<(direct_show_dir)pullpin.h',
66 '<(direct_show_dir)refclock.cpp',
67 '<(direct_show_dir)refclock.h',
68 '<(direct_show_dir)reftime.h',
69 '<(direct_show_dir)renbase.cpp',
70 '<(direct_show_dir)renbase.h',
71 '<(direct_show_dir)schedule.cpp',
72 '<(direct_show_dir)seekpt.cpp',
73 '<(direct_show_dir)seekpt.h',
74 '<(direct_show_dir)source.cpp',
75 '<(direct_show_dir)source.h',
76 '<(direct_show_dir)streams.h',
77 '<(direct_show_dir)strmctl.cpp',
78 '<(direct_show_dir)strmctl.h',
79 '<(direct_show_dir)sysclock.cpp',
80 '<(direct_show_dir)sysclock.h',
81 '<(direct_show_dir)transfrm.cpp',
82 '<(direct_show_dir)transfrm.h',
83 '<(direct_show_dir)transip.cpp',
84 '<(direct_show_dir)transip.h',
85 '<(direct_show_dir)videoctl.cpp',
86 '<(direct_show_dir)videoctl.h',
87 '<(direct_show_dir)vtrans.cpp',
88 '<(direct_show_dir)vtrans.h',
89 '<(direct_show_dir)winctrl.cpp',
90 '<(direct_show_dir)winctrl.h',
91 '<(direct_show_dir)winutil.cpp',
92 '<(direct_show_dir)winutil.h',
93 '<(direct_show_dir)wxdebug.cpp',
94 '<(direct_show_dir)wxdebug.h',
95 '<(direct_show_dir)wxlist.cpp',
96 '<(direct_show_dir)wxlist.h',
97 '<(direct_show_dir)wxutil.cpp',
98 '<(direct_show_dir)wxutil.h',
99 ],
100 },
101 ],
102}