Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: media/media_unittests.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/media_player.scons ('k') | media/using_media.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 __doc__ = """
6 Configuration for building the media_unittests{,.exe} executable.
7 """
8
9 Import('env')
10
11 env = env.Clone()
12
13 env.SConscript([
14 '$BASE_DIR/using_base.scons',
15 '$GTEST_DIR/../using_gtest.scons',
16 '$ICU38_DIR/using_icu38.scons',
17 '$MEDIA_DIR/using_media.scons',
18 ], {'env':env})
19
20 env.Prepend(
21 CPPPATH = [
22 '$CHROME_SRC_DIR',
23 ],
24 )
25
26 if env.Bit('windows'):
27 env.Prepend(
28 CCFLAGS = [
29 '/TP',
30 '/WX',
31 ],
32 CPPDEFINES = [
33 '_WIN32_WINNT=0x0600',
34 'WINVER=0x0600',
35 '_HAS_EXCEPTIONS=0',
36 ],
37 LINKFLAGS = [
38 '/DELAYLOAD:"dwmapi.dll"',
39 '/DELAYLOAD:"uxtheme.dll"',
40 '/MACHINE:X86',
41 '/FIXED:No',
42 '/safeseh',
43 '/dynamicbase',
44 '/ignore:4199',
45 '/nxcompat',
46 ],
47 )
48
49 input_files = ChromeFileList([
50 # TODO(sgk): violate standard indentation so we don't have to
51 # reindent too much when we remove the explicit MSVSFilter() calls
52 # in favor of generating the hierarchy to reflect the file system.
53 MSVSFilter('support', [
54 'base/run_all_unittests.cc',
55 ]),
56 MSVSFilter('tests', [
57 MSVSFilter('base', [
58 'base/data_buffer_unittest.cc',
59 'base/pipeline_impl_unittest.cc',
60 'base/video_frame_impl_unittest.cc',
61 'base/yuv_convert_unittest.cc',
62 ]),
63 MSVSFilter('filters', [
64 'filters/file_data_source_unittest.cc',
65 'filters/test_video_decoder.h',
66 'filters/test_video_renderer.h',
67 'filters/video_renderer_unittest.cc',
68 'filters/video_decoder_unittest.cc',
69 ]),
70 MSVSFilter('audio', [
71 'audio/win/audio_output_win_unittest.cc',
72 ]),
73 ]),
74 ])
75
76 if not env.Bit('windows'):
77 input_files.Remove(
78 'audio/win/audio_output_win_unittest.cc',
79 )
80
81 env.ChromeTestProgram('media_unittests', input_files)
82
83 p = env.ChromeMSVSProject('build/media_unittests.vcproj',
84 dest=('$CHROME_SRC_DIR/media/' +
85 'build/media_unittests.vcproj'),
86 guid='{C8C6183C-B03C-11DD-B471-DFD256D89593}',
87 keyword='Win32Proj',
88 # TODO(sgk): when we can intuit the hierarchy
89 # from the built targets.
90 #buildtargets=TODO,
91 files=input_files,
92 tools=[
93 'VCPreBuildEventTool',
94 'VCCustomBuildTool',
95 'VCXMLDataGeneratorTool',
96 'VCWebServiceProxyGeneratorTool',
97 'VCMIDLTool',
98 MSVSTool('VCCLCompilerTool',
99 PreprocessorDefinitions='UNIT_TEST'),
100 'VCManagedResourceCompilerTool',
101 'VCResourceCompilerTool',
102 'VCPreLinkEventTool',
103 'VCLinkerTool',
104 'VCALinkTool',
105 'VCManifestTool',
106 'VCXDCMakeTool',
107 'VCBscMakeTool',
108 'VCFxCopTool',
109 'VCAppVerifierTool',
110 'VCWebDeploymentTool',
111 'VCPostBuildEventTool',
112 ],
113 ConfigurationType='1')
114
115 p.AddConfig('Debug|Win32',
116 InheritedPropertySheets=[
117 '$(SolutionDir)../build/debug.vsprops',
118 '$(SolutionDir)../testing/using_gtest.vsprops',
119 ])
120
121 p.AddConfig('Release|Win32',
122 InheritedPropertySheets=[
123 '$(SolutionDir)../build/release.vsprops',
124 '$(SolutionDir)../testing/using_gtest.vsprops',
125 ])
OLDNEW
« no previous file with comments | « media/media_player.scons ('k') | media/using_media.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698