| OLD | NEW | 
|   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.Prepend( |   9 env.Prepend( | 
|  10     CPPPATH = [ |  10     CPPPATH = [ | 
|  11         '$NPAPI_DIR', |  11         '$NPAPI_DIR', | 
|  12         '$CHROME_SRC_DIR', |  12         '$CHROME_SRC_DIR', | 
|  13     ], |  13     ], | 
|  14 ) |  14 ) | 
|  15  |  15  | 
|  16 env.Append( |  16 env.Append( | 
|  17     CPPDEFINES = [ |  17     CPPDEFINES = [ | 
|  18         'TRACK_INTERFACE', |  18         'TRACK_INTERFACE', | 
|  19     ], |  19     ], | 
|  20     CCFLAGS = [ |  20     CCFLAGS = [ | 
|  21         '/TP', |  21         '/TP', | 
|  22  |  22  | 
|  23         '/WX', |  23         '/WX', | 
|  24         '/Wp64', |  24         '/Wp64', | 
|  25     ], |  25     ], | 
|  26 # TODO(bradnelson): Scons should really have a way to handle this. |  26     LIBS = [ | 
|  27     ARFLAGS = [ |  27         'Urlmon', | 
|  28         '/LIBPATH:$PLATFORMSDK_VISTA_REL', 'Urlmon.Lib', |  | 
|  29     ], |  28     ], | 
|  30 ) |  29 ) | 
|  31  |  30  | 
|  32 input_files = [ |  31 input_files = [ | 
|  33     'activex_plugin.cc', |  32     'activex_plugin.cc', | 
|  34     'activex_shared.cc', |  33     'activex_shared.cc', | 
|  35     'activex_util.cc', |  34     'activex_util.cc', | 
|  36     'dispatch_object.cc', |  35     'dispatch_object.cc', | 
|  37     'npn_scripting.cc', |  36     'npn_scripting.cc', | 
|  38     'npp_impl.cc', |  37     'npp_impl.cc', | 
|  39     'web_activex_container.cc', |  38     'web_activex_container.cc', | 
|  40     'web_activex_site.cc', |  39     'web_activex_site.cc', | 
|  41 ] |  40 ] | 
|  42  |  41  | 
|  43 env.ChromeStaticLibrary('activex_shim', input_files) |  42 env.ChromeStaticLibrary('activex_shim', input_files) | 
|  44  |  | 
| OLD | NEW |