1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# 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.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}')
|