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

Side by Side Diff: chrome/plugin/plugin.scons

Issue 17603: Generate all chrome .vcproj files: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/installer/util/util.scons ('k') | chrome/renderer/renderer.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.SConscript([ 9 env.SConscript([
10 '$NPAPI_DIR/using_npapi.scons', 10 '$NPAPI_DIR/using_npapi.scons',
11 '$SKIA_DIR/using_skia.scons', 11 '$SKIA_DIR/using_skia.scons',
12 ], {'env':env}) 12 ], {'env':env})
13 13
14 env.Prepend( 14 env.Prepend(
15 CPPPATH = [ 15 CPPPATH = [
16 '$CHROME_SRC_DIR', 16 '$CHROME_SRC_DIR',
17 ], 17 ],
18 ) 18 )
19 19
20 if env.Bit('windows'): 20 if env.Bit('windows'):
21 env.Prepend( 21 env.Prepend(
22 CPPPATH = [ 22 CPPPATH = [
23 '$CHROME_DIR/tools/build/win', 23 '$CHROME_DIR/tools/build/win',
24 ], 24 ],
25 ) 25 )
26 26
27 input_files = [ 27 input_files = ChromeFileList([
28 # TODO(sgk): violate standard indentation so we don't have to
29 # reindent too much when we remove the explicit MSVSFilter() calls
30 # in favor of generating the hierarchy to reflect the file system.
31 MSVSFilter('NPObject', [
32 'npobject_proxy.cc',
33 'npobject_proxy.h',
34 'npobject_stub.cc',
35 'npobject_stub.h',
36 'npobject_util.cc',
37 'npobject_util.h',
38 ]),
28 'chrome_plugin_host.cc', 39 'chrome_plugin_host.cc',
29 'npobject_proxy.cc', 40 'chrome_plugin_host.h',
30 'npobject_stub.cc',
31 'npobject_util.cc',
32 'plugin_channel.cc', 41 'plugin_channel.cc',
42 'plugin_channel.h',
33 'plugin_channel_base.cc', 43 'plugin_channel_base.cc',
44 'plugin_channel_base.h',
34 'plugin_main.cc', 45 'plugin_main.cc',
35 'plugin_process.cc', 46 'plugin_process.cc',
47 'plugin_process.h',
36 'plugin_thread.cc', 48 'plugin_thread.cc',
49 'plugin_thread.h',
50 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
51 '$CHROME_DIR/tools/build/win/precompiled.h',
37 'webplugin_delegate_stub.cc', 52 'webplugin_delegate_stub.cc',
53 'webplugin_delegate_stub.h',
38 'webplugin_proxy.cc', 54 'webplugin_proxy.cc',
39 ] 55 'webplugin_proxy.h',
56 ])
57
58 if not env.Bit('windows'):
59 input_files.Remove(
60 '$CHROME_DIR/tools/build/win/precompiled$OBJSUFFIX',
61 )
40 62
41 if env.Bit('posix'): 63 if env.Bit('posix'):
42 # TODO(port) 64 # TODO(port)
43 to_be_ported_files = [ 65 input_files.Remove(
44 'chrome_plugin_host.cc', 66 'chrome_plugin_host.cc',
45 'npobject_proxy.cc', 67 'npobject_proxy.cc',
46 'npobject_stub.cc', 68 'npobject_stub.cc',
47 'npobject_util.cc', 69 'npobject_util.cc',
48 'plugin_channel.cc', 70 'plugin_channel.cc',
49 'plugin_channel_base.cc', 71 'plugin_channel_base.cc',
50 'plugin_main.cc', 72 'plugin_main.cc',
51 'plugin_process.cc', 73 'plugin_process.cc',
52 'plugin_thread.cc', 74 'plugin_thread.cc',
53 'webplugin_delegate_stub.cc', 75 'webplugin_delegate_stub.cc',
54 'webplugin_proxy.cc', 76 'webplugin_proxy.cc',
55 ] 77 )
56 for remove in to_be_ported_files:
57 input_files.remove(remove)
58 78
59 env.ChromeLibrary('plugin', input_files) 79 env.ChromeLibrary('plugin', input_files)
60 80
61 env.ChromeMSVSProject('$CHROME_DIR/plugin/plugin.vcproj', 81 p = env.ChromeMSVSProject('plugin.vcproj',
62 guid='{20A560A0-2CD0-4D9E-A58B-1F24B99C087A}') 82 dest='$CHROME_SRC_DIR/chrome/plugin/plugin.vcproj',
83 guid='{20A560A0-2CD0-4D9E-A58B-1F24B99C087A}',
84 keyword='Win32Proj',
85 # TODO(sgk): when we can intuit the hierarchy
86 # from the built targets.
87 #buildtargets=TODO,
88 files=input_files,
89 local_directory_prefix='./',
90 tools=[
91 'VCPreBuildEventTool',
92 'VCCustomBuildTool',
93 'VCXMLDataGeneratorTool',
94 'VCWebServiceProxyGeneratorTool',
95 'VCMIDLTool',
96 'VCCLCompilerTool',
97 'VCManagedResourceCompilerTool',
98 'VCResourceCompilerTool',
99 'VCPreLinkEventTool',
100 'VCLibrarianTool',
101 'VCALinkTool',
102 'VCXDCMakeTool',
103 'VCBscMakeTool',
104 'VCFxCopTool',
105 'VCPostBuildEventTool',
106 ],
107 ConfigurationType='4')
108
109
110 p.AddConfig('Debug|Win32',
111 InheritedPropertySheets=[
112 '$(SolutionDir)../build/common.vsprops',
113 '$(SolutionDir)../build/debug.vsprops',
114 '$(SolutionDir)../skia/using_skia.vsprops',
115 '../tools/build/win/precompiled.vsprops',
116 '$(SolutionDir)../third_party/npapi/using_npapi.vsprops',
117 ])
118
119 p.AddConfig('Release|Win32',
120 InheritedPropertySheets=[
121 '$(SolutionDir)../build/common.vsprops',
122 '$(SolutionDir)../build/release.vsprops',
123 '$(SolutionDir)../third_party/npapi/using_npapi.vsprops',
124 '$(SolutionDir)../skia/using_skia.vsprops',
125 ])
126
127 p.AddFileConfig('../tools/build/win/precompiled.cc',
128 'Debug|Win32',
129 tools=[
130 MSVSTool('VCCLCompilerTool',
131 UsePrecompiledHeader='1'),
132 ])
OLDNEW
« no previous file with comments | « chrome/installer/util/util.scons ('k') | chrome/renderer/renderer.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698