• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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{
10  'targets': [
11    {
12      'target_name': 'directshow_baseclasses',
13      'type': 'static_library',
14      'variables': {
15        'baseclasses_dir%':
16          'src/Samples/multimedia/directshow/baseclasses',
17      },
18      'defines!': [
19        'NOMINMAX',
20      ],
21      'include_dirs': ['<(baseclasses_dir)',],
22      'direct_dependent_settings': {
23        'include_dirs': ['<(baseclasses_dir)',],
24      },
25      'sources': [
26        '<(baseclasses_dir)/amextra.cpp',
27        '<(baseclasses_dir)/amextra.h',
28        '<(baseclasses_dir)/amfilter.cpp',
29        '<(baseclasses_dir)/amfilter.h',
30        '<(baseclasses_dir)/amvideo.cpp',
31        '<(baseclasses_dir)/cache.h',
32        '<(baseclasses_dir)/combase.cpp',
33        '<(baseclasses_dir)/combase.h',
34        '<(baseclasses_dir)/cprop.cpp',
35        '<(baseclasses_dir)/cprop.h',
36        '<(baseclasses_dir)/ctlutil.cpp',
37        '<(baseclasses_dir)/ctlutil.h',
38        '<(baseclasses_dir)/ddmm.cpp',
39        '<(baseclasses_dir)/ddmm.h',
40        '<(baseclasses_dir)/dllentry.cpp',
41        '<(baseclasses_dir)/dllsetup.cpp',
42        '<(baseclasses_dir)/dllsetup.h',
43        '<(baseclasses_dir)/fourcc.h',
44        '<(baseclasses_dir)/measure.h',
45        '<(baseclasses_dir)/msgthrd.h',
46        '<(baseclasses_dir)/mtype.cpp',
47        '<(baseclasses_dir)/mtype.h',
48        '<(baseclasses_dir)/outputq.cpp',
49        '<(baseclasses_dir)/outputq.h',
50        '<(baseclasses_dir)/pstream.cpp',
51        '<(baseclasses_dir)/pstream.h',
52        '<(baseclasses_dir)/pullpin.cpp',
53        '<(baseclasses_dir)/pullpin.h',
54        '<(baseclasses_dir)/refclock.cpp',
55        '<(baseclasses_dir)/refclock.h',
56        '<(baseclasses_dir)/reftime.h',
57        '<(baseclasses_dir)/renbase.cpp',
58        '<(baseclasses_dir)/renbase.h',
59        '<(baseclasses_dir)/schedule.cpp',
60        '<(baseclasses_dir)/seekpt.cpp',
61        '<(baseclasses_dir)/seekpt.h',
62        '<(baseclasses_dir)/source.cpp',
63        '<(baseclasses_dir)/source.h',
64        '<(baseclasses_dir)/streams.h',
65        '<(baseclasses_dir)/strmctl.cpp',
66        '<(baseclasses_dir)/strmctl.h',
67        '<(baseclasses_dir)/sysclock.cpp',
68        '<(baseclasses_dir)/sysclock.h',
69        '<(baseclasses_dir)/transfrm.cpp',
70        '<(baseclasses_dir)/transfrm.h',
71        '<(baseclasses_dir)/transip.cpp',
72        '<(baseclasses_dir)/transip.h',
73        '<(baseclasses_dir)/videoctl.cpp',
74        '<(baseclasses_dir)/videoctl.h',
75        '<(baseclasses_dir)/vtrans.cpp',
76        '<(baseclasses_dir)/vtrans.h',
77        '<(baseclasses_dir)/winctrl.cpp',
78        '<(baseclasses_dir)/winctrl.h',
79        '<(baseclasses_dir)/winutil.cpp',
80        '<(baseclasses_dir)/winutil.h',
81        '<(baseclasses_dir)/wxdebug.cpp',
82        '<(baseclasses_dir)/wxdebug.h',
83        '<(baseclasses_dir)/wxlist.cpp',
84        '<(baseclasses_dir)/wxlist.h',
85        '<(baseclasses_dir)/wxutil.cpp',
86        '<(baseclasses_dir)/wxutil.h',
87      ],
88      'conditions': [
89        ['clang==1', {
90          'msvs_settings': {
91            'VCCLCompilerTool': {
92              'AdditionalOptions': [
93                # Disable warnings failing when compiling with Clang on Windows.
94                # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
95                '-Wno-comment',
96                '-Wno-delete-non-virtual-dtor',
97                '-Wno-ignored-attributes',
98                '-Wno-logical-op-parentheses',
99                '-Wno-non-pod-varargs',
100                '-Wno-microsoft-extra-qualification',
101                '-Wno-missing-braces',
102                '-Wno-overloaded-virtual',
103                '-Wno-parentheses',
104                '-Wno-reorder',
105                '-Wno-string-conversion',
106                '-Wno-tautological-constant-out-of-range-compare',
107                '-Wno-unused-private-field',
108                '-Wno-writable-strings',
109              ],
110            },
111          },
112        },],
113      ],  # conditions.
114    },
115  ],
116}
117