| OLD | NEW |
| (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 Import('env') | |
| 6 | |
| 7 env = env.Clone() | |
| 8 | |
| 9 env.Prepend( | |
| 10 CPPPATH = [ | |
| 11 '$NPAPI_DIR', | |
| 12 '$CHROME_SRC_DIR', | |
| 13 ], | |
| 14 LIBS = [ | |
| 15 'activex_shim', | |
| 16 'googleurl', | |
| 17 env['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed | |
| 18 'base', | |
| 19 'Urlmon', | |
| 20 ], | |
| 21 ) | |
| 22 | |
| 23 env.Append( | |
| 24 LINKFLAGS = [ | |
| 25 '/INCREMENTAL', | |
| 26 | |
| 27 '/MANIFEST', | |
| 28 '/DELAYLOAD:"dwmapi.dll"', | |
| 29 '/DELAYLOAD:"uxtheme.dll"', | |
| 30 '/MACHINE:X86', | |
| 31 '/FIXED:No', | |
| 32 | |
| 33 '/safeseh', | |
| 34 '/dynamicbase', | |
| 35 '/ignore:4199', | |
| 36 '/nxcompat', | |
| 37 | |
| 38 '/DEBUG', | |
| 39 ], | |
| 40 ) | |
| 41 | |
| 42 input_files = [ | |
| 43 'activex_shim_dll.cc', | |
| 44 'activex_shim_dll.def', | |
| 45 ] | |
| 46 | |
| 47 dll = env.ChromeSharedLibrary('npaxshim', input_files) | |
| 48 | |
| 49 i = env.Install('$TARGET_ROOT', dll) | |
| 50 env.Alias('webkit', i) | |
| 51 | |
| 52 env.ChromeMSVSProject('$WEBKIT_DIR/activex_shim_dll/activex_shim_dll.vcproj', | |
| 53 dependencies = [ | |
| 54 '$BASE_DIR/build/base.vcproj', | |
| 55 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', | |
| 56 ], | |
| 57 guid='{494E414B-1655-48CE-996D-6413ECFB7829}') | |
| OLD | NEW |