| 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         '$CHROME_SRC_DIR/webkit/glue', |  | 
| 12         '$ICU38/public/common', |  | 
| 13         '$ICU38/public/i18n', |  | 
| 14         '$CHROME_SRC_DIR/third_party/libxml/include', |  | 
| 15         '$CHROME_SRC_DIR/third_party/npapi', |  | 
| 16         '$CHROME_SRC_DIR', |  | 
| 17     ], |  | 
| 18 ) |  | 
| 19 |  | 
| 20 env.Append( |  | 
| 21   CPPDEFINES = [ |  | 
| 22       'U_STATIC_IMPLEMENTATION', |  | 
| 23       'LIBXML_STATIC', |  | 
| 24   ], |  | 
| 25 ) |  | 
| 26 |  | 
| 27 if env.Bit('windows'): |  | 
| 28   env.Append( |  | 
| 29       CCFLAGS = [ |  | 
| 30           '/TP', |  | 
| 31 |  | 
| 32           '/WX', |  | 
| 33           '/Wp64', |  | 
| 34       ], |  | 
| 35   ) |  | 
| 36 |  | 
| 37 # Platform-independent files. |  | 
| 38 input_files = [ |  | 
| 39 ] |  | 
| 40 |  | 
| 41 # TODO: Quarantine files -- need porting to platform-specific blocks above. |  | 
| 42 if env.Bit('windows'): |  | 
| 43   input_files.extend([ |  | 
| 44       'activex_installer.cc', |  | 
| 45       'default_plugin.cc', |  | 
| 46       'plugin_main.cc', |  | 
| 47       'plugin_impl_win.cc', |  | 
| 48       'plugin_database_handler.cc', |  | 
| 49       'plugin_install_job_monitor.cc', |  | 
| 50       'install_dialog.cc', |  | 
| 51   ]) |  | 
| 52 |  | 
| 53 env.ChromeLibrary('default_plugin', input_files) |  | 
| 54 |  | 
| 55 env.ChromeMSVSProject('$WEBKIT_DIR/default_plugin/default_plugin.vcproj', |  | 
| 56                 dependencies = [ |  | 
| 57                     '$LIBXML_DIR/build/libxml_config.vcproj', |  | 
| 58                     ('$WEBKIT_DIR/build/localized_strings/' + |  | 
| 59                          'localized_strings.vcproj'), |  | 
| 60                 ], |  | 
| 61                 guid='{5916D37D-8C97-424F-A904-74E52594C2D6}') |  | 
| OLD | NEW | 
|---|