diff options
Diffstat (limited to 'third_party/modp_b64/modp_b64.scons')
-rw-r--r-- | third_party/modp_b64/modp_b64.scons | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/third_party/modp_b64/modp_b64.scons b/third_party/modp_b64/modp_b64.scons index f114e8e..15919c7 100644 --- a/third_party/modp_b64/modp_b64.scons +++ b/third_party/modp_b64/modp_b64.scons @@ -18,11 +18,40 @@ env.Prepend( ], ) -input_files = [ +input_files = ChromeFileList([ 'modp_b64.cc', -] + 'modp_b64.h', + 'modp_b64_data.h', +]) env.ChromeLibrary('modp_b64', input_files) -env.ChromeMSVSProject('$MODP_B64_DIR/modp_b64.vcproj', - guid='{7100F41F-868D-4E99-80A2-AF8E6574749D}') +p = env.ChromeMSVSProject('modp_b64.vcproj', + dest=('$CHROME_SRC_DIR/third_party/' + + 'modp_b64/modp_b64.vcproj'), + guid='{7100F41F-868D-4E99-80A2-AF8E6574749D}', + keyword='Win32Proj', + # TODO(sgk): when we can intuit the hierarchy + # from the built targets. + #buildtargets=TODO, + files=input_files, + relative_path_prefix='./', + tools=[ + 'VCCLCompilerTool', + 'VCLibrarianTool', + ], + ConfigurationType='4') + +p.AddConfig('Debug|Win32', + InheritedPropertySheets=[ + '$(SolutionDir)../build/common.vsprops', + '$(SolutionDir)../build/debug.vsprops', + '$(SolutionDir)../build/external_code.vsprops', + ]) + +p.AddConfig('Release|Win32', + InheritedPropertySheets=[ + '$(SolutionDir)../build/common.vsprops', + '$(SolutionDir)../build/release.vsprops', + '$(SolutionDir)../build/external_code.vsprops', + ]) |