# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Import('env') env = env.Clone() env.Prepend( CPPPATH = [ '$CHROME_SRC_DIR/webkit/glue', '$ICU38/public/common', '$ICU38/public/i18n', '$CHROME_SRC_DIR/third_party/libxml/include', '$CHROME_SRC_DIR/third_party/npapi', '$CHROME_SRC_DIR', ], ) env.Append( CPPDEFINES = [ 'U_STATIC_IMPLEMENTATION', 'LIBXML_STATIC', ], ) if env.Bit('windows'): env.Append( CCFLAGS = [ '/TP', '/WX', '/Wp64', ], ) # Platform-independent files. input_files = [ ] # TODO: Quarantine files -- need porting to platform-specific blocks above. if env.Bit('windows'): input_files.extend([ 'activex_installer.cc', 'default_plugin.cc', 'plugin_main.cc', 'plugin_impl_win.cc', 'plugin_database_handler.cc', 'plugin_install_job_monitor.cc', 'install_dialog.cc', ]) env.ChromeLibrary('default_plugin', input_files) env.ChromeMSVSProject('$WEBKIT_DIR/default_plugin/default_plugin.vcproj', dependencies = [ '$LIBXML_DIR/build/libxml_config.vcproj', ('$WEBKIT_DIR/build/localized_strings/' + 'localized_strings.vcproj'), ], guid='{5916D37D-8C97-424F-A904-74E52594C2D6}')