0

Set the svn:eol-style to LF on all SConscript files

TBR=evanm

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@823 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
tc@google.com
2008-08-13 19:49:10 +00:00
parent f0d930ae5a
commit 9f8303cb3b
59 changed files with 8042 additions and 8042 deletions
breakpad
chrome
SConscript
app
resources
theme
browser
common
installer
mini_installer
setup
util
plugin
renderer
test
activex_test_control
automation
chrome_plugin
interactive_ui
memory_test
mini_installer_test
page_cycler
plugin
reliability
security_tests
selenium
startup
tab_switching
third_party
hunspell
sqlite
tools
crash_service
perf
flush_cache
test
image_diff
views
google_update
net
SConscript
tools
tld_cleanup
rlz
sandbox/src
skia
third_party
webkit
SConscript
activex_shim
activex_shim_dll
build
JSConfig
JavaScriptCore
V8Bindings
WebCore
localized_strings
port
default_plugin
glue

@ -1,74 +1,74 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'src', 'src',
'#/..', '#/..',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4800', '/wd4800',
], ],
) )
sender_input_files = [ sender_input_files = [
'src/client/windows/sender/crash_report_sender.cc', 'src/client/windows/sender/crash_report_sender.cc',
'src/common/windows/http_upload.cc', 'src/common/windows/http_upload.cc',
] ]
env.ChromeStaticLibrary('breakpad_sender', sender_input_files) env.ChromeStaticLibrary('breakpad_sender', sender_input_files)
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
handler_input_files = [ handler_input_files = [
'src/client/windows/crash_generation/client_info.cc', 'src/client/windows/crash_generation/client_info.cc',
'src/client/windows/crash_generation/minidump_generator.cc', 'src/client/windows/crash_generation/minidump_generator.cc',
'src/common/windows/guid_string.cc', 'src/common/windows/guid_string.cc',
'src/client/windows/handler/exception_handler.cc', 'src/client/windows/handler/exception_handler.cc',
'src/client/windows/crash_generation/crash_generation_server.cc', 'src/client/windows/crash_generation/crash_generation_server.cc',
'src/client/windows/crash_generation/crash_generation_client.cc', 'src/client/windows/crash_generation/crash_generation_client.cc',
] ]
elif env['PLATFORM'] == 'posix': elif env['PLATFORM'] == 'posix':
handler_input_files = [ handler_input_files = [
'src/common/linux/guid_creator.cc', 'src/common/linux/guid_creator.cc',
'src/client/linux/handler/exception_handler.cc', 'src/client/linux/handler/exception_handler.cc',
'src/client/linux/handler/minidump_generator.cc', 'src/client/linux/handler/minidump_generator.cc',
'src/client/linux/handler/linux_thread.cc', 'src/client/linux/handler/linux_thread.cc',
] ]
env.ChromeStaticLibrary('breakpad_handler', handler_input_files) env.ChromeStaticLibrary('breakpad_handler', handler_input_files)

@ -1,460 +1,460 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import os import os
Import(['env']) Import(['env'])
env_res = env.Clone() env_res = env.Clone()
env_test = env.Clone() env_test = env.Clone()
env = env.Clone() env = env.Clone()
install_targets = [] install_targets = []
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'app', 'app',
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
], ],
) )
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
'.', '.',
'#/..', '#/..',
], ],
RCFLAGS = [ RCFLAGS = [
['/l', '0x409'], ['/l', '0x409'],
], ],
) )
browser_res = env_res.RES('browser/browser_resources.rc') browser_res = env_res.RES('browser/browser_resources.rc')
chrome_dll_res = env_res.RES('app/chrome_dll.rc') chrome_dll_res = env_res.RES('app/chrome_dll.rc')
common_res = env_res.RES('common/common_resources.rc') common_res = env_res.RES('common/common_resources.rc')
debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc') debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc')
renderer_res = env_res.RES('renderer/renderer_resources.rc') renderer_res = env_res.RES('renderer/renderer_resources.rc')
test_data_res = env_res.RES('test/data/resource.rc') test_data_res = env_res.RES('test/data/resource.rc')
webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc') webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc')
net_res = '$NET_DIR/net_resources.res' net_res = '$NET_DIR/net_resources.res'
dll_resources = [ dll_resources = [
browser_res, browser_res,
chrome_dll_res, chrome_dll_res,
common_res, common_res,
debugger_res, debugger_res,
net_res, net_res,
renderer_res, renderer_res,
webkit_res, webkit_res,
] ]
env_test['BROWSER_RES'] = browser_res[0] env_test['BROWSER_RES'] = browser_res[0]
env_test['TEST_DATA_RES'] = test_data_res[0] env_test['TEST_DATA_RES'] = test_data_res[0]
env_dll = env.Clone() env_dll = env.Clone()
env_dll.Prepend( env_dll.Prepend(
CPPPATH = [ CPPPATH = [
"..", "..",
], ],
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
'LIBXSLT_STATIC', 'LIBXSLT_STATIC',
'LIBXML_STATIC', 'LIBXML_STATIC',
'_WINDLL', '_WINDLL',
'BROWSER_DLL', 'BROWSER_DLL',
'RENDERER_DLL', 'RENDERER_DLL',
'PLUGIN_DLL', 'PLUGIN_DLL',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/Wp64', '/Wp64',
], ],
) )
env_dll.Append( env_dll.Append(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/app', '$CHROME_DIR/app',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBXSL_DIR', '$LIBXSL_DIR',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
], ],
LIBS = [ LIBS = [
'base', 'base',
'base_gfx', 'base_gfx',
'breakpad_handler', 'breakpad_handler',
'googleurl', 'googleurl',
'net', 'net',
'skia', 'skia',
'bzip2', 'bzip2',
'icuuc', 'icuuc',
'libjpeg', 'libjpeg',
'libpng', 'libpng',
'libxml', 'libxml',
'libxslt', 'libxslt',
'modp_b64', 'modp_b64',
'zlib', 'zlib',
'activex_shim', 'activex_shim',
'WTF', 'WTF',
'V8Bindings', 'V8Bindings',
'WebCore', 'WebCore',
'default_plugin', 'default_plugin',
'Glue', 'Glue',
'JavaScriptCore_pcre', 'JavaScriptCore_pcre',
'Port', 'Port',
], ],
) )
env_dll.Append( env_dll.Append(
LIBS = [ LIBS = [
'comctl32.lib', 'comctl32.lib',
'dwmapi.lib', 'dwmapi.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'shlwapi.lib', 'shlwapi.lib',
'winmm.lib', 'winmm.lib',
'wsock32.lib', 'wsock32.lib',
], ],
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"comdlg32.dll"', '/DELAYLOAD:"comdlg32.dll"',
'/DELAYLOAD:"crypt32.dll"', '/DELAYLOAD:"crypt32.dll"',
'/DELAYLOAD:"cryptui.dll"', '/DELAYLOAD:"cryptui.dll"',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"imagehlp.dll"', '/DELAYLOAD:"imagehlp.dll"',
'/DELAYLOAD:"imm32.dll"', '/DELAYLOAD:"imm32.dll"',
'/DELAYLOAD:"oleacc.dll"', '/DELAYLOAD:"oleacc.dll"',
'/DELAYLOAD:"oleaut32.dll"', '/DELAYLOAD:"oleaut32.dll"',
'/DELAYLOAD:"psapi.dll"', '/DELAYLOAD:"psapi.dll"',
'/DELAYLOAD:"urlmon.dll"', '/DELAYLOAD:"urlmon.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/DELAYLOAD:"winhttp.dll"', '/DELAYLOAD:"winhttp.dll"',
'/DELAYLOAD:"wininet.dll"', '/DELAYLOAD:"wininet.dll"',
'/DELAYLOAD:"winspool.drv"', '/DELAYLOAD:"winspool.drv"',
'/DELAYLOAD:"ws2_32.dll"', '/DELAYLOAD:"ws2_32.dll"',
'/DELAYLOAD:"wsock32.dll"', '/DELAYLOAD:"wsock32.dll"',
'/SUBSYSTEM:WINDOWS', '/SUBSYSTEM:WINDOWS',
'/BASE:"0x01000000"', '/BASE:"0x01000000"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/PDB:${TARGETS[1]}', '/PDB:${TARGETS[1]}',
'/IMPLIB:${TARGETS[2]}', '/IMPLIB:${TARGETS[2]}',
], ],
) )
input_files = [ input_files = [
'app/chrome_dll_main.cc', 'app/chrome_dll_main.cc',
] ]
libs = [ libs = [
'browser/browser.lib', 'browser/browser.lib',
'browser/views/browser_views.lib', 'browser/views/browser_views.lib',
'browser/debugger/debugger.lib', 'browser/debugger/debugger.lib',
'common/common.lib', 'common/common.lib',
'installer/util/util.lib', 'installer/util/util.lib',
'libjscre.lib', 'libjscre.lib',
'plugin/plugin.lib', 'plugin/plugin.lib',
'renderer/renderer.lib', 'renderer/renderer.lib',
'third_party/hunspell/hunspell.lib', 'third_party/hunspell/hunspell.lib',
'third_party/sqlite/sqlite.lib', 'third_party/sqlite/sqlite.lib',
'views/views.lib', 'views/views.lib',
'$V8_DIR/v8.lib', '$V8_DIR/v8.lib',
'$V8_DIR/snapshot-empty.obj', '$V8_DIR/snapshot-empty.obj',
] ]
dll_targets = env_dll.ChromeSharedLibrary(['chrome', dll_targets = env_dll.ChromeSharedLibrary(['chrome',
'chrome_dll.pdb', 'chrome_dll.pdb',
'chrome_dll.lib'], 'chrome_dll.lib'],
dll_resources + input_files + libs) dll_resources + input_files + libs)
install_targets.extend(dll_targets) install_targets.extend(dll_targets)
import os import os
import sys import sys
sys.path.append(Dir('#/../tools/grit').abspath) sys.path.append(Dir('#/../tools/grit').abspath)
env_grd = env.Clone() env_grd = env.Clone()
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit']) env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
# NOTE: generated_target is fake, to cause a different target. # NOTE: generated_target is fake, to cause a different target.
generated = env_grd.GRIT('app/resources/generated_target', generated = env_grd.GRIT('app/resources/generated_target',
'#/../chrome/app/generated_resources.grd') '#/../chrome/app/generated_resources.grd')
for g in [ g for g in generated if str(g).endswith('.rc') ]: for g in [ g for g in generated if str(g).endswith('.rc') ]:
env_res.RES(g) env_res.RES(g)
def chrome_version_emitter(target, source, env): def chrome_version_emitter(target, source, env):
source.append('$CHROME_SRC_DIR/VERSION') source.append('$CHROME_SRC_DIR/VERSION')
source.append('$CHROME_SRC_DIR/BRANDING') source.append('$CHROME_SRC_DIR/BRANDING')
return target, source return target, source
b = Builder(action = '$CHROME_VERSION_RC_COM', b = Builder(action = '$CHROME_VERSION_RC_COM',
emitter = chrome_version_emitter) emitter = chrome_version_emitter)
env['BUILDERS']['ChromeVersionRC'] = b env['BUILDERS']['ChromeVersionRC'] = b
env.Replace( env.Replace(
CHROME_VERSION_RC_COM = '$VERSION_BAT $SOURCE $CHROME_SRC_DIR $PWD $TARGET', CHROME_VERSION_RC_COM = '$VERSION_BAT $SOURCE $CHROME_SRC_DIR $PWD $TARGET',
VERSION_BAT = File('#/../chrome/tools/build/win/version.bat'), VERSION_BAT = File('#/../chrome/tools/build/win/version.bat'),
CHROME_SRC_DIR = Dir('#/../chrome'), CHROME_SRC_DIR = Dir('#/../chrome'),
PWD = Dir('.'), PWD = Dir('.'),
) )
chrome_exe_version_rc = env.ChromeVersionRC( chrome_exe_version_rc = env.ChromeVersionRC(
'chrome_exe_version.rc', 'chrome_exe_version.rc',
'app/chrome_exe_version.rc.version' 'app/chrome_exe_version.rc.version'
) )
chrome_dll_version_rc = env.ChromeVersionRC( chrome_dll_version_rc = env.ChromeVersionRC(
'chrome_dll_version.rc', 'chrome_dll_version.rc',
'app/chrome_dll_version.rc.version', 'app/chrome_dll_version.rc.version',
) )
Depends(chrome_dll_res, chrome_dll_version_rc) Depends(chrome_dll_res, chrome_dll_version_rc)
chrome_exe_version_res = env_res.RES(chrome_exe_version_rc) chrome_exe_version_res = env_res.RES(chrome_exe_version_rc)
chrome_dll_version_res = env_res.RES(chrome_dll_version_rc) chrome_dll_version_res = env_res.RES(chrome_dll_version_rc)
install_targets.extend(chrome_exe_version_rc) install_targets.extend(chrome_exe_version_rc)
install_targets.extend(chrome_exe_version_res) install_targets.extend(chrome_exe_version_res)
install_targets.extend(chrome_dll_version_rc) install_targets.extend(chrome_dll_version_rc)
install_targets.extend(chrome_dll_version_res) install_targets.extend(chrome_dll_version_res)
env_exe = env.Clone() env_exe = env.Clone()
env_exe.Prepend( env_exe.Prepend(
CPPPATH = [ CPPPATH = [
'..', '..',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
], ],
LIBS = [ LIBS = [
'breakpad_handler', 'breakpad_handler',
'sandbox', 'sandbox',
'base', 'base',
'icuuc', 'icuuc',
], ],
) )
env_exe.Append( env_exe.Append(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/SUBSYSTEM:WINDOWS', '/SUBSYSTEM:WINDOWS',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/PDB:${TARGETS[1]}', '/PDB:${TARGETS[1]}',
'/IMPLIB:${TARGETS[2]}', '/IMPLIB:${TARGETS[2]}',
], ],
) )
chrome_exe = env_exe.ChromeProgram( chrome_exe = env_exe.ChromeProgram(
['chrome.exe', ['chrome.exe',
'chrome_exe.pdb', 'chrome_exe.pdb',
'chrome_exe_implib.lib'], 'chrome_exe_implib.lib'],
[ [
env_res.RES('app/chrome_exe.rc'), env_res.RES('app/chrome_exe.rc'),
'app/breakpad.cc', 'app/breakpad.cc',
'app/chrome_exe_main.cc', 'app/chrome_exe_main.cc',
'app/google_update_client.cc', 'app/google_update_client.cc',
'app/google_update_settings.cc', 'app/google_update_settings.cc',
'common/common.lib', 'common/common.lib',
'$CHROME_DIR/chrome_dll.lib', '$CHROME_DIR/chrome_dll.lib',
] ]
) )
install_targets.extend(chrome_exe) install_targets.extend(chrome_exe)
env.Requires(chrome_exe[0], ['$TARGET_ROOT/chrome.dll', env.Requires(chrome_exe[0], ['$TARGET_ROOT/chrome.dll',
'$TARGET_ROOT/icudt38.dll', '$TARGET_ROOT/icudt38.dll',
'$TARGET_ROOT/rlz.dll', '$TARGET_ROOT/rlz.dll',
'$TARGET_ROOT/First Run']) '$TARGET_ROOT/First Run'])
env.Command('$TARGET_ROOT/First Run', '$CHROME_DIR/app/FirstRun', env.Command('$TARGET_ROOT/First Run', '$CHROME_DIR/app/FirstRun',
Copy('$TARGET', '$SOURCE')) Copy('$TARGET', '$SOURCE'))
# For release we want to run dependencies.py, may look something like: # For release we want to run dependencies.py, may look something like:
#env.AddPostAction('$TARGET_ROOT/chrome.exe', #env.AddPostAction('$TARGET_ROOT/chrome.exe',
# '$PYTHON tools/build/win/dependencies.py $(TargetPath) chrome.exe.deps') # '$PYTHON tools/build/win/dependencies.py $(TargetPath) chrome.exe.deps')
env_snapshot = env.Clone() env_snapshot = env.Clone()
env_snapshot.Prepend( env_snapshot.Prepend(
CPPPATH = [ CPPPATH = [
'$V8_DIR/src', '$V8_DIR/src',
'$V8_DIR/src/pcre/jscre', '$V8_DIR/src/pcre/jscre',
'..', '..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'ENABLE_DISASSEMBLER', 'ENABLE_DISASSEMBLER',
], ],
CCFLAGS = [ CCFLAGS = [
'/wd4099', '/wd4099',
'/wd4355', '/wd4355',
'/wd4800', '/wd4800',
], ],
) )
env_snapshot.ChromeStaticLibrary('snapshotv8', 'snapshot.cc') env_snapshot.ChromeStaticLibrary('snapshotv8', 'snapshot.cc')
env_snapshot.Command('snapshot.cc', '#/../v8/bin/debug/mksnapshot.exe', env_snapshot.Command('snapshot.cc', '#/../v8/bin/debug/mksnapshot.exe',
'$SOURCE $TARGET') '$SOURCE $TARGET')
env_flat = env.Clone( env_flat = env.Clone(
BROWSER_RESOURCES = Dir('browser_resources'), BROWSER_RESOURCES = Dir('browser_resources'),
HTML_INLINE = File('#/../chrome/tools/build/win/html_inline.py'), HTML_INLINE = File('#/../chrome/tools/build/win/html_inline.py'),
FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET', FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET',
) )
flats = [ flats = [
'about_memory', 'about_memory',
'about_version', 'about_version',
'incognito_tab', 'incognito_tab',
'new_tab', 'new_tab',
'safe_browsing_malware_block', 'safe_browsing_malware_block',
'safe_browsing_phishing_block', 'safe_browsing_phishing_block',
'ssl_error', 'ssl_error',
] ]
flats_out = [] flats_out = []
for i in flats: for i in flats:
flats_out += env_flat.Command( flats_out += env_flat.Command(
'$BROWSER_RESOURCES/' + i + '_flat.html', '$BROWSER_RESOURCES/' + i + '_flat.html',
'browser/resources/' + i + '.html', '$FLATTEN_HTML_COM') 'browser/resources/' + i + '.html', '$FLATTEN_HTML_COM')
flats_out += env_flat.Command( flats_out += env_flat.Command(
'$BROWSER_RESOURCES/ssl_roadblock_flat.html', '$BROWSER_RESOURCES/ssl_roadblock_flat.html',
'browser/security/resources/ssl_roadblock.html', '$FLATTEN_HTML_COM') 'browser/security/resources/ssl_roadblock.html', '$FLATTEN_HTML_COM')
env_flat.Depends(browser_res, flats_out) env_flat.Depends(browser_res, flats_out)
env_test.Object('test/test_file_util.cc', env_test.Object('test/test_file_util.cc',
CPPPATH=['..'] + env['CPPPATH']) CPPPATH=['..'] + env['CPPPATH'])
test_sconscript_files = [ test_sconscript_files = [
'SConscript.automated_ui_tests', 'SConscript.automated_ui_tests',
'SConscript.unit_tests', 'SConscript.unit_tests',
'SConscript.ui_tests', 'SConscript.ui_tests',
] ]
env.SConscript(test_sconscript_files, exports=['env_test']) env.SConscript(test_sconscript_files, exports=['env_test'])
sconscript_files = [ sconscript_files = [
'app/resources/SConscript', 'app/resources/SConscript',
'app/theme/SConscript', 'app/theme/SConscript',
'browser/SConscript', 'browser/SConscript',
'browser/views/SConscript', 'browser/views/SConscript',
'common/SConscript', 'common/SConscript',
'installer/mini_installer/SConscript', 'installer/mini_installer/SConscript',
'installer/setup/SConscript', 'installer/setup/SConscript',
'installer/util/SConscript', 'installer/util/SConscript',
'plugin/SConscript', 'plugin/SConscript',
'renderer/SConscript', 'renderer/SConscript',
'test/activex_test_control/SConscript', 'test/activex_test_control/SConscript',
'test/automation/SConscript', 'test/automation/SConscript',
'test/chrome_plugin/SConscript', 'test/chrome_plugin/SConscript',
'test/interactive_ui/SConscript', 'test/interactive_ui/SConscript',
'test/memory_test/SConscript', 'test/memory_test/SConscript',
'test/mini_installer_test/SConscript', 'test/mini_installer_test/SConscript',
'test/page_cycler/SConscript', 'test/page_cycler/SConscript',
'test/plugin/SConscript', 'test/plugin/SConscript',
'test/reliability/SConscript', 'test/reliability/SConscript',
'test/security_tests/SConscript', 'test/security_tests/SConscript',
'test/selenium/SConscript', 'test/selenium/SConscript',
'test/startup/SConscript', 'test/startup/SConscript',
'test/tab_switching/SConscript', 'test/tab_switching/SConscript',
'tools/crash_service/SConscript', 'tools/crash_service/SConscript',
'tools/perf/flush_cache/SConscript', 'tools/perf/flush_cache/SConscript',
'tools/test/image_diff/SConscript', 'tools/test/image_diff/SConscript',
'third_party/hunspell/SConscript', 'third_party/hunspell/SConscript',
'third_party/sqlite/SConscript', 'third_party/sqlite/SConscript',
'views/SConscript', 'views/SConscript',
] ]
env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test']) env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test'])
env.InstallAs('libjscre.lib', '$WEBKIT_DIR/JavaScriptCore_pcre.lib') env.InstallAs('libjscre.lib', '$WEBKIT_DIR/JavaScriptCore_pcre.lib')
i = env.Install('$TARGET_ROOT', install_targets) i = env.Install('$TARGET_ROOT', install_targets)
env.Alias('chrome', i) env.Alias('chrome', i)
gears_plugins = [ gears_plugins = [
'$GEARS_DIR/binaries/gears.dll', '$GEARS_DIR/binaries/gears.dll',
'$GEARS_DIR/binaries/gears.pdb', '$GEARS_DIR/binaries/gears.pdb',
] ]
i = env.Install('$TARGET_ROOT/plugins/gears', gears_plugins) i = env.Install('$TARGET_ROOT/plugins/gears', gears_plugins)
env.Alias('chrome', i) env.Alias('chrome', i)
i = env.Command('$TARGET_ROOT/resources/inspector', i = env.Command('$TARGET_ROOT/resources/inspector',
'#/../webkit/port/page/inspector', '#/../webkit/port/page/inspector',
Copy('$TARGET', '$SOURCE'), Copy('$TARGET', '$SOURCE'),
source_scanner=DirScanner) source_scanner=DirScanner)
env.Alias('chrome', i) env.Alias('chrome', i)
env.Alias('chrome', env.Alias('webkit')) env.Alias('chrome', env.Alias('webkit'))

@ -1,141 +1,141 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import(['env', 'env_res']) Import(['env', 'env_res'])
env = env.Clone() env = env.Clone()
env_res = env_res.Clone() env_res = env_res.Clone()
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
'.', '.',
'#/../chrome/Debug/obj/chrome_dll', '#/../chrome/Debug/obj/chrome_dll',
'#/..', '#/..',
'#/../chrome/Debug/obj', '#/../chrome/Debug/obj',
], ],
RCFLAGS = [ RCFLAGS = [
['/l', '0x409'], ['/l', '0x409'],
], ],
) )
rc_files = [ rc_files = [
'locale_settings_ar.rc', 'locale_settings_ar.rc',
'locale_settings_bg.rc', 'locale_settings_bg.rc',
'locale_settings_ca.rc', 'locale_settings_ca.rc',
'locale_settings_cs.rc', 'locale_settings_cs.rc',
'locale_settings_da.rc', 'locale_settings_da.rc',
'locale_settings_de.rc', 'locale_settings_de.rc',
'locale_settings_el.rc', 'locale_settings_el.rc',
'locale_settings_en-GB.rc', 'locale_settings_en-GB.rc',
'locale_settings_en-US.rc', 'locale_settings_en-US.rc',
'locale_settings_es-419.rc', 'locale_settings_es-419.rc',
'locale_settings_es.rc', 'locale_settings_es.rc',
'locale_settings_et.rc', 'locale_settings_et.rc',
'locale_settings_fi.rc', 'locale_settings_fi.rc',
'locale_settings_fil.rc', 'locale_settings_fil.rc',
'locale_settings_fr.rc', 'locale_settings_fr.rc',
'locale_settings_he.rc', 'locale_settings_he.rc',
'locale_settings_hi.rc', 'locale_settings_hi.rc',
'locale_settings_hr.rc', 'locale_settings_hr.rc',
'locale_settings_hu.rc', 'locale_settings_hu.rc',
'locale_settings_id.rc', 'locale_settings_id.rc',
'locale_settings_it.rc', 'locale_settings_it.rc',
'locale_settings_ja.rc', 'locale_settings_ja.rc',
'locale_settings_ko.rc', 'locale_settings_ko.rc',
'locale_settings_lt.rc', 'locale_settings_lt.rc',
'locale_settings_lv.rc', 'locale_settings_lv.rc',
'locale_settings_nb.rc', 'locale_settings_nb.rc',
'locale_settings_nl.rc', 'locale_settings_nl.rc',
'locale_settings_pl.rc', 'locale_settings_pl.rc',
'locale_settings_pt-BR.rc', 'locale_settings_pt-BR.rc',
'locale_settings_pt-PT.rc', 'locale_settings_pt-PT.rc',
'locale_settings_ro.rc', 'locale_settings_ro.rc',
'locale_settings_ru.rc', 'locale_settings_ru.rc',
'locale_settings_sk.rc', 'locale_settings_sk.rc',
'locale_settings_sl.rc', 'locale_settings_sl.rc',
'locale_settings_sr.rc', 'locale_settings_sr.rc',
'locale_settings_sv.rc', 'locale_settings_sv.rc',
'locale_settings_th.rc', 'locale_settings_th.rc',
'locale_settings_tr.rc', 'locale_settings_tr.rc',
'locale_settings_uk.rc', 'locale_settings_uk.rc',
'locale_settings_vi.rc', 'locale_settings_vi.rc',
'locale_settings_zh-CN.rc', 'locale_settings_zh-CN.rc',
'locale_settings_zh-TW.rc', 'locale_settings_zh-TW.rc',
] ]
resources = [] resources = []
for rc in rc_files: for rc in rc_files:
resources.extend(env_res.RES(rc)) resources.extend(env_res.RES(rc))
env.Append( env.Append(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL:NO', '/INCREMENTAL:NO',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/NOENTRY', '/NOENTRY',
'/BASE:"0x3CF00000"', '/BASE:"0x3CF00000"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
PDB = '${TARGET}.pdb', PDB = '${TARGET}.pdb',
no_import_lib = True, # We don't need the .lib and .exp. no_import_lib = True, # We don't need the .lib and .exp.
) )
import re import re
extract_lang = re.compile(r'locale_settings_(.*)\.res') extract_lang = re.compile(r'locale_settings_(.*)\.res')
locale_dlls = [] locale_dlls = []
for locale_settings_res in resources: for locale_settings_res in resources:
s = str(locale_settings_res) s = str(locale_settings_res)
#lang = '$CHROME_DIR/locales/' + extract_lang.match(s).group(1) #lang = '$CHROME_DIR/locales/' + extract_lang.match(s).group(1)
lang = extract_lang.match(s).group(1) lang = extract_lang.match(s).group(1)
g_r_res = s.replace('locale_settings', 'generated_resources') g_r_res = s.replace('locale_settings', 'generated_resources')
w_s_res = s.replace('locale_settings', w_s_res = s.replace('locale_settings',
'$WEBKIT_DIR/build/localized_strings/webkit_strings') '$WEBKIT_DIR/build/localized_strings/webkit_strings')
dll = env.ChromeSharedLibrary( dll = env.ChromeSharedLibrary(
lang, lang,
[ [
g_r_res, g_r_res,
w_s_res, w_s_res,
locale_settings_res, locale_settings_res,
]) ])
locale_dlls.append(dll) locale_dlls.append(dll)
i = env.Install('$TARGET_ROOT/locales/', locale_dlls) i = env.Install('$TARGET_ROOT/locales/', locale_dlls)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,72 +1,72 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env', 'env_res') Import('env', 'env_res')
env = env.Clone() env = env.Clone()
env_res = env_res.Clone() env_res = env_res.Clone()
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
'.', '.',
'#/..', '#/..',
], ],
RCFLAGS = [ RCFLAGS = [
['/l', '0x409'], ['/l', '0x409'],
], ],
) )
res = env_res.RES('theme_resources.rc') res = env_res.RES('theme_resources.rc')
env.Append( env.Append(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL:NO', '/INCREMENTAL:NO',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/NOENTRY', '/NOENTRY',
'/BASE:"0x3CE00000"', '/BASE:"0x3CE00000"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
themes_default = env.ChromeSharedLibrary("$CHROME_DIR/themes/default", res) themes_default = env.ChromeSharedLibrary("$CHROME_DIR/themes/default", res)
env.AddPostAction(themes_default[1], Touch(themes_default[1:])) env.AddPostAction(themes_default[1], Touch(themes_default[1:]))
i = env.Install("$TARGET_ROOT/themes", themes_default) i = env.Install("$TARGET_ROOT/themes", themes_default)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,327 +1,327 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/app/resources', '$CHROME_DIR/app/resources',
#'$OBJ_ROOT/google_update', #'$OBJ_ROOT/google_update',
'#/tools/build/win', '#/tools/build/win',
'#/..', '#/..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'USE_HUNSPELL', 'USE_HUNSPELL',
'HUNSPELL_CHROME_CLIENT', 'HUNSPELL_CHROME_CLIENT',
'LIBXML_STATIC', 'LIBXML_STATIC',
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GOOGLE_UPDATE_DIR', '$GOOGLE_UPDATE_DIR',
'$CHROME_DIR/third_party/hunspell/src/hunspell', '$CHROME_DIR/third_party/hunspell/src/hunspell',
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
'$NPAPI_DIR', '$NPAPI_DIR',
'$LIBXML_DIR/scons/include', '$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$CHROME_DIR/app', '$CHROME_DIR/app',
'$WEBKIT_DIR/build/localized_strings', '$WEBKIT_DIR/build/localized_strings',
'$ZLIB_DIR', '$ZLIB_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
], ],
) )
input_files = [ input_files = [
'about_internets_status_view.cc', 'about_internets_status_view.cc',
'alternate_nav_url_fetcher.cc', 'alternate_nav_url_fetcher.cc',
'app_modal_dialog_queue.cc', 'app_modal_dialog_queue.cc',
'autocomplete/autocomplete.cc', 'autocomplete/autocomplete.cc',
'autocomplete/autocomplete_edit.cc', 'autocomplete/autocomplete_edit.cc',
'autocomplete/autocomplete_popup.cc', 'autocomplete/autocomplete_popup.cc',
'autocomplete/edit_drop_target.cc', 'autocomplete/edit_drop_target.cc',
'autocomplete/history_contents_provider.cc', 'autocomplete/history_contents_provider.cc',
'autocomplete/history_url_provider.cc', 'autocomplete/history_url_provider.cc',
'autocomplete/keyword_provider.cc', 'autocomplete/keyword_provider.cc',
'autocomplete/search_provider.cc', 'autocomplete/search_provider.cc',
'automation/automation_provider.cc', 'automation/automation_provider.cc',
'automation/automation_provider_list.cc', 'automation/automation_provider_list.cc',
'automation/automation_resource_tracker.cc', 'automation/automation_resource_tracker.cc',
'automation/ui_controls.cc', 'automation/ui_controls.cc',
'automation/url_request_failed_dns_job.cc', 'automation/url_request_failed_dns_job.cc',
'automation/url_request_mock_http_job.cc', 'automation/url_request_mock_http_job.cc',
'automation/url_request_mock_net_error_job.cc', 'automation/url_request_mock_net_error_job.cc',
'automation/url_request_slow_download_job.cc', 'automation/url_request_slow_download_job.cc',
'back_forward_menu_model.cc', 'back_forward_menu_model.cc',
'base_history_model.cc', 'base_history_model.cc',
'bookmark_bar_model.cc', 'bookmark_bar_model.cc',
'bookmark_codec.cc', 'bookmark_codec.cc',
'bookmark_storage.cc', 'bookmark_storage.cc',
'bookmark_drag_data.cc', 'bookmark_drag_data.cc',
'browser.cc', 'browser.cc',
'browser_about_handler.cc', 'browser_about_handler.cc',
'browser_commands.cc', 'browser_commands.cc',
'browser_init.cc', 'browser_init.cc',
'browser_list.cc', 'browser_list.cc',
'browser_main.cc', 'browser_main.cc',
'browser_prefs.cc', 'browser_prefs.cc',
'browser_process.cc', 'browser_process.cc',
'browser_process_impl.cc', 'browser_process_impl.cc',
'browser_shutdown.cc', 'browser_shutdown.cc',
'browser_url_handler.cc', 'browser_url_handler.cc',
'browsing_data_remover.cc', 'browsing_data_remover.cc',
'browsing_instance.cc', 'browsing_instance.cc',
'cache_manager_host.cc', 'cache_manager_host.cc',
'cancelable_request.cc', 'cancelable_request.cc',
'cert_store.cc', 'cert_store.cc',
'character_encoding.cc', 'character_encoding.cc',
'chrome_plugin_browsing_context.cc', 'chrome_plugin_browsing_context.cc',
'chrome_plugin_host.cc', 'chrome_plugin_host.cc',
'chrome_thread.cc', 'chrome_thread.cc',
'controller.cc', 'controller.cc',
'cross_site_request_manager.cc', 'cross_site_request_manager.cc',
'dom_ui/chrome_url_data_manager.cc', 'dom_ui/chrome_url_data_manager.cc',
'dom_ui/dom_ui_host.cc', 'dom_ui/dom_ui_host.cc',
'dom_ui/html_dialog_contents.cc', 'dom_ui/html_dialog_contents.cc',
'dom_ui/new_tab_ui.cc', 'dom_ui/new_tab_ui.cc',
'download_exe.cc', 'download_exe.cc',
'download_file.cc', 'download_file.cc',
'download_item_model.cc', 'download_item_model.cc',
'download_manager.cc', 'download_manager.cc',
'download_tab_view.cc', 'download_tab_view.cc',
'download_util.cc', 'download_util.cc',
'drag_utils.cc', 'drag_utils.cc',
'encoding_menu_controller_delegate.cc', 'encoding_menu_controller_delegate.cc',
'encryptor.cc', 'encryptor.cc',
'external_protocol_dialog.cc', 'external_protocol_dialog.cc',
'external_protocol_handler.cc', 'external_protocol_handler.cc',
'external_tab_container.cc', 'external_tab_container.cc',
'fav_icon_helper.cc', 'fav_icon_helper.cc',
'find_in_page_controller.cc', 'find_in_page_controller.cc',
'find_in_page_view.cc', 'find_in_page_view.cc',
'firefox2_importer.cc', 'firefox2_importer.cc',
'firefox3_importer.cc', 'firefox3_importer.cc',
'firefox_importer_utils.cc', 'firefox_importer_utils.cc',
'firefox_profile_lock.cc', 'firefox_profile_lock.cc',
'first_run.cc', 'first_run.cc',
'frame_util.cc', 'frame_util.cc',
'frame_view.cc', 'frame_view.cc',
'gears_integration.cc', 'gears_integration.cc',
'google_url_tracker.cc', 'google_url_tracker.cc',
'google_util.cc', 'google_util.cc',
'hang_monitor/hung_plugin_action.cc', 'hang_monitor/hung_plugin_action.cc',
'hang_monitor/hung_window_detector.cc', 'hang_monitor/hung_window_detector.cc',
'history/archived_database.cc', 'history/archived_database.cc',
'history/download_database.cc', 'history/download_database.cc',
'history/expire_history_backend.cc', 'history/expire_history_backend.cc',
'history/history.cc', 'history/history.cc',
'history/history_backend.cc', 'history/history_backend.cc',
'history/history_database.cc', 'history/history_database.cc',
'history/history_types.cc', 'history/history_types.cc',
'history/in_memory_database.cc', 'history/in_memory_database.cc',
'history/in_memory_history_backend.cc', 'history/in_memory_history_backend.cc',
'history/page_usage_data.cc', 'history/page_usage_data.cc',
'history/query_parser.cc', 'history/query_parser.cc',
'history/snippet.cc', 'history/snippet.cc',
'history/starred_url_database.cc', 'history/starred_url_database.cc',
'history/text_database.cc', 'history/text_database.cc',
'history/text_database_manager.cc', 'history/text_database_manager.cc',
'history/thumbnail_database.cc', 'history/thumbnail_database.cc',
'history/url_database.cc', 'history/url_database.cc',
'history/visit_database.cc', 'history/visit_database.cc',
'history/visit_tracker.cc', 'history/visit_tracker.cc',
'history/visitsegment_database.cc', 'history/visitsegment_database.cc',
'history_model.cc', 'history_model.cc',
'history_tab_ui.cc', 'history_tab_ui.cc',
'history_view.cc', 'history_view.cc',
'icon_loader.cc', 'icon_loader.cc',
'icon_manager.cc', 'icon_manager.cc',
'ie7_password.cc', 'ie7_password.cc',
'ie_importer.cc', 'ie_importer.cc',
'ime_input.cc', 'ime_input.cc',
'importer.cc', 'importer.cc',
'ipc_status_view.cc', 'ipc_status_view.cc',
'jankometer.cc', 'jankometer.cc',
'js_before_unload_handler.cc', 'js_before_unload_handler.cc',
'jsmessage_box_handler.cc', 'jsmessage_box_handler.cc',
'login_prompt.cc', 'login_prompt.cc',
'memory_details.cc', 'memory_details.cc',
'meta_table_helper.cc', 'meta_table_helper.cc',
'metrics_log.cc', 'metrics_log.cc',
'metrics_response.cc', 'metrics_response.cc',
'metrics_service.cc', 'metrics_service.cc',
'modal_html_dialog_delegate.cc', 'modal_html_dialog_delegate.cc',
'mork_reader.cc', 'mork_reader.cc',
'native_ui_contents.cc', 'native_ui_contents.cc',
'navigation_controller.cc', 'navigation_controller.cc',
'navigation_controller_base.cc', 'navigation_controller_base.cc',
'navigation_entry.cc', 'navigation_entry.cc',
'navigation_performance_viewer.cc', 'navigation_performance_viewer.cc',
'navigation_profiler.cc', 'navigation_profiler.cc',
'net/dns_global.cc', 'net/dns_global.cc',
'net/dns_host_info.cc', 'net/dns_host_info.cc',
'net/dns_master.cc', 'net/dns_master.cc',
'net/dns_slave.cc', 'net/dns_slave.cc',
'network_status_view.cc', 'network_status_view.cc',
'google_update.cc', 'google_update.cc',
'page_info_window.cc', 'page_info_window.cc',
'page_load_tracker.cc', 'page_load_tracker.cc',
'page_state.cc', 'page_state.cc',
'password_form_manager.cc', 'password_form_manager.cc',
'password_manager.cc', 'password_manager.cc',
'plugin_installer.cc', 'plugin_installer.cc',
'plugin_process_host.cc', 'plugin_process_host.cc',
'plugin_service.cc', 'plugin_service.cc',
'point_buffer.cc', 'point_buffer.cc',
'printing/page_number.cc', 'printing/page_number.cc',
'printing/page_overlays.cc', 'printing/page_overlays.cc',
'printing/page_range.cc', 'printing/page_range.cc',
'printing/page_setup.cc', 'printing/page_setup.cc',
'printing/print_job.cc', 'printing/print_job.cc',
'printing/print_job_manager.cc', 'printing/print_job_manager.cc',
'printing/print_job_worker.cc', 'printing/print_job_worker.cc',
'printing/print_settings.cc', 'printing/print_settings.cc',
'printing/print_view_manager.cc', 'printing/print_view_manager.cc',
'printing/printed_document.cc', 'printing/printed_document.cc',
'printing/printed_page.cc', 'printing/printed_page.cc',
'printing/printer_query.cc', 'printing/printer_query.cc',
'printing/units.cc', 'printing/units.cc',
'printing/win_printing_context.cc', 'printing/win_printing_context.cc',
'profile.cc', 'profile.cc',
'profile_manager.cc', 'profile_manager.cc',
'provisional_load_details.cc', 'provisional_load_details.cc',
'render_process_host.cc', 'render_process_host.cc',
'render_view_context_menu.cc', 'render_view_context_menu.cc',
'render_view_context_menu_controller.cc', 'render_view_context_menu_controller.cc',
'render_view_host.cc', 'render_view_host.cc',
'render_view_host_manager.cc', 'render_view_host_manager.cc',
'render_widget_helper.cc', 'render_widget_helper.cc',
'render_widget_host.cc', 'render_widget_host.cc',
'render_widget_host_hwnd.cc', 'render_widget_host_hwnd.cc',
'renderer_security_policy.cc', 'renderer_security_policy.cc',
'repost_Form_warning_dialog.cc', 'repost_Form_warning_dialog.cc',
'resource_dispatcher_host.cc', 'resource_dispatcher_host.cc',
'resource_message_filter.cc', 'resource_message_filter.cc',
'rlz/rlz.cc', 'rlz/rlz.cc',
'safe_browsing/bloom_filter.cc', 'safe_browsing/bloom_filter.cc',
'safe_browsing/chunk_range.cc', 'safe_browsing/chunk_range.cc',
'safe_browsing/protocol_manager.cc', 'safe_browsing/protocol_manager.cc',
'safe_browsing/protocol_parser.cc', 'safe_browsing/protocol_parser.cc',
'safe_browsing/safe_browsing_blocking_page.cc', 'safe_browsing/safe_browsing_blocking_page.cc',
'safe_browsing/safe_browsing_database.cc', 'safe_browsing/safe_browsing_database.cc',
'safe_browsing/safe_browsing_service.cc', 'safe_browsing/safe_browsing_service.cc',
'safe_browsing/safe_browsing_util.cc', 'safe_browsing/safe_browsing_util.cc',
'sandbox_policy.cc', 'sandbox_policy.cc',
'save_file.cc', 'save_file.cc',
'save_file_manager.cc', 'save_file_manager.cc',
'save_item.cc', 'save_item.cc',
'save_package.cc', 'save_package.cc',
'save_page_model.cc', 'save_page_model.cc',
'session_backend.cc', 'session_backend.cc',
'session_crashed_view.cc', 'session_crashed_view.cc',
'session_restore.cc', 'session_restore.cc',
'session_service.cc', 'session_service.cc',
'session_startup_pref.cc', 'session_startup_pref.cc',
'shell_integration.cc', 'shell_integration.cc',
'simple_vista_frame.cc', 'simple_vista_frame.cc',
'simple_xp_frame.cc', 'simple_xp_frame.cc',
'site_instance.cc', 'site_instance.cc',
'spellcheck_worditerator.cc', 'spellcheck_worditerator.cc',
'spellchecker.cc', 'spellchecker.cc',
'ssl_blocking_page.cc', 'ssl_blocking_page.cc',
'ssl_error_info.cc', 'ssl_error_info.cc',
'ssl_manager.cc', 'ssl_manager.cc',
'ssl_policy.cc', 'ssl_policy.cc',
'status_view.cc', 'status_view.cc',
'suspend_controller.cc', 'suspend_controller.cc',
'tab_contents.cc', 'tab_contents.cc',
'tab_contents_container_view.cc', 'tab_contents_container_view.cc',
'tab_contents_factory.cc', 'tab_contents_factory.cc',
'tab_restore_service.cc', 'tab_restore_service.cc',
'tab_util.cc', 'tab_util.cc',
'tabs/dragged_tab_controller.cc', 'tabs/dragged_tab_controller.cc',
'tabs/dragged_tab_view.cc', 'tabs/dragged_tab_view.cc',
'tabs/hwnd_photobooth.cc', 'tabs/hwnd_photobooth.cc',
'tabs/tab.cc', 'tabs/tab.cc',
'tabs/tab_renderer.cc', 'tabs/tab_renderer.cc',
'tabs/tab_strip.cc', 'tabs/tab_strip.cc',
'tabs/tab_strip_model.cc', 'tabs/tab_strip_model.cc',
'tabs/tab_strip_model_order_controller.cc', 'tabs/tab_strip_model_order_controller.cc',
'task_manager.cc', 'task_manager.cc',
'task_manager_resource_providers.cc', 'task_manager_resource_providers.cc',
'template_url.cc', 'template_url.cc',
'template_url_fetcher.cc', 'template_url_fetcher.cc',
'template_url_model.cc', 'template_url_model.cc',
'template_url_parser.cc', 'template_url_parser.cc',
'template_url_prepopulate_data.cc', 'template_url_prepopulate_data.cc',
'title_chomper.cc', 'title_chomper.cc',
'toolbar_model.cc', 'toolbar_model.cc',
'url_fetcher.cc', 'url_fetcher.cc',
'url_fetcher_protect.cc', 'url_fetcher_protect.cc',
'url_fixer_upper.cc', 'url_fixer_upper.cc',
'user_data_dir_dialog.cc', 'user_data_dir_dialog.cc',
'user_metrics.cc', 'user_metrics.cc',
'view_source_contents.cc', 'view_source_contents.cc',
'visitedlink_master.cc', 'visitedlink_master.cc',
'vista_frame.cc', 'vista_frame.cc',
'web_app.cc', 'web_app.cc',
'web_app_icon_manager.cc', 'web_app_icon_manager.cc',
'web_app_launcher.cc', 'web_app_launcher.cc',
'web_contents.cc', 'web_contents.cc',
'web_drag_source.cc', 'web_drag_source.cc',
'web_drop_target.cc', 'web_drop_target.cc',
'webdata/web_data_service.cc', 'webdata/web_data_service.cc',
'webdata/web_database.cc', 'webdata/web_database.cc',
'window_clipping_info.cc', 'window_clipping_info.cc',
'window_sizer.cc', 'window_sizer.cc',
'wizard/wizard.cc', 'wizard/wizard.cc',
'xp_frame.cc', 'xp_frame.cc',
] ]
env.ChromeStaticLibrary('browser', input_files) env.ChromeStaticLibrary('browser', input_files)
SConscript('debugger/SConscript', exports=['env']) SConscript('debugger/SConscript', exports=['env'])

@ -1,77 +1,77 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#/..', '#/..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'LIBXML_STATIC', 'LIBXML_STATIC',
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
'$NPAPI_DIR', '$NPAPI_DIR',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$CHROME_DIR/app', '$CHROME_DIR/app',
'$ZLIB_DIR', '$ZLIB_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
], ],
) )
input_files = [ input_files = [
'debugger_contents.cc', 'debugger_contents.cc',
'debugger_io_socket.cc', 'debugger_io_socket.cc',
'debugger_node.cc', 'debugger_node.cc',
'debugger_shell.cc', 'debugger_shell.cc',
'debugger_view.cc', 'debugger_view.cc',
'debugger_window.cc', 'debugger_window.cc',
'debugger_wrapper.cc', 'debugger_wrapper.cc',
] ]
env.ChromeStaticLibrary('debugger', input_files) env.ChromeStaticLibrary('debugger', input_files)

@ -1,149 +1,149 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/app/resources', '$CHROME_DIR/app/resources',
#'$OBJ_ROOT/google_update', #'$OBJ_ROOT/google_update',
'#/tools/build/win', '#/tools/build/win',
'#/..', '#/..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'USE_HUNSPELL', 'USE_HUNSPELL',
'HUNSPELL_CHROME_CLIENT', 'HUNSPELL_CHROME_CLIENT',
'LIBXML_STATIC', 'LIBXML_STATIC',
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GOOGLE_UPDATE_DIR', '$GOOGLE_UPDATE_DIR',
'$CHROME_DIR/third_party/hunspell/src/hunspell', '$CHROME_DIR/third_party/hunspell/src/hunspell',
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
'$NPAPI_DIR', '$NPAPI_DIR',
'$LIBXML_DIR/scons/include', '$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$CHROME_DIR/app', '$CHROME_DIR/app',
'$WEBKIT_DIR/build/localized_strings', '$WEBKIT_DIR/build/localized_strings',
'$ZLIB_DIR', '$ZLIB_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
], ],
) )
input_files = [ input_files = [
'about_chrome_view.cc', 'about_chrome_view.cc',
'bookmark_bar_view.cc', 'bookmark_bar_view.cc',
'bookmark_bubble_view.cc', 'bookmark_bubble_view.cc',
'bookmark_editor_view.cc', 'bookmark_editor_view.cc',
'bug_report_view.cc', 'bug_report_view.cc',
'clear_browsing_data.cc', 'clear_browsing_data.cc',
'constrained_window_animation.cc', 'constrained_window_animation.cc',
'constrained_window_impl.cc', 'constrained_window_impl.cc',
'delay_view.cc', 'delay_view.cc',
'download_item_view.cc', 'download_item_view.cc',
'download_shelf_view.cc', 'download_shelf_view.cc',
'download_started_animation.cc', 'download_started_animation.cc',
'edit_keyword_controller.cc', 'edit_keyword_controller.cc',
'event_utils.cc', 'event_utils.cc',
'first_run_bubble.cc', 'first_run_bubble.cc',
'first_run_customize_view.cc', 'first_run_customize_view.cc',
'first_run_view.cc', 'first_run_view.cc',
'first_run_view_base.cc', 'first_run_view_base.cc',
'frame/aero_glass_frame.cc', 'frame/aero_glass_frame.cc',
'frame/aero_glass_non_client_view.cc', 'frame/aero_glass_non_client_view.cc',
'frame/browser_view.cc', 'frame/browser_view.cc',
'frame/browser_view2.cc', 'frame/browser_view2.cc',
'frame/browser_window_factory.cc', 'frame/browser_window_factory.cc',
'frame/opaque_frame.cc', 'frame/opaque_frame.cc',
'frame/opaque_non_client_view.cc', 'frame/opaque_non_client_view.cc',
'go_button.cc', 'go_button.cc',
'html_dialog_view.cc', 'html_dialog_view.cc',
'hung_renderer_view.cc', 'hung_renderer_view.cc',
'hwnd_html_view.cc', 'hwnd_html_view.cc',
'importer_lock_view.cc', 'importer_lock_view.cc',
'importer_view.cc', 'importer_view.cc',
'importing_progress_view.cc', 'importing_progress_view.cc',
'info_bar_alternate_nav_url_view.cc', 'info_bar_alternate_nav_url_view.cc',
'info_bar_confirm_view.cc', 'info_bar_confirm_view.cc',
'info_bar_item_view.cc', 'info_bar_item_view.cc',
'info_bar_message_view.cc', 'info_bar_message_view.cc',
'info_bar_view.cc', 'info_bar_view.cc',
'info_bubble.cc', 'info_bubble.cc',
'input_window.cc', 'input_window.cc',
'keyword_editor_view.cc', 'keyword_editor_view.cc',
'location_bar_view.cc', 'location_bar_view.cc',
'login_view.cc', 'login_view.cc',
'options/advanced_contents_view.cc', 'options/advanced_contents_view.cc',
'options/advanced_page_view.cc', 'options/advanced_page_view.cc',
'options/content_page_view.cc', 'options/content_page_view.cc',
'options/cookies_view.cc', 'options/cookies_view.cc',
'options/fonts_languages_window_view.cc', 'options/fonts_languages_window_view.cc',
'options/fonts_page_view.cc', 'options/fonts_page_view.cc',
'options/general_page_view.cc', 'options/general_page_view.cc',
'options/language_combobox_model.cc', 'options/language_combobox_model.cc',
'options/languages_page_view.cc', 'options/languages_page_view.cc',
'options/options_group_view.cc', 'options/options_group_view.cc',
'options/options_page_view.cc', 'options/options_page_view.cc',
'options/options_window_view.cc', 'options/options_window_view.cc',
'password_manager_view.cc', 'password_manager_view.cc',
'restart_message_box.cc', 'restart_message_box.cc',
'sad_tab_view.cc', 'sad_tab_view.cc',
'shelf_item_dialog.cc', 'shelf_item_dialog.cc',
'shell_dialogs.cc', 'shell_dialogs.cc',
'star_toggle.cc', 'star_toggle.cc',
'status_bubble.cc', 'status_bubble.cc',
'tab_icon_view.cc', 'tab_icon_view.cc',
'theme_helpers.cc', 'theme_helpers.cc',
'toolbar_star_toggle.cc', 'toolbar_star_toggle.cc',
'toolbar_view.cc', 'toolbar_view.cc',
] ]
env.ChromeStaticLibrary('browser_views', input_files) env.ChromeStaticLibrary('browser_views', input_files)
SConscript('debugger/SConscript', exports=['env']) SConscript('debugger/SConscript', exports=['env'])

@ -1,190 +1,190 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env', 'env_test') Import('env', 'env_test')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/app/resources', '$CHROME_DIR/app/resources',
'#/tools/build/win', '#/tools/build/win',
'#/..', '#/..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'third_party/wtl/include', 'third_party/wtl/include',
'$NPAPI_DIR', '$NPAPI_DIR',
'$LIBXML_DIR/scons/include', '$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'app', 'app',
'$WEBKIT_DIR/build/localized_strings', '$WEBKIT_DIR/build/localized_strings',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$ZLIB_DIR', '$ZLIB_DIR',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
'$LIBJPEG_DIR', '$LIBJPEG_DIR',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
], ],
) )
input_files = [ input_files = [
'animation.cc', 'animation.cc',
'child_process.cc', 'child_process.cc',
'chrome_constants.cc', 'chrome_constants.cc',
'chrome_counters.cc', 'chrome_counters.cc',
'chrome_paths.cc', 'chrome_paths.cc',
'chrome_plugin_lib.cc', 'chrome_plugin_lib.cc',
'chrome_plugin_util.cc', 'chrome_plugin_util.cc',
'chrome_process_filter.cc', 'chrome_process_filter.cc',
'chrome_switches.cc', 'chrome_switches.cc',
'classfactory.cc', 'classfactory.cc',
'clipboard_service.cc', 'clipboard_service.cc',
'common_glue.cc', 'common_glue.cc',
'debug_flags.cc', 'debug_flags.cc',
'drag_drop_types.cc', 'drag_drop_types.cc',
'env_util.cc', 'env_util.cc',
'env_vars.cc', 'env_vars.cc',
'gfx/chrome_canvas.cc', 'gfx/chrome_canvas.cc',
'gfx/chrome_font.cc', 'gfx/chrome_font.cc',
'gfx/color_utils.cc', 'gfx/color_utils.cc',
'gfx/emf.cc', 'gfx/emf.cc',
'gfx/icon_util.cc', 'gfx/icon_util.cc',
'gfx/path.cc', 'gfx/path.cc',
'gfx/url_elider.cc', 'gfx/url_elider.cc',
'ipc_channel.cc', 'ipc_channel.cc',
'ipc_channel_proxy.cc', 'ipc_channel_proxy.cc',
'ipc_logging.cc', 'ipc_logging.cc',
'ipc_message.cc', 'ipc_message.cc',
'ipc_message_utils.cc', 'ipc_message_utils.cc',
'ipc_sync_channel.cc', 'ipc_sync_channel.cc',
'ipc_sync_message.cc', 'ipc_sync_message.cc',
'jpeg_codec.cc', 'jpeg_codec.cc',
'json_value_serializer.cc', 'json_value_serializer.cc',
'jstemplate_builder.cc', 'jstemplate_builder.cc',
'l10n_util.cc', 'l10n_util.cc',
'libxml_utils.cc', 'libxml_utils.cc',
'logging_chrome.cc', 'logging_chrome.cc',
'message_router.cc', 'message_router.cc',
'net/cookie_monster_sqlite.cc', 'net/cookie_monster_sqlite.cc',
'net/url_request_intercept_job.cc', 'net/url_request_intercept_job.cc',
'notification_service.cc', 'notification_service.cc',
'os_exchange_data.cc', 'os_exchange_data.cc',
'plugin_messages.cc', 'plugin_messages.cc',
'pref_names.cc', 'pref_names.cc',
'pref_service.cc', 'pref_service.cc',
'process_watcher.cc', 'process_watcher.cc',
'rand_util.cc', 'rand_util.cc',
'render_messages.cc', 'render_messages.cc',
'resource_bundle.cc', 'resource_bundle.cc',
'resource_dispatcher.cc', 'resource_dispatcher.cc',
'security_filter_peer.cc', 'security_filter_peer.cc',
'slide_animation.cc', 'slide_animation.cc',
'sqlite_compiled_statement.cc', 'sqlite_compiled_statement.cc',
'sqlite_utils.cc', 'sqlite_utils.cc',
'task_queue.cc', 'task_queue.cc',
'throb_animation.cc', 'throb_animation.cc',
'thumbnail_score.cc', 'thumbnail_score.cc',
'time_format.cc', 'time_format.cc',
'visitedlink_common.cc', 'visitedlink_common.cc',
'win_safe_util.cc', 'win_safe_util.cc',
'win_util.cc', 'win_util.cc',
'worker_thread_ticker.cc', 'worker_thread_ticker.cc',
] ]
env.ChromeStaticLibrary('common', input_files) env.ChromeStaticLibrary('common', input_files)
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Append( env_test.Append(
CPPPATH = [ CPPPATH = [
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
'$GTEST_DIR/include', '$GTEST_DIR/include',
], ],
LIBS = [ LIBS = [
'base', 'base',
'gtest', 'gtest',
'icuuc', 'icuuc',
], ],
) )
env_test.Append( env_test.Append(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/DEBUG', '/DEBUG',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
], ],
LIBS = [ LIBS = [
'rpcrt4.lib', 'rpcrt4.lib',
'shlwapi.lib', 'shlwapi.lib',
'winmm.lib', 'winmm.lib',
], ],
) )
ipc_tests_files = [ ipc_tests_files = [
'$BASE_DIR/perftimer$OBJSUFFIX', '$BASE_DIR/perftimer$OBJSUFFIX',
'ipc_fuzzing_tests.cc', 'ipc_fuzzing_tests.cc',
'ipc_tests.cc', 'ipc_tests.cc',
] ]
libs = [ libs = [
'common.lib', 'common.lib',
] ]
ipc_tests = env_test.ChromeTestProgram('ipc_tests.exe', ipc_tests_files + libs) ipc_tests = env_test.ChromeTestProgram('ipc_tests.exe', ipc_tests_files + libs)
i = env_test.Install('$TARGET_ROOT', ipc_tests) i = env_test.Install('$TARGET_ROOT', ipc_tests)
Alias('chrome', i) Alias('chrome', i)

@ -1,187 +1,187 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env', 'env_res', 'env_test') Import('env', 'env_res', 'env_test')
env = env.Clone() env = env.Clone()
env['LIBS'].remove('DelayImp.lib') env['LIBS'].remove('DelayImp.lib')
env_res = env_res.Clone() env_res = env_res.Clone()
env_test = env_test.Clone() env_test = env_test.Clone()
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
"$TARGET_ROOT", "$TARGET_ROOT",
".", ".",
"#/..", "#/..",
], ],
RCFLAGS = [ RCFLAGS = [
["/l", "0x409"], ["/l", "0x409"],
], ],
) )
resources = env_res.RES('mini_installer.rc') resources = env_res.RES('mini_installer.rc')
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'#/..', '#/..',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/GS-', # because we link with /NODEFAULTLIB '/GS-', # because we link with /NODEFAULTLIB
], ],
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/NODEFAULTLIB', '/NODEFAULTLIB',
'/DEBUG', '/DEBUG',
'/SUBSYSTEM:WINDOWS', '/SUBSYSTEM:WINDOWS',
'/OPT:NOWIN98', '/OPT:NOWIN98',
'/ENTRY:"MainEntryPoint"', '/ENTRY:"MainEntryPoint"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/SAFESEH:NO', '/SAFESEH:NO',
'/NXCOMPAT', '/NXCOMPAT',
'/DYNAMICBASE:NO', '/DYNAMICBASE:NO',
'/PDB:${TARGETS[1]}', '/PDB:${TARGETS[1]}',
'/MAP:${TARGETS[2]}', '/MAP:${TARGETS[2]}',
], ],
LIBS = [ LIBS = [
'shlwapi.lib', 'shlwapi.lib',
], ],
) )
env['CCFLAGS'].remove('/RTC1') env['CCFLAGS'].remove('/RTC1')
components = [ components = [
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj", "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj",
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj", "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj",
"$TARGET_ROOT/chrome_dll.lib", "$TARGET_ROOT/chrome_dll.lib",
] ]
input_files = [ input_files = [
"mini_installer.cc", "mini_installer.cc",
"pe_resource.cc", "pe_resource.cc",
] ]
exe = env.ChromeProgram(['mini_installer', exe = env.ChromeProgram(['mini_installer',
'mini_installer.pdb', 'mini_installer.pdb',
'mini_installer.map'], 'mini_installer.map'],
components + resources + input_files) components + resources + input_files)
i = env.Install('$TARGET_ROOT', exe) i = env.Install('$TARGET_ROOT', exe)
env.Alias('chrome', i) env.Alias('chrome', i)
env.AppendENVPath('PATH', r'C:\WINDOWS\system32') env.AppendENVPath('PATH', r'C:\WINDOWS\system32')
packed = env.Command('$TARGET_ROOT/packed_files.txt', packed = env.Command('$TARGET_ROOT/packed_files.txt',
['$CHROME_DIR/tools/build/win/create_installer_archive.py', ['$CHROME_DIR/tools/build/win/create_installer_archive.py',
'$CHROME_DIR/installer/mini_installer/chrome.release'], '$CHROME_DIR/installer/mini_installer/chrome.release'],
('$PYTHON ${SOURCES[0]}' ('$PYTHON ${SOURCES[0]}'
' --output_dir=${TARGET.dir}' ' --output_dir=${TARGET.dir}'
' --input_file=${SOURCES[1]}')) ' --input_file=${SOURCES[1]}'))
env.Depends(packed, '$TARGET_ROOT/setup.exe') env.Depends(packed, '$TARGET_ROOT/setup.exe')
env.ChromeVersionRC('mini_installer_exe_version.rc', env.ChromeVersionRC('mini_installer_exe_version.rc',
'mini_installer_exe_version.rc.version', 'mini_installer_exe_version.rc.version',
PWD=Dir('.')) PWD=Dir('.'))
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'gtest', 'gtest',
'icuuc', 'icuuc',
'common', 'common',
'base', 'base',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'shlwapi.lib', 'shlwapi.lib',
], ],
) )
input_files = [ input_files = [
'../setup/setup_constants$OBJSUFFIX', '../setup/setup_constants$OBJSUFFIX',
'../util/copy_tree_work_item_unittest.cc', '../util/copy_tree_work_item_unittest.cc',
'../util/create_dir_work_item_unittest.cc', '../util/create_dir_work_item_unittest.cc',
'../util/create_reg_key_work_item_unittest.cc', '../util/create_reg_key_work_item_unittest.cc',
'../util/delete_tree_work_item_unittest.cc', '../util/delete_tree_work_item_unittest.cc',
'../util/helper_unittest.cc', '../util/helper_unittest.cc',
'../util/install_util_unittest.cc', '../util/install_util_unittest.cc',
'../util/run_all_unittests.cc', '../util/run_all_unittests.cc',
'../util/set_reg_value_work_item_unittest.cc', '../util/set_reg_value_work_item_unittest.cc',
'../util/work_item_list_unittest.cc', '../util/work_item_list_unittest.cc',
] ]
libs = [ libs = [
'../util/util.lib', '../util/util.lib',
] ]
exe = env_test.ChromeTestProgram(['installer_unittests', exe = env_test.ChromeTestProgram(['installer_unittests',
'installer_unittests.pdb'], 'installer_unittests.pdb'],
input_files + libs) input_files + libs)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,120 +1,120 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env', 'env_res') Import('env', 'env_res')
env = env.Clone() env = env.Clone()
env_res = env_res.Clone() env_res = env_res.Clone()
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
"$TARGET_ROOT", "$TARGET_ROOT",
".", ".",
"#/..", "#/..",
], ],
RCFLAGS = [ RCFLAGS = [
["/l", "0x409"], ["/l", "0x409"],
], ],
) )
resources = [ resources = [
env_res.RES('setup.rc'), env_res.RES('setup.rc'),
env_res.RES('../util/setup_strings.rc'), env_res.RES('../util/setup_strings.rc'),
] ]
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'../util', '../util',
'$TARGET_ROOT', '$TARGET_ROOT',
'.', '.',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'bspatch', 'bspatch',
'lzma_sdk', 'lzma_sdk',
'icuuc', 'icuuc',
'common', 'common',
'base', 'base',
], ],
) )
env.Prepend( env.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/OPT:NOWIN98', '/OPT:NOWIN98',
'/SUBSYSTEM:WINDOWS', '/SUBSYSTEM:WINDOWS',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/PDB:${TARGETS[1]}', '/PDB:${TARGETS[1]}',
'/MAP:${TARGETS[2]}', '/MAP:${TARGETS[2]}',
], ],
LIBS = [ LIBS = [
'shlwapi.lib', 'shlwapi.lib',
'msi.lib', 'msi.lib',
], ],
) )
input_files = [ input_files = [
'install.cc', 'install.cc',
'main.cc', 'main.cc',
'setup.cc', 'setup.cc',
'setup_constants.cc', 'setup_constants.cc',
'uninstall.cc', 'uninstall.cc',
] ]
libs = [ libs = [
'../util/util.lib', '../util/util.lib',
] ]
exe = env.ChromeProgram(['setup', exe = env.ChromeProgram(['setup',
'setup.pdb', 'setup.pdb',
'setup.map'], 'setup.map'],
resources + input_files + libs) resources + input_files + libs)
i = env.Install('$TARGET_ROOT', exe) i = env.Install('$TARGET_ROOT', exe)
env.Alias('chrome', i) env.Alias('chrome', i)
env.ChromeVersionRC('setup_exe_version.rc', env.ChromeVersionRC('setup_exe_version.rc',
'setup_exe_version.rc.version', 'setup_exe_version.rc.version',
PWD = env.Dir('.')) PWD = env.Dir('.'))

@ -1,97 +1,97 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$LZMA_SDK_DIR', '$LZMA_SDK_DIR',
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
'$NPAPI_DIR', '$NPAPI_DIR',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$ZLIB_DIR', '$ZLIB_DIR',
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
'$LIBJPEG_DIR', '$LIBJPEG_DIR',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'#/..', '#/..',
'.', '.',
], ],
CPPDEFINES = [ CPPDEFINES = [
"_LZMA_IN_CB", "_LZMA_IN_CB",
"LIBXML_STATIC", "LIBXML_STATIC",
"PNG_USER_CONFIG", "PNG_USER_CONFIG",
"CHROME_PNG_WRITE_SUPPORT" "CHROME_PNG_WRITE_SUPPORT"
"U_STATIC_IMPLEMENTATION", "U_STATIC_IMPLEMENTATION",
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
input_files = [ input_files = [
'../../app/google_update_settings$OBJSUFFIX', '../../app/google_update_settings$OBJSUFFIX',
'copy_tree_work_item.cc', 'copy_tree_work_item.cc',
'create_dir_work_item.cc', 'create_dir_work_item.cc',
'create_reg_key_work_item.cc', 'create_reg_key_work_item.cc',
'delete_tree_work_item.cc', 'delete_tree_work_item.cc',
'google_update_constants.cc', 'google_update_constants.cc',
'helper.cc', 'helper.cc',
'install_util.cc', 'install_util.cc',
'l10n_string_util.cc', 'l10n_string_util.cc',
'logging_installer.cc', 'logging_installer.cc',
'lzma_util.cc', 'lzma_util.cc',
'set_reg_value_work_item.cc', 'set_reg_value_work_item.cc',
'shell_util.cc', 'shell_util.cc',
'util_constants.cc', 'util_constants.cc',
'version.cc', 'version.cc',
'work_item.cc', 'work_item.cc',
'work_item_list.cc', 'work_item_list.cc',
] ]
x = env.ChromeStaticLibrary('util', input_files) x = env.ChromeStaticLibrary('util', input_files)
# create_string_rc.py imports FP.py from the tools/grit/grit/extern # create_string_rc.py imports FP.py from the tools/grit/grit/extern
# directory, so add that to PYTHONPATH for this command execution. # directory, so add that to PYTHONPATH for this command execution.
env_x = env.Clone() env_x = env.Clone()
env_x.AppendENVPath('PYTHONPATH', [Dir('#/../tools/grit/grit/extern').abspath]) env_x.AppendENVPath('PYTHONPATH', [Dir('#/../tools/grit/grit/extern').abspath])
env_x.Command(['$CHROME_DIR/installer/util/setup_strings.rc', env_x.Command(['$CHROME_DIR/installer/util/setup_strings.rc',
'$CHROME_DIR/installer/util/setup_strings.h'], '$CHROME_DIR/installer/util/setup_strings.h'],
['$CHROME_DIR/installer/util/prebuild/create_string_rc.py', ['$CHROME_DIR/installer/util/prebuild/create_string_rc.py',
'$CHROME_DIR/app/generated_resources.grd'] + '$CHROME_DIR/app/generated_resources.grd'] +
env.Glob('$CHROME_DIR/app/resources/*.xtb'), env.Glob('$CHROME_DIR/app/resources/*.xtb'),
"$PYTHON ${SOURCES[0]} ${TARGET.dir}") "$PYTHON ${SOURCES[0]} ${TARGET.dir}")

@ -1,63 +1,63 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$NPAPI_DIR', '$NPAPI_DIR',
'$CHROME_DIR/tools/build/win', '$CHROME_DIR/tools/build/win',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
input_files = [ input_files = [
'chrome_plugin_host.cc', 'chrome_plugin_host.cc',
'npobject_proxy.cc', 'npobject_proxy.cc',
'npobject_stub.cc', 'npobject_stub.cc',
'npobject_util.cc', 'npobject_util.cc',
'plugin_channel.cc', 'plugin_channel.cc',
'plugin_channel_base.cc', 'plugin_channel_base.cc',
'plugin_main.cc', 'plugin_main.cc',
'plugin_process.cc', 'plugin_process.cc',
'plugin_thread.cc', 'plugin_thread.cc',
'webplugin_delegate_stub.cc', 'webplugin_delegate_stub.cc',
'webplugin_proxy.cc', 'webplugin_proxy.cc',
] ]
env.ChromeStaticLibrary('plugin', input_files) env.ChromeStaticLibrary('plugin', input_files)

@ -1,81 +1,81 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/app/resources', '$CHROME_DIR/app/resources',
'#/tools/build/win', '#/tools/build/win',
'#/..', '#/..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'third_party/wtl/include', 'third_party/wtl/include',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$NPAPI_DIR', '$NPAPI_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
], ],
) )
input_files = [ input_files = [
'about_handler.cc', 'about_handler.cc',
'automation/dom_automation_controller.cc', 'automation/dom_automation_controller.cc',
'debug_message_handler.cc', 'debug_message_handler.cc',
'dom_ui_bindings.cc', 'dom_ui_bindings.cc',
'external_js_object.cc', 'external_js_object.cc',
'localized_error.cc', 'localized_error.cc',
'net/render_dns_master.cc', 'net/render_dns_master.cc',
'net/render_dns_queue.cc', 'net/render_dns_queue.cc',
'plugin_channel_host.cc', 'plugin_channel_host.cc',
'render_process.cc', 'render_process.cc',
'render_thread.cc', 'render_thread.cc',
'render_view.cc', 'render_view.cc',
'render_widget.cc', 'render_widget.cc',
'renderer_glue.cc', 'renderer_glue.cc',
'renderer_main.cc', 'renderer_main.cc',
'visitedlink_slave.cc', 'visitedlink_slave.cc',
'webplugin_delegate_proxy.cc', 'webplugin_delegate_proxy.cc',
] ]
env.ChromeStaticLibrary('renderer', input_files) env.ChromeStaticLibrary('renderer', input_files)

@ -1,73 +1,73 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'.', '.',
'#/..', '#/..',
], ],
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/MANIFEST', '/MANIFEST',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/DEBUG', '/DEBUG',
], ],
LIBS = [ LIBS = [
'comsuppw.lib', 'comsuppw.lib',
], ],
) )
env.TypeLibrary('activex_test_control.idl') env.TypeLibrary('activex_test_control.idl')
input_files = [ input_files = [
'activex_test_control.cc', 'activex_test_control.cc',
'activex_test_control.def', 'activex_test_control.def',
'chrome_test_control.cc', 'chrome_test_control.cc',
] ]
dll = env.ChromeSharedLibrary(['activex_test_control', 'activex_test_control.lib'], dll = env.ChromeSharedLibrary(['activex_test_control', 'activex_test_control.lib'],
input_files) input_files)
i = env.Install('$TARGET_ROOT', dll) i = env.Install('$TARGET_ROOT', dll)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,58 +1,58 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
#'../../..', #'../../..',
#'$GTEST_DIR/include', #'$GTEST_DIR/include',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
) )
input_files = [ input_files = [
'autocomplete_edit_proxy.cc', 'autocomplete_edit_proxy.cc',
'automation_handle_tracker.cc', 'automation_handle_tracker.cc',
'automation_proxy.cc', 'automation_proxy.cc',
'browser_proxy.cc', 'browser_proxy.cc',
'constrained_window_proxy.cc', 'constrained_window_proxy.cc',
'tab_proxy.cc', 'tab_proxy.cc',
'window_proxy.cc', 'window_proxy.cc',
] ]
lib = env.ChromeStaticLibrary('automation', input_files) lib = env.ChromeStaticLibrary('automation', input_files)
i = env.Install('$TARGET_ROOT', lib) i = env.Install('$TARGET_ROOT', lib)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,76 +1,76 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'icuuc', 'icuuc',
'base', 'base',
], ],
) )
env.Prepend( env.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/MANIFEST', '/MANIFEST',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/DEBUG', '/DEBUG',
], ],
LIBS = [ LIBS = [
'winmm.lib', 'winmm.lib',
], ],
) )
input_files = [ input_files = [
'test_chrome_plugin.cc', 'test_chrome_plugin.cc',
'test_chrome_plugin.def', 'test_chrome_plugin.def',
] ]
dll = env.ChromeSharedLibrary('test_chrome_plugin', input_files) dll = env.ChromeSharedLibrary('test_chrome_plugin', input_files)
i = env.Install('$TARGET_ROOT', dll) i = env.Install('$TARGET_ROOT', dll)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,112 +1,112 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
'LIBXSLT_STATIC', 'LIBXSLT_STATIC',
'LIBXML_STATIC', 'LIBXML_STATIC',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
'$CHROME_DIR/third_party/wtl/include', '$CHROME_DIR/third_party/wtl/include',
'$LIBXSLT_DIR', '$LIBXSLT_DIR',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
], ],
LIBS = [ LIBS = [
'automation', 'automation',
'base', 'base',
'base_gfx', 'base_gfx',
'browser', 'browser',
'browser_views', 'browser_views',
'bzip2', 'bzip2',
'common', 'common',
'googleurl', 'googleurl',
'gtest', 'gtest',
'icuuc', 'icuuc',
'libpng', 'libpng',
'modp_b64', 'modp_b64',
'net', 'net',
'skia', 'skia',
'zlib', 'zlib',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'psapi.lib', 'psapi.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'winmm.lib', 'winmm.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/browser/browser_focus_uitest.cc', '$CHROME_DIR/browser/browser_focus_uitest.cc',
'$CHROME_DIR/browser/tabs/tab_dragging_test.cc', '$CHROME_DIR/browser/tabs/tab_dragging_test.cc',
'$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc', '$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc',
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
] ]
exe = env_test.ChromeTestProgram(['interactive_ui_tests', exe = env_test.ChromeTestProgram(['interactive_ui_tests',
'interactive_ui_tests.pdb'], 'interactive_ui_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,98 +1,98 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'automation', 'automation',
'base', 'base',
'base_gfx', 'base_gfx',
'browser', 'browser',
'browser_views', 'browser_views',
'common', 'common',
'googleurl', 'googleurl',
'gtest', 'gtest',
'icuuc', 'icuuc',
'libpng', 'libpng',
'net', 'net',
'skia', 'skia',
'zlib', 'zlib',
], ],
) )
if env_test['PLATFORM'] == 'win32': if env_test['PLATFORM'] == 'win32':
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'memory_test.cc', 'memory_test.cc',
] ]
exe = env_test.ChromeTestProgram(['memory_test', exe = env_test.ChromeTestProgram(['memory_test',
'memory_test.pdb'], 'memory_test.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,90 +1,90 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'util', 'util',
'gtest', 'gtest',
'icuuc', 'icuuc',
'base', 'base',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'shlwapi.lib', 'shlwapi.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX', '$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX',
'$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX',
'chrome_mini_installer.cc', 'chrome_mini_installer.cc',
'mini_installer_test_constants.cc', 'mini_installer_test_constants.cc',
'test.cc', 'test.cc',
] ]
exe = env_test.ChromeTestProgram(['mini_installer_test', exe = env_test.ChromeTestProgram(['mini_installer_test',
'mini_installer_test.pdb'], 'mini_installer_test.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,106 +1,106 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'modp_b64', 'modp_b64',
'browser', 'browser',
'browser_views', 'browser_views',
'net', 'net',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'psapi.lib', 'psapi.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'winmm.lib', 'winmm.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'page_cycler_test.cc', 'page_cycler_test.cc',
] ]
exe = env_test.ChromeTestProgram(['page_cycler_tests', exe = env_test.ChromeTestProgram(['page_cycler_tests',
'page_cycler_tests.pdb'], 'page_cycler_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,110 +1,110 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
'LIBXSLT_STATIC', 'LIBXSLT_STATIC',
'LIBXML_STATIC', 'LIBXML_STATIC',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
'$LIBXSLT_DIR', '$LIBXSLT_DIR',
'$LIBXML_DIR/includ', '$LIBXML_DIR/includ',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'security_tests', 'security_tests',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'modp_b64', 'modp_b64',
'browser', 'browser',
'browser_views', 'browser_views',
'net', 'net',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"ws2_32.dll"', '/DELAYLOAD:"ws2_32.dll"',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'winmm.lib', 'winmm.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'plugin_test.cpp', 'plugin_test.cpp',
] ]
exe = env_test.ChromeTestProgram(['plugin_tests', exe = env_test.ChromeTestProgram(['plugin_tests',
'plugin_tests.pdb'], 'plugin_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,104 +1,104 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'RELIABILITY_TEST', # seems to be unused 'RELIABILITY_TEST', # seems to be unused
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'browser', 'browser',
'browser_views', 'browser_views',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'comsupp.lib', 'comsupp.lib',
'oleacc.lib', 'oleacc.lib',
'psapi.lib', 'psapi.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'winmm.lib', 'winmm.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'page_load_test.cc', 'page_load_test.cc',
'run_all_unittests.cc', 'run_all_unittests.cc',
] ]
exe = env_test.ChromeTestProgram(['reliability_tests', exe = env_test.ChromeTestProgram(['reliability_tests',
'reliability_tests.pdb'], 'reliability_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,79 +1,79 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#/..', '#/..',
], ],
) )
env.Prepend( env.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/MANIFEST', '/MANIFEST',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/DEBUG', '/DEBUG',
], ],
LIBS = [ LIBS = [
'DelayImp.lib', 'DelayImp.lib',
], ],
) )
input_files = [ input_files = [
'ipc_security_tests.cc', 'ipc_security_tests.cc',
'security_tests.cc', 'security_tests.cc',
'$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}',
] ]
dll = env.ChromeSharedLibrary(['security_tests', dll = env.ChromeSharedLibrary(['security_tests',
'security_tests.lib', 'security_tests.lib',
'security_tests.ilk', 'security_tests.ilk',
'security_tests.pdb'], 'security_tests.pdb'],
input_files) input_files)
# TODO(sgk): can go away once ChromeSharedLibrary() handles this. # TODO(sgk): can go away once ChromeSharedLibrary() handles this.
env.Install('$LIBS_DIR', dll[1]) env.Install('$LIBS_DIR', dll[1])
i = env.Install('$TARGET_ROOT', dll) i = env.Install('$TARGET_ROOT', dll)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,102 +1,102 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'modp_b64', 'modp_b64',
'browser', 'browser',
'browser_views', 'browser_views',
'net', 'net',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'winmm.lib', 'winmm.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'oleacc.lib', 'oleacc.lib',
'comsupp.lib', 'comsupp.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'selenium_test.cc', 'selenium_test.cc',
] ]
exe = env_test.ChromeTestProgram(['selenium_tests', exe = env_test.ChromeTestProgram(['selenium_tests',
'selenium_tests.pdb'], 'selenium_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,101 +1,101 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'browser', 'browser',
'browser_views', 'browser_views',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'winmm.lib', 'winmm.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'oleacc.lib', 'oleacc.lib',
'comsupp.lib', 'comsupp.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'feature_startup_test.cc', 'feature_startup_test.cc',
'startup_test.cc', 'startup_test.cc',
] ]
exe = env_test.ChromeTestProgram(['startup_tests', exe = env_test.ChromeTestProgram(['startup_tests',
'startup_tests.pdb'], 'startup_tests.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,105 +1,105 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'UI_TEST', 'UI_TEST',
'UNIT_TEST', 'UNIT_TEST',
], ],
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
'$GTEST_DIR', '$GTEST_DIR',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'skia', 'skia',
'libpng', 'libpng',
'gtest', 'gtest',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'common', 'common',
'zlib', 'zlib',
'modp_b64', 'modp_b64',
'browser', 'browser',
'browser_views', 'browser_views',
'net', 'net',
'base', 'base',
'automation', 'automation',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'winmm.lib', 'winmm.lib',
'psapi.lib', 'psapi.lib',
'rpcrt4.lib', 'rpcrt4.lib',
'oleacc.lib', 'oleacc.lib',
'comsupp.lib', 'comsupp.lib',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'tab_switching_test.cc', 'tab_switching_test.cc',
] ]
#"..\..\Debug\obj\tab_switching_test\precompiled_wtl.obj" #"..\..\Debug\obj\tab_switching_test\precompiled_wtl.obj"
exe = env_test.ChromeTestProgram(['tab_switching_test', exe = env_test.ChromeTestProgram(['tab_switching_test',
'tab_switching_test.pdb'], 'tab_switching_test.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,81 +1,81 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Copyright 2008 Google Inc. All Rights Reserved. # Copyright 2008 Google Inc. All Rights Reserved.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'#/..', '#/..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'W32', 'W32',
'OPENOFFICEORG', 'OPENOFFICEORG',
'CHROME_SPELL', 'CHROME_SPELL',
'HUNSPELL_CHROME_CLIENT', 'HUNSPELL_CHROME_CLIENT',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'google/bdict_reader.cc', 'google/bdict_reader.cc',
'src/hunspell/affentry.cxx', 'src/hunspell/affentry.cxx',
'src/hunspell/affixmgr.cxx', 'src/hunspell/affixmgr.cxx',
'src/hunspell/csutil.cxx', 'src/hunspell/csutil.cxx',
'src/hunspell/dictmgr.cxx', 'src/hunspell/dictmgr.cxx',
'src/hunspell/hashmgr.cxx', 'src/hunspell/hashmgr.cxx',
'src/hunspell/hunspell.cxx', 'src/hunspell/hunspell.cxx',
'src/hunspell/suggestmgr.cxx', 'src/hunspell/suggestmgr.cxx',
'src/parsers/textparser.cxx', 'src/parsers/textparser.cxx',
] ]
env.ChromeStaticLibrary('hunspell', input_files) env.ChromeStaticLibrary('hunspell', input_files)
dictionaries = [ dictionaries = [
'dictionaries/en-US.bdic', 'dictionaries/en-US.bdic',
'dictionaries/en-US.dic', 'dictionaries/en-US.dic',
'dictionaries/en-US.aff', 'dictionaries/en-US.aff',
] ]
i = env.Install('$TARGET_ROOT/Dictionaries', dictionaries) i = env.Install('$TARGET_ROOT/Dictionaries', dictionaries)
env.Alias('chrome', i) env.Alias('chrome', i)

@ -1,119 +1,119 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Copyright 2008 Google Inc. All Rights Reserved. # Copyright 2008 Google Inc. All Rights Reserved.
Import('env') Import('env')
env = env.Clone( env = env.Clone(
) )
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'..', '..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'SQLITE_ENABLE_FTS2', 'SQLITE_ENABLE_FTS2',
'SQLITE_ENABLE_BROKEN_FTS2', 'SQLITE_ENABLE_BROKEN_FTS2',
'SQLITE_ENABLE_ICU', 'SQLITE_ENABLE_ICU',
'SQLITE_SECURE_DELETE', 'SQLITE_SECURE_DELETE',
'THREADSAFE', 'THREADSAFE',
['_HAS_EXCEPTIONS', '0'], ['_HAS_EXCEPTIONS', '0'],
], ],
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
'/wd4244', '/wd4244',
], ],
) )
input_files = [ input_files = [
'alter.c', 'alter.c',
'analyze.c', 'analyze.c',
'attach.c', 'attach.c',
'auth.c', 'auth.c',
'btree.c', 'btree.c',
'build.c', 'build.c',
'callback.c', 'callback.c',
'complete.c', 'complete.c',
'date.c', 'date.c',
'delete.c', 'delete.c',
'expr.c', 'expr.c',
'fts2.c', 'fts2.c',
'fts2_hash.c', 'fts2_hash.c',
'fts2_icu.c', 'fts2_icu.c',
'fts2_porter.c', 'fts2_porter.c',
'fts2_tokenizer.c', 'fts2_tokenizer.c',
'fts2_tokenizer1.c', 'fts2_tokenizer1.c',
'func.c', 'func.c',
'hash.c', 'hash.c',
'icu.c', 'icu.c',
'insert.c', 'insert.c',
'legacy.c', 'legacy.c',
'loadext.c', 'loadext.c',
'main.c', 'main.c',
'malloc.c', 'malloc.c',
'opcodes.c', 'opcodes.c',
'os.c', 'os.c',
'os_win.c', 'os_win.c',
'pager.c', 'pager.c',
'parse.c', 'parse.c',
'pragma.c', 'pragma.c',
'prepare.c', 'prepare.c',
'printf.c', 'printf.c',
'random.c', 'random.c',
'select.c', 'select.c',
'shell.c', 'shell.c',
'shell_icu.c', 'shell_icu.c',
'table.c', 'table.c',
'tokenize.c', 'tokenize.c',
'trigger.c', 'trigger.c',
'update.c', 'update.c',
'utf.c', 'utf.c',
'util.c', 'util.c',
'vacuum.c', 'vacuum.c',
'vdbe.c', 'vdbe.c',
'vdbeapi.c', 'vdbeapi.c',
'vdbeaux.c', 'vdbeaux.c',
'vdbefifo.c', 'vdbefifo.c',
'vdbemem.c', 'vdbemem.c',
'vtab.c', 'vtab.c',
'where.c', 'where.c',
] ]
env.ChromeStaticLibrary('sqlite', input_files) env.ChromeStaticLibrary('sqlite', input_files)

@ -1,78 +1,78 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$BREAKPAD_DIR/src', '$BREAKPAD_DIR/src',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'base', 'base',
'base_gfx', 'base_gfx',
'breakpad_handler', 'breakpad_handler',
'breakpad_sender', 'breakpad_sender',
'common', 'common',
'icuuc', 'icuuc',
'skia', 'skia',
'zlib', 'zlib',
], ],
) )
env.Prepend( env.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/DEBUG', '/DEBUG',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
input_files = [ input_files = [
'main.cc', 'main.cc',
'crash_service.cc', 'crash_service.cc',
] ]
exe = env.ChromeProgram('crash_service.exe', input_files) exe = env.ChromeProgram('crash_service.exe', input_files)
i = env.Install('$TARGET_ROOT', exe) i = env.Install('$TARGET_ROOT', exe)
Alias('chrome', i) Alias('chrome', i)

@ -1,72 +1,72 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPPATH = [ CPPPATH = [
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'icuuc', 'icuuc',
'base', 'base',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
input_files = [ input_files = [
'$CHROME_DIR/test/test_file_util$OBJSUFFIX', '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
'flush_cache.cc', 'flush_cache.cc',
] ]
exe = env_test.ChromeTestProgram(['flush_cache', exe = env_test.ChromeTestProgram(['flush_cache',
'flush_cache'], 'flush_cache'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,84 +1,84 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env_test') Import('env_test')
env_test = env_test.Clone() env_test = env_test.Clone()
env_test.Prepend( env_test.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
'_DEBUG', '_DEBUG',
], ],
CPPPATH = [ CPPPATH = [
'$ZLIB_DIR', '$ZLIB_DIR',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'skia', 'skia',
'libpng', 'libpng',
'base_gfx', 'base_gfx',
'icuuc', 'icuuc',
'zlib', 'zlib',
'base', 'base',
], ],
) )
env_test.Prepend( env_test.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/DEBUG', '/DEBUG',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/SUBSYSTEM:CONSOLE', '/SUBSYSTEM:CONSOLE',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
input_files = [ input_files = [
'image_diff.cc', 'image_diff.cc',
] ]
exe = env_test.ChromeTestProgram(['image_diff', exe = env_test.ChromeTestProgram(['image_diff',
'image_diff.pdb'], 'image_diff.pdb'],
input_files) input_files)
i = env_test.Install('$TARGET_ROOT', exe) i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i) env_test.Alias('chrome', i)

@ -1,117 +1,117 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$CHROME_DIR/tools/build/win', '$CHROME_DIR/tools/build/win',
'#/..', '#/..',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
#'/Wp64', #'/Wp64',
], ],
) )
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'../app/resources', '../app/resources',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/include/platform', '$SKIA_DIR/include/platform',
'third_party/wtl/include', 'third_party/wtl/include',
], ],
) )
input_files = [ input_files = [
'accelerator.cc', 'accelerator.cc',
'accelerator_handler.cc', 'accelerator_handler.cc',
'accessibility/accessible_wrapper.cc', 'accessibility/accessible_wrapper.cc',
'accessibility/autocomplete_accessibility.cc', 'accessibility/autocomplete_accessibility.cc',
'accessibility/view_accessibility.cc', 'accessibility/view_accessibility.cc',
'aero_tooltip_manager.cc', 'aero_tooltip_manager.cc',
'background.cc', 'background.cc',
'base_button.cc', 'base_button.cc',
'bitmap_scroll_bar.cc', 'bitmap_scroll_bar.cc',
'border.cc', 'border.cc',
'button.cc', 'button.cc',
'button_dropdown.cc', 'button_dropdown.cc',
'checkbox.cc', 'checkbox.cc',
'chrome_menu.cc', 'chrome_menu.cc',
'client_view.cc', 'client_view.cc',
'combo_box.cc', 'combo_box.cc',
'custom_frame_window.cc', 'custom_frame_window.cc',
'dialog_client_view.cc', 'dialog_client_view.cc',
'decision.cc', 'decision.cc',
'event.cc', 'event.cc',
'external_focus_tracker.cc', 'external_focus_tracker.cc',
'focus_manager.cc', 'focus_manager.cc',
# This was in the Visual Studio build, but seems unnecessary. # This was in the Visual Studio build, but seems unnecessary.
#'focus_manager_unittest.cc', #'focus_manager_unittest.cc',
'grid_layout.cc', 'grid_layout.cc',
'group_table_view.cc', 'group_table_view.cc',
'hwnd_view.cc', 'hwnd_view.cc',
'hwnd_view_container.cc', 'hwnd_view_container.cc',
'image_view.cc', 'image_view.cc',
'label.cc', 'label.cc',
'layout_manager.cc', 'layout_manager.cc',
'link.cc', 'link.cc',
'menu.cc', 'menu.cc',
'menu_button.cc', 'menu_button.cc',
'message_box_view.cc', 'message_box_view.cc',
'native_button.cc', 'native_button.cc',
'native_control.cc', 'native_control.cc',
'native_scroll_bar.cc', 'native_scroll_bar.cc',
'non_client_view.cc', 'non_client_view.cc',
'painter.cc', 'painter.cc',
'radio_button.cc', 'radio_button.cc',
'repeat_controller.cc', 'repeat_controller.cc',
'resize_corner.cc', 'resize_corner.cc',
'root_view.cc', 'root_view.cc',
'root_view_drop_target.cc', 'root_view_drop_target.cc',
'scroll_bar.cc', 'scroll_bar.cc',
'scroll_view.cc', 'scroll_view.cc',
'separator.cc', 'separator.cc',
'tabbed_pane.cc', 'tabbed_pane.cc',
'table_view.cc', 'table_view.cc',
'text_button.cc', 'text_button.cc',
'text_field.cc', 'text_field.cc',
'throbber.cc', 'throbber.cc',
'tooltip_manager.cc', 'tooltip_manager.cc',
'tree_view.cc', 'tree_view.cc',
'view.cc', 'view.cc',
'view_storage.cc', 'view_storage.cc',
'window.cc', 'window.cc',
] ]
env.ChromeStaticLibrary('views', input_files) env.ChromeStaticLibrary('views', input_files)

@ -1,32 +1,32 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env.TypeLibrary('google_update_idl') env.TypeLibrary('google_update_idl')

@ -1,320 +1,320 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env_res = env.Clone() env_res = env.Clone()
env_tests = env.Clone() env_tests = env.Clone()
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$ZLIB_DIR', '$ZLIB_DIR',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'..', '..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
], ],
CCFLAGS = [ CCFLAGS = [
'/Wp64', '/Wp64',
], ],
) )
input_files = [ input_files = [
'base/address_list.cc', 'base/address_list.cc',
'base/auth_cache.cc', 'base/auth_cache.cc',
'base/base64.cc', 'base/base64.cc',
'base/bzip2_filter.cc', 'base/bzip2_filter.cc',
'base/client_socket_factory.cc', 'base/client_socket_factory.cc',
'base/client_socket_handle.cc', 'base/client_socket_handle.cc',
'base/client_socket_pool.cc', 'base/client_socket_pool.cc',
'base/cookie_monster.cc', 'base/cookie_monster.cc',
'base/cookie_policy.cc', 'base/cookie_policy.cc',
'base/data_url.cc', 'base/data_url.cc',
'base/directory_lister.cc', 'base/directory_lister.cc',
'base/dns_resolution_observer.cc', 'base/dns_resolution_observer.cc',
'base/escape.cc', 'base/escape.cc',
'base/ev_root_ca_metadata.cc', 'base/ev_root_ca_metadata.cc',
'base/filter.cc', 'base/filter.cc',
'base/gzip_filter.cc', 'base/gzip_filter.cc',
'base/gzip_header.cc', 'base/gzip_header.cc',
'base/host_resolver.cc', 'base/host_resolver.cc',
'base/listen_socket.cc', 'base/listen_socket.cc',
'base/mime_sniffer.cc', 'base/mime_sniffer.cc',
'base/mime_util.cc', 'base/mime_util.cc',
'base/net_errors.cc', 'base/net_errors.cc',
'base/net_module.cc', 'base/net_module.cc',
'base/net_util.cc', 'base/net_util.cc',
'base/platform_mime_util_win.cc', 'base/platform_mime_util_win.cc',
'base/registry_controlled_domain.cc', 'base/registry_controlled_domain.cc',
'base/ssl_client_socket.cc', 'base/ssl_client_socket.cc',
'base/ssl_config_service.cc', 'base/ssl_config_service.cc',
'base/tcp_client_socket.cc', 'base/tcp_client_socket.cc',
'base/telnet_server.cc', 'base/telnet_server.cc',
'base/upload_data.cc', 'base/upload_data.cc',
'base/upload_data_stream.cc', 'base/upload_data_stream.cc',
'base/wininet_util.cc', 'base/wininet_util.cc',
'base/winsock_init.cc', 'base/winsock_init.cc',
'base/x509_certificate.cc', 'base/x509_certificate.cc',
'disk_cache/backend_impl.cc', 'disk_cache/backend_impl.cc',
'disk_cache/block_files.cc', 'disk_cache/block_files.cc',
'disk_cache/entry_impl.cc', 'disk_cache/entry_impl.cc',
'disk_cache/file.cc', 'disk_cache/file.cc',
'disk_cache/file_lock.cc', 'disk_cache/file_lock.cc',
'disk_cache/hash.cc', 'disk_cache/hash.cc',
'disk_cache/mapped_file.cc', 'disk_cache/mapped_file.cc',
'disk_cache/mem_backend_impl.cc', 'disk_cache/mem_backend_impl.cc',
'disk_cache/mem_entry_impl.cc', 'disk_cache/mem_entry_impl.cc',
'disk_cache/mem_rankings.cc', 'disk_cache/mem_rankings.cc',
'disk_cache/rankings.cc', 'disk_cache/rankings.cc',
'disk_cache/stats.cc', 'disk_cache/stats.cc',
'disk_cache/trace.cc', 'disk_cache/trace.cc',
'http/cert_status_cache.cc', 'http/cert_status_cache.cc',
'http/http_chunked_decoder.cc', 'http/http_chunked_decoder.cc',
'http/http_cache.cc', 'http/http_cache.cc',
'http/http_network_layer.cc', 'http/http_network_layer.cc',
'http/http_network_transaction.cc', 'http/http_network_transaction.cc',
'http/http_response_headers.cc', 'http/http_response_headers.cc',
'http/http_transaction_winhttp.cc', 'http/http_transaction_winhttp.cc',
'http/http_util.cc', 'http/http_util.cc',
'http/http_vary_data.cc', 'http/http_vary_data.cc',
'http/winhttp_request_throttle.cc', 'http/winhttp_request_throttle.cc',
'proxy/proxy_resolver_fixed.cc', 'proxy/proxy_resolver_fixed.cc',
'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.cc',
'proxy/proxy_service.cc', 'proxy/proxy_service.cc',
'url_request/mime_sniffer_proxy.cc', 'url_request/mime_sniffer_proxy.cc',
'url_request/url_request.cc', 'url_request/url_request.cc',
'url_request/url_request_about_job.cc', 'url_request/url_request_about_job.cc',
'url_request/url_request_error_job.cc', 'url_request/url_request_error_job.cc',
'url_request/url_request_file_dir_job.cc', 'url_request/url_request_file_dir_job.cc',
'url_request/url_request_file_job.cc', 'url_request/url_request_file_job.cc',
'url_request/url_request_filter.cc', 'url_request/url_request_filter.cc',
'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.cc',
'url_request/url_request_http_job.cc', 'url_request/url_request_http_job.cc',
'url_request/url_request_inet_job.cc', 'url_request/url_request_inet_job.cc',
'url_request/url_request_job.cc', 'url_request/url_request_job.cc',
'url_request/url_request_job_manager.cc', 'url_request/url_request_job_manager.cc',
'url_request/url_request_job_metrics.cc', 'url_request/url_request_job_metrics.cc',
'url_request/url_request_job_tracker.cc', 'url_request/url_request_job_tracker.cc',
'url_request/url_request_simple_job.cc', 'url_request/url_request_simple_job.cc',
'url_request/url_request_test_job.cc', 'url_request/url_request_test_job.cc',
'url_request/url_request_view_cache_job.cc', 'url_request/url_request_view_cache_job.cc',
] ]
#env_p = env.Clone( #env_p = env.Clone(
# PCHSTOP='precompiled_net.h', # PCHSTOP='precompiled_net.h',
# PDB = 'vc80.pdb', # PDB = 'vc80.pdb',
#) #)
#pch, obj = env_p.PCH(['net.pch', 'precompiled_net.obj'], 'precompiled_net.cc') #pch, obj = env_p.PCH(['net.pch', 'precompiled_net.obj'], 'precompiled_net.cc')
#env_p['PCH'] = pch #env_p['PCH'] = pch
#env.ChromeStaticLibrary('net', input_files + [obj]) #env.ChromeStaticLibrary('net', input_files + [obj])
# TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
# possibly only on incredibuild, scons doesn't know this. # possibly only on incredibuild, scons doesn't know this.
env_p = env.Clone() env_p = env.Clone()
env_p.Append(CCFLAGS='/Ylnet') env_p.Append(CCFLAGS='/Ylnet')
pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
env['PCH'] = pch env['PCH'] = pch
env['PCHSTOP'] = 'precompiled_net.h' env['PCHSTOP'] = 'precompiled_net.h'
env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
env.ChromeStaticLibrary('net', input_files + [obj]) env.ChromeStaticLibrary('net', input_files + [obj])
env_tests.Prepend( env_tests.Prepend(
CPPPATH = [ CPPPATH = [
'..', '..',
], ],
CPPDEFINES = [ CPPDEFINES = [
'UNIT_TEST', 'UNIT_TEST',
'_WIN32_WINNT=0x0600', '_WIN32_WINNT=0x0600',
'WINVER=0x0600', 'WINVER=0x0600',
'_HAS_EXCEPTIONS=0', '_HAS_EXCEPTIONS=0',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'base', 'base',
'gtest', 'gtest',
'bzip2', 'bzip2',
'icuuc', 'icuuc',
'modp_b64', 'modp_b64',
'zlib', 'zlib',
'net', 'net',
] ]
) )
env_tests.Prepend( env_tests.Prepend(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', '/WX',
'/Wp64', '/Wp64',
], ],
LINKFLAGS = [ LINKFLAGS = [
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
env_tests.Append( env_tests.Append(
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
], ],
) )
unittest_files = [ unittest_files = [
'base/auth_cache_unittest.cc', 'base/auth_cache_unittest.cc',
'base/base64_unittest.cc', 'base/base64_unittest.cc',
'base/bzip2_filter_unittest.cc', 'base/bzip2_filter_unittest.cc',
'base/client_socket_pool_unittest.cc', 'base/client_socket_pool_unittest.cc',
'base/cookie_monster_unittest.cc', 'base/cookie_monster_unittest.cc',
'base/cookie_policy_unittest.cc', 'base/cookie_policy_unittest.cc',
'base/data_url_unittest.cc', 'base/data_url_unittest.cc',
'base/directory_lister_unittest.cc', 'base/directory_lister_unittest.cc',
'base/escape_unittest.cc', 'base/escape_unittest.cc',
'base/gzip_filter_unittest.cc', 'base/gzip_filter_unittest.cc',
'base/mime_sniffer_unittest.cc', 'base/mime_sniffer_unittest.cc',
'base/mime_util_unittest.cc', 'base/mime_util_unittest.cc',
'base/net_util_unittest.cc', 'base/net_util_unittest.cc',
'base/registry_controlled_domain_unittest.cc', 'base/registry_controlled_domain_unittest.cc',
'base/ssl_config_service_unittest.cc', 'base/ssl_config_service_unittest.cc',
'base/ssl_client_socket_unittest.cc', 'base/ssl_client_socket_unittest.cc',
'base/tcp_client_socket_unittest.cc', 'base/tcp_client_socket_unittest.cc',
'base/wininet_util_unittest.cc', 'base/wininet_util_unittest.cc',
'disk_cache/addr_unittest.cc', 'disk_cache/addr_unittest.cc',
'disk_cache/backend_unittest.cc', 'disk_cache/backend_unittest.cc',
'disk_cache/block_files_unittest.cc', 'disk_cache/block_files_unittest.cc',
'disk_cache/disk_cache_test_base.cc', 'disk_cache/disk_cache_test_base.cc',
'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.cc',
'disk_cache/entry_unittest.cc', 'disk_cache/entry_unittest.cc',
'disk_cache/mapped_file_unittest.cc', 'disk_cache/mapped_file_unittest.cc',
'disk_cache/storage_block_unittest.cc', 'disk_cache/storage_block_unittest.cc',
'http/http_cache_unittest.cc', 'http/http_cache_unittest.cc',
'http/http_network_layer_unittest.cc', 'http/http_network_layer_unittest.cc',
'http/http_network_transaction_unittest.cc', 'http/http_network_transaction_unittest.cc',
'http/http_response_headers_unittest.cc', 'http/http_response_headers_unittest.cc',
'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.cc',
'http/http_transaction_winhttp_unittest.cc', 'http/http_transaction_winhttp_unittest.cc',
'http/http_util_unittest.cc', 'http/http_util_unittest.cc',
'http/http_vary_data_unittest.cc', 'http/http_vary_data_unittest.cc',
'http/winhttp_request_throttle_unittest.cc', 'http/winhttp_request_throttle_unittest.cc',
'url_request/url_request_unittest.cc', 'url_request/url_request_unittest.cc',
'$BASE_DIR/run_all_unittests.obj', '$BASE_DIR/run_all_unittests.obj',
] ]
net_unittests = env_tests.ChromeTestProgram( net_unittests = env_tests.ChromeTestProgram(
['net_unittests.exe', ['net_unittests.exe',
'net_unittests.ilk', 'net_unittests.ilk',
'net_unittests.pdb'], 'net_unittests.pdb'],
unittest_files unittest_files
) )
stress_cache = env_tests.ChromeTestProgram( stress_cache = env_tests.ChromeTestProgram(
['stress_cache.exe', ['stress_cache.exe',
'stress_cache.ilk', 'stress_cache.ilk',
'stress_cache.pdb'], 'stress_cache.pdb'],
['disk_cache/stress_cache.cc', ['disk_cache/stress_cache.cc',
'disk_cache/disk_cache_test_util.cc'] 'disk_cache/disk_cache_test_util.cc']
) )
crash_cache = env_tests.ChromeTestProgram( crash_cache = env_tests.ChromeTestProgram(
['crash_cache.exe', ['crash_cache.exe',
'crash_cache.ilk', 'crash_cache.ilk',
'crash_cache.pdb'], 'crash_cache.pdb'],
['tools/crash_cache/crash_cache.cc', ['tools/crash_cache/crash_cache.cc',
'disk_cache/disk_cache_test_util.cc'] 'disk_cache/disk_cache_test_util.cc']
) )
net_perftests = env_tests.ChromeTestProgram( net_perftests = env_tests.ChromeTestProgram(
['net_perftests.exe', ['net_perftests.exe',
'net_perftests.ilk', 'net_perftests.ilk',
'net_perftests.pdb'], 'net_perftests.pdb'],
['disk_cache/disk_cache_test_util.cc', ['disk_cache/disk_cache_test_util.cc',
'disk_cache/disk_cache_perftest.cc', 'disk_cache/disk_cache_perftest.cc',
'base/cookie_monster_perftest.cc', 'base/cookie_monster_perftest.cc',
# TODO(sgk): avoid using .cc from base directly # TODO(sgk): avoid using .cc from base directly
'$BASE_DIR/run_all_perftests$OBJSUFFIX', '$BASE_DIR/run_all_perftests$OBJSUFFIX',
'$BASE_DIR/perftimer$OBJSUFFIX'] '$BASE_DIR/perftimer$OBJSUFFIX']
) )
# Create install of tests. # Create install of tests.
installed_tests = env.Install( installed_tests = env.Install(
'$TARGET_ROOT', '$TARGET_ROOT',
net_unittests + stress_cache + crash_cache + net_perftests net_unittests + stress_cache + crash_cache + net_perftests
) )
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
'..', '..',
], ],
RCFLAGS = [ RCFLAGS = [
['/l', '0x409'], ['/l', '0x409'],
], ],
) )
# This dat file needed by net_resources is generated. # This dat file needed by net_resources is generated.
tld_names_clean = env_res.Command('net/effective_tld_names_clean.dat', tld_names_clean = env_res.Command('net/effective_tld_names_clean.dat',
['base/effective_tld_names.dat', ['base/effective_tld_names.dat',
'tools/tld_cleanup/tld_cleanup.exe'], 'tools/tld_cleanup/tld_cleanup.exe'],
'${SOURCES[1]} ${SOURCES[0]} $TARGET') '${SOURCES[1]} ${SOURCES[0]} $TARGET')
rc = env_res.Command('net_resources.rc', rc = env_res.Command('net_resources.rc',
'base/net_resources.rc', 'base/net_resources.rc',
Copy('$TARGET', '$SOURCE')) Copy('$TARGET', '$SOURCE'))
net_resources = env_res.RES(rc) net_resources = env_res.RES(rc)
env_res.Depends(rc, tld_names_clean) env_res.Depends(rc, tld_names_clean)
sconscript_files = [ sconscript_files = [
'tools/tld_cleanup/SConscript', 'tools/tld_cleanup/SConscript',
] ]
SConscript(sconscript_files, exports=['env']) SConscript(sconscript_files, exports=['env'])
# Setup alias for building all parts of net. # Setup alias for building all parts of net.
env.Alias('net', ['.', installed_tests, '../icudt38.dll']) env.Alias('net', ['.', installed_tests, '../icudt38.dll'])

@ -1,79 +1,79 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'../../..', '../../..',
], ],
LIBS = [ LIBS = [
'googleurl', 'googleurl',
'icuuc', 'icuuc',
'base', 'base',
# We only need to link with net due to use precompiled_net.pch. # We only need to link with net due to use precompiled_net.pch.
'net', 'net',
], ],
) )
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
], ],
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/MANIFEST', '/MANIFEST',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/DEBUG', '/DEBUG',
'/SUBSYSTEM:CONSOLE', '/SUBSYSTEM:CONSOLE',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
) )
input_files = [ input_files = [
'tld_cleanup.cc', 'tld_cleanup.cc',
] ]
exe_targets = env.ChromeProgram(['tld_cleanup', exe_targets = env.ChromeProgram(['tld_cleanup',
'tld_cleanup.ilk', 'tld_cleanup.ilk',
'tld_cleanup.pdb'], 'tld_cleanup.pdb'],
input_files) input_files)
i = env.Install('$TARGET_ROOT', exe_targets) i = env.Install('$TARGET_ROOT', exe_targets)
env.Alias('net', i) env.Alias('net', i)
env.Install('$TARGET_ROOT', exe_targets) env.Install('$TARGET_ROOT', exe_targets)

@ -1,34 +1,34 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env.Install('$TARGET_ROOT', env.Install('$TARGET_ROOT',
['binaries/rlz.dll', ['binaries/rlz.dll',
'binaries/rlz_dll.pdb']) 'binaries/rlz_dll.pdb'])

@ -1,297 +1,297 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'../..', '../..',
], ],
) )
# Some of the sandbox sources include "gtest.h", so we need it # Some of the sandbox sources include "gtest.h", so we need it
# in the base env here, not just in env_tests. # in the base env here, not just in env_tests.
env.Append( env.Append(
CPPPATH = [ CPPPATH = [
'$GTEST_DIR/include', '$GTEST_DIR/include',
], ],
) )
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', # treat warnings as errors '/WX', # treat warnings as errors
'/Wp64', # warn about potential 64-bit problems '/Wp64', # warn about potential 64-bit problems
], ],
) )
env_tests = env.Clone( env_tests = env.Clone(
TESTS_DIR = '../tests', TESTS_DIR = '../tests',
INTEGRATION_TESTS_DIR = '$TESTS_DIR/integration_tests', INTEGRATION_TESTS_DIR = '$TESTS_DIR/integration_tests',
UNIT_TESTS_DIR = '$TESTS_DIR/unit_tests', UNIT_TESTS_DIR = '$TESTS_DIR/unit_tests',
VALIDATION_TESTS_DIR = '$TESTS_DIR/validation_tests', VALIDATION_TESTS_DIR = '$TESTS_DIR/validation_tests',
) )
input_files = [ input_files = [
'Wow64.cc', 'Wow64.cc',
'acl.cc', 'acl.cc',
'broker_services.cc', 'broker_services.cc',
'crosscall_server.cc', 'crosscall_server.cc',
'dep.cc', 'dep.cc',
'eat_resolver.cc', 'eat_resolver.cc',
'filesystem_dispatcher.cc', 'filesystem_dispatcher.cc',
'filesystem_interception.cc', 'filesystem_interception.cc',
'filesystem_policy.cc', 'filesystem_policy.cc',
'interception.cc', 'interception.cc',
'interception_agent.cc', 'interception_agent.cc',
'job.cc', 'job.cc',
'named_pipe_dispatcher.cc', 'named_pipe_dispatcher.cc',
'named_pipe_interception.cc', 'named_pipe_interception.cc',
'named_pipe_policy.cc', 'named_pipe_policy.cc',
'pe_image.cc', 'pe_image.cc',
'policy_broker.cc', 'policy_broker.cc',
'policy_engine_opcodes.cc', 'policy_engine_opcodes.cc',
'policy_engine_processor.cc', 'policy_engine_processor.cc',
'policy_low_level.cc', 'policy_low_level.cc',
'policy_target.cc', 'policy_target.cc',
'process_thread_dispatcher.cc', 'process_thread_dispatcher.cc',
'process_thread_interception.cc', 'process_thread_interception.cc',
'process_thread_policy.cc', 'process_thread_policy.cc',
'registry_dispatcher.cc', 'registry_dispatcher.cc',
'registry_interception.cc', 'registry_interception.cc',
'registry_policy.cc', 'registry_policy.cc',
'resolver.cc', 'resolver.cc',
'restricted_token.cc', 'restricted_token.cc',
'restricted_token_utils.cc', 'restricted_token_utils.cc',
'sandbox.cc', 'sandbox.cc',
'sandbox_nt_util.cc', 'sandbox_nt_util.cc',
'sandbox_policy_base.cc', 'sandbox_policy_base.cc',
'sandbox_utils.cc', 'sandbox_utils.cc',
'service_resolver.cc', 'service_resolver.cc',
'shared_handles.cc', 'shared_handles.cc',
'sharedmem_ipc_client.cc', 'sharedmem_ipc_client.cc',
'sharedmem_ipc_server.cc', 'sharedmem_ipc_server.cc',
'sid.cc', 'sid.cc',
'sidestep/ia32_modrm_map.cpp', 'sidestep/ia32_modrm_map.cpp',
'sidestep/ia32_opcode_map.cpp', 'sidestep/ia32_opcode_map.cpp',
'sidestep/mini_disassembler.cpp', 'sidestep/mini_disassembler.cpp',
'sidestep/preamble_patcher_with_stub.cpp', 'sidestep/preamble_patcher_with_stub.cpp',
'sidestep_resolver.cc', 'sidestep_resolver.cc',
'sync_dispatcher.cc', 'sync_dispatcher.cc',
'sync_interception.cc', 'sync_interception.cc',
'sync_policy.cc', 'sync_policy.cc',
'target_interceptions.cc', 'target_interceptions.cc',
'target_process.cc', 'target_process.cc',
'target_services.cc', 'target_services.cc',
'win2k_threadpool.cc', 'win2k_threadpool.cc',
'win_utils.cc', 'win_utils.cc',
] ]
# TODO(bradnelson): This step generates sandbox.pch.ib_tag # TODO(bradnelson): This step generates sandbox.pch.ib_tag
# SCons doesn't know. # SCons doesn't know.
env_p = env.Clone() env_p = env.Clone()
env_p.Append(CCFLAGS='/Ylsandbox') env_p.Append(CCFLAGS='/Ylsandbox')
pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc') pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc')
env['PCH'] = pch env['PCH'] = pch
env['PCHSTOP'] = 'stdafx.h' env['PCHSTOP'] = 'stdafx.h'
env.Append(CCPCHFLAGS = ['/FIstdafx.h']) env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
env.ChromeStaticLibrary('sandbox', input_files + [obj]) env.ChromeStaticLibrary('sandbox', input_files + [obj])
env_tests.Prepend( env_tests.Prepend(
LINKFLAGS = [ LINKFLAGS = [
'/DELAYLOAD:dwmapi.dll', '/DELAYLOAD:dwmapi.dll',
'/DELAYLOAD:uxtheme.dll', '/DELAYLOAD:uxtheme.dll',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
], ],
LIBS = [ LIBS = [
'base', 'base',
'gtest', 'gtest',
'sandbox', 'sandbox',
], ],
LIBPATH = [ LIBPATH = [
'.', '.',
'$BASE_DIR' '$BASE_DIR'
], ],
) )
controller_obj = env_tests.StaticObject('$TESTS_DIR/common/controller.cc') controller_obj = env_tests.StaticObject('$TESTS_DIR/common/controller.cc')
# Unit Tests # Unit Tests
env_unit_tests = env_tests.Clone() env_unit_tests = env_tests.Clone()
unit_test_files = [ unit_test_files = [
'interception_unittest.cc', 'interception_unittest.cc',
'ipc_unittest.cc', 'ipc_unittest.cc',
'job_unittest.cc', 'job_unittest.cc',
'pe_image_unittest.cc', 'pe_image_unittest.cc',
'policy_engine_unittest.cc', 'policy_engine_unittest.cc',
'policy_low_level_unittest.cc', 'policy_low_level_unittest.cc',
'policy_opcodes_unittest.cc', 'policy_opcodes_unittest.cc',
'restricted_token_unittest.cc', 'restricted_token_unittest.cc',
'service_resolver_unittest.cc', 'service_resolver_unittest.cc',
'sid_unittest.cc', 'sid_unittest.cc',
'threadpool_unittest.cc', 'threadpool_unittest.cc',
'$UNIT_TESTS_DIR/unit_tests$OBJSUFFIX', '$UNIT_TESTS_DIR/unit_tests$OBJSUFFIX',
# The VisualStudio build link with the old gtest.obj file directly, # The VisualStudio build link with the old gtest.obj file directly,
# although we no longer remember why. Since we're linking with all # although we no longer remember why. Since we're linking with all
# of gtest.lib now, this shouldn't be necessary (hey, the unit tests # of gtest.lib now, this shouldn't be necessary (hey, the unit tests
# all pass!), but we're leaving this here, commented out, just in case. # all pass!), but we're leaving this here, commented out, just in case.
#'$GTEST_DIR/src/gtest$OBJSUFFIX', #'$GTEST_DIR/src/gtest$OBJSUFFIX',
controller_obj, controller_obj,
] ]
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag # TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
# SCons doesn't know. # SCons doesn't know.
env_p = env_unit_tests.Clone() env_p = env_unit_tests.Clone()
pch, obj = env_p.PCH(['$UNIT_TESTS_DIR/unit_tests.pch', pch, obj = env_p.PCH(['$UNIT_TESTS_DIR/unit_tests.pch',
'$UNIT_TESTS_DIR/unit_tests.obj'], '$UNIT_TESTS_DIR/unit_tests.obj'],
'$UNIT_TESTS_DIR/unit_tests.cc') '$UNIT_TESTS_DIR/unit_tests.cc')
env_unit_tests['PCH'] = pch env_unit_tests['PCH'] = pch
env_unit_tests['PCHSTOP'] = 'stdafx.h' env_unit_tests['PCHSTOP'] = 'stdafx.h'
env_unit_tests.Append(CCPCHFLAGS = ['/FIstdafx.h']) env_unit_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
unit_tests = env_unit_tests.ChromeTestProgram( unit_tests = env_unit_tests.ChromeTestProgram(
['../sbox_unittests.exe', ['../sbox_unittests.exe',
'../sbox_unittests.ilk', '../sbox_unittests.ilk',
'../sbox_unittests.pdb'], '../sbox_unittests.pdb'],
unit_test_files, unit_test_files,
) )
# Integration Tests # Integration Tests
env_integration_tests = env_tests.Clone() env_integration_tests = env_tests.Clone()
integration_test_files = [ integration_test_files = [
'$INTEGRATION_TESTS_DIR/integration_tests_test.cc', '$INTEGRATION_TESTS_DIR/integration_tests_test.cc',
# 'dep_test.cc', # 'dep_test.cc',
'file_policy_test.cc', 'file_policy_test.cc',
'integrity_level_test.cc', 'integrity_level_test.cc',
'ipc_ping_test.cc', 'ipc_ping_test.cc',
'named_pipe_policy_test.cc', 'named_pipe_policy_test.cc',
'policy_target_test.cc', 'policy_target_test.cc',
'process_policy_test.cc', 'process_policy_test.cc',
'registry_policy_test.cc', 'registry_policy_test.cc',
'sync_policy_test.cc', 'sync_policy_test.cc',
'$INTEGRATION_TESTS_DIR/integration_tests$OBJSUFFIX', '$INTEGRATION_TESTS_DIR/integration_tests$OBJSUFFIX',
# The VisualStudio build link with the old gtest.obj file directly, # The VisualStudio build link with the old gtest.obj file directly,
# although we no longer remember why. Since we're linking with all # although we no longer remember why. Since we're linking with all
# of gtest.lib now, this shouldn't be necessary (hey, the unit tests # of gtest.lib now, this shouldn't be necessary (hey, the unit tests
# all pass!), but we're leaving this here, commented out, just in case. # all pass!), but we're leaving this here, commented out, just in case.
#'$GTEST_DIR/src/gtest$OBJSUFFIX', #'$GTEST_DIR/src/gtest$OBJSUFFIX',
controller_obj, controller_obj,
] ]
# TODO(bradnelson): This step generates integration_tests.pch.ib_tag # TODO(bradnelson): This step generates integration_tests.pch.ib_tag
# SCons doesn't know. # SCons doesn't know.
env_p = env_integration_tests.Clone() env_p = env_integration_tests.Clone()
pch, obj = env_p.PCH(['$INTEGRATION_TESTS_DIR/integration_tests.pch', pch, obj = env_p.PCH(['$INTEGRATION_TESTS_DIR/integration_tests.pch',
'$INTEGRATION_TESTS_DIR/integration_tests.obj'], '$INTEGRATION_TESTS_DIR/integration_tests.obj'],
'$INTEGRATION_TESTS_DIR/integration_tests.cc') '$INTEGRATION_TESTS_DIR/integration_tests.cc')
env_integration_tests['PCH'] = pch env_integration_tests['PCH'] = pch
env_integration_tests['PCHSTOP'] = 'stdafx.h' env_integration_tests['PCHSTOP'] = 'stdafx.h'
env_integration_tests.Append(CCPCHFLAGS = ['/FIstdafx.h']) env_integration_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
integration_tests = env_integration_tests.ChromeTestProgram( integration_tests = env_integration_tests.ChromeTestProgram(
['../sbox_integration_tests.exe', ['../sbox_integration_tests.exe',
'../sbox_integration_tests.ilk', '../sbox_integration_tests.ilk',
'../sbox_integration_tests.lib', '../sbox_integration_tests.lib',
'../sbox_integration_tests.exp', '../sbox_integration_tests.exp',
'../sbox_integration_tests.pdb'], '../sbox_integration_tests.pdb'],
integration_test_files, integration_test_files,
) )
# Validation Tests # # Validation Tests #
env_validation_tests = env_tests.Clone() env_validation_tests = env_tests.Clone()
env_validation_tests.Prepend(LIBS=['shlwapi.lib']) env_validation_tests.Prepend(LIBS=['shlwapi.lib'])
validation_test_files = [ validation_test_files = [
'$VALIDATION_TESTS_DIR/suite.cc', '$VALIDATION_TESTS_DIR/suite.cc',
'$VALIDATION_TESTS_DIR/commands.cc', '$VALIDATION_TESTS_DIR/commands.cc',
'$VALIDATION_TESTS_DIR/unit_tests$OBJSUFFIX', '$VALIDATION_TESTS_DIR/unit_tests$OBJSUFFIX',
# The VisualStudio build link with the old gtest.obj file directly, # The VisualStudio build link with the old gtest.obj file directly,
# although we no longer remember why. Since we're linking with all # although we no longer remember why. Since we're linking with all
# of gtest.lib now, this shouldn't be necessary (hey, the unit tests # of gtest.lib now, this shouldn't be necessary (hey, the unit tests
# all pass!), but we're leaving this here, commented out, just in case. # all pass!), but we're leaving this here, commented out, just in case.
#'$GTEST_DIR/src/gtest$OBJSUFFIX', #'$GTEST_DIR/src/gtest$OBJSUFFIX',
controller_obj, controller_obj,
] ]
env_p = env_validation_tests.Clone() env_p = env_validation_tests.Clone()
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag # TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
# SCons doesn't know. # SCons doesn't know.
pch, obj = env_p.PCH(['$VALIDATION_TESTS_DIR/unit_tests.pch', pch, obj = env_p.PCH(['$VALIDATION_TESTS_DIR/unit_tests.pch',
'$VALIDATION_TESTS_DIR/unit_tests.obj'], '$VALIDATION_TESTS_DIR/unit_tests.obj'],
'$VALIDATION_TESTS_DIR/unit_tests.cc') '$VALIDATION_TESTS_DIR/unit_tests.cc')
env_validation_tests['PCH'] = pch env_validation_tests['PCH'] = pch
env_validation_tests['PCHSTOP'] = 'stdafx.h' env_validation_tests['PCHSTOP'] = 'stdafx.h'
env_validation_tests.Append(CCPCHFLAGS = ['/FIstdafx.h']) env_validation_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
validation_tests = env_validation_tests.ChromeTestProgram( validation_tests = env_validation_tests.ChromeTestProgram(
['../sbox_validation_tests.exe', ['../sbox_validation_tests.exe',
'../sbox_validation_tests.ilk', '../sbox_validation_tests.ilk',
'../sbox_validation_tests.lib', '../sbox_validation_tests.lib',
'../sbox_validation_tests.exp', '../sbox_validation_tests.exp',
'../sbox_validation_tests.pdb'], '../sbox_validation_tests.pdb'],
validation_test_files, validation_test_files,
) )
# Install tests to a path where they can find their inputs. # Install tests to a path where they can find their inputs.
installed_tests = env.Install('$OBJ_ROOT', installed_tests = env.Install('$OBJ_ROOT',
unit_tests + validation_tests + integration_tests) unit_tests + validation_tests + integration_tests)
# Setup alias for sandbox related targets. # Setup alias for sandbox related targets.
env.Alias('sandbox', ['.', installed_tests]) env.Alias('sandbox', ['.', installed_tests])

@ -1,193 +1,193 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'include', 'include',
'include/corecg', 'include/corecg',
'corecg', 'corecg',
'sgl', 'sgl',
'picture', 'picture',
'#..', '#..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'SKIA_DISABLE_SUPPORT_FOR_DECODERS', 'SKIA_DISABLE_SUPPORT_FOR_DECODERS',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4244', '/wd4244',
'/wd4267', '/wd4267',
'/wd4345', '/wd4345',
'/wd4390', '/wd4390',
'/wd4554', '/wd4554',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'animator/SkTime.cpp', 'animator/SkTime.cpp',
'corecg/Sk64.cpp', 'corecg/Sk64.cpp',
'corecg/SkBuffer.cpp', 'corecg/SkBuffer.cpp',
'corecg/SkChunkAlloc.cpp', 'corecg/SkChunkAlloc.cpp',
'corecg/SkCordic.cpp', 'corecg/SkCordic.cpp',
'corecg/SkDebug.cpp', 'corecg/SkDebug.cpp',
'corecg/SkDebug_stdio.cpp', 'corecg/SkDebug_stdio.cpp',
'corecg/SkFloat.cpp', 'corecg/SkFloat.cpp',
'corecg/SkInterpolator.cpp', 'corecg/SkInterpolator.cpp',
'corecg/SkMath.cpp', 'corecg/SkMath.cpp',
'corecg/SkMatrix.cpp', 'corecg/SkMatrix.cpp',
'corecg/SkMemory_stdlib.cpp', 'corecg/SkMemory_stdlib.cpp',
'corecg/SkPoint.cpp', 'corecg/SkPoint.cpp',
'corecg/SkRect.cpp', 'corecg/SkRect.cpp',
'corecg/SkRegion.cpp', 'corecg/SkRegion.cpp',
'effects/Sk1DPathEffect.cpp', 'effects/Sk1DPathEffect.cpp',
'effects/Sk2DPathEffect.cpp', 'effects/Sk2DPathEffect.cpp',
'effects/SkAvoidXfermode.cpp', 'effects/SkAvoidXfermode.cpp',
'effects/SkBlurDrawLooper.cpp', 'effects/SkBlurDrawLooper.cpp',
'effects/SkBlurMask.cpp', 'effects/SkBlurMask.cpp',
'effects/SkBlurMaskFilter.cpp', 'effects/SkBlurMaskFilter.cpp',
'effects/SkCamera.cpp', 'effects/SkCamera.cpp',
'effects/SkColorFilters.cpp', 'effects/SkColorFilters.cpp',
'effects/SkColorMatrix.cpp', 'effects/SkColorMatrix.cpp',
'effects/SkColorMatrixFilter.cpp', 'effects/SkColorMatrixFilter.cpp',
'effects/SkCornerPathEffect.cpp', 'effects/SkCornerPathEffect.cpp',
'effects/SkCullPoints.cpp', 'effects/SkCullPoints.cpp',
'effects/SkDashPathEffect.cpp', 'effects/SkDashPathEffect.cpp',
'effects/SkDiscretePathEffect.cpp', 'effects/SkDiscretePathEffect.cpp',
'effects/SkEmbossMask.cpp', 'effects/SkEmbossMask.cpp',
'effects/SkEmbossMaskFilter.cpp', 'effects/SkEmbossMaskFilter.cpp',
'effects/SkGradientShader.cpp', 'effects/SkGradientShader.cpp',
'effects/SkKernel33MaskFilter.cpp', 'effects/SkKernel33MaskFilter.cpp',
'effects/SkLayerRasterizer.cpp', 'effects/SkLayerRasterizer.cpp',
'effects/SkPaintFlagsDrawFilter.cpp', 'effects/SkPaintFlagsDrawFilter.cpp',
'effects/SkPixelXorXfermode.cpp', 'effects/SkPixelXorXfermode.cpp',
'effects/SkShaderExtras.cpp', 'effects/SkShaderExtras.cpp',
'effects/SkTransparentShader.cpp', 'effects/SkTransparentShader.cpp',
'effects/SkUnitMappers.cpp', 'effects/SkUnitMappers.cpp',
'images/SkImageDecoder.cpp', 'images/SkImageDecoder.cpp',
'images/SkImageRef.cpp', 'images/SkImageRef.cpp',
'images/SkStream.cpp', 'images/SkStream.cpp',
'images/SkStream.cpp', 'images/SkStream.cpp',
'picture/SkPictureFlat.cpp', 'picture/SkPictureFlat.cpp',
'picture/SkPicturePlayback.cpp', 'picture/SkPicturePlayback.cpp',
'picture/SkPictureRecord.cpp', 'picture/SkPictureRecord.cpp',
'ports/SkFontHost_none.cpp', 'ports/SkFontHost_none.cpp',
'ports/SkGlobals_global.cpp', 'ports/SkGlobals_global.cpp',
'ports/SkImageDecoder_Factory.cpp', 'ports/SkImageDecoder_Factory.cpp',
'ports/SkOSFile_stdio.cpp', 'ports/SkOSFile_stdio.cpp',
'ports/SkThread_win.cpp', 'ports/SkThread_win.cpp',
'sgl/SkAlphaRuns.cpp', 'sgl/SkAlphaRuns.cpp',
'sgl/SkBitmap.cpp', 'sgl/SkBitmap.cpp',
'sgl/SkBitmapProcShader.cpp', 'sgl/SkBitmapProcShader.cpp',
'sgl/SkBitmapProcState.cpp', 'sgl/SkBitmapProcState.cpp',
'sgl/SkBitmapProcState_matrixProcs.cpp', 'sgl/SkBitmapProcState_matrixProcs.cpp',
'sgl/SkBitmapSampler.cpp', 'sgl/SkBitmapSampler.cpp',
'sgl/SkBitmapShader.cpp', 'sgl/SkBitmapShader.cpp',
'sgl/SkBlitRow_D16.cpp', 'sgl/SkBlitRow_D16.cpp',
'sgl/SkBlitRow_D4444.cpp', 'sgl/SkBlitRow_D4444.cpp',
'sgl/SkBlitter.cpp', 'sgl/SkBlitter.cpp',
'sgl/SkBlitter_4444.cpp', 'sgl/SkBlitter_4444.cpp',
'sgl/SkBlitter_A1.cpp', 'sgl/SkBlitter_A1.cpp',
'sgl/SkBlitter_A8.cpp', 'sgl/SkBlitter_A8.cpp',
'sgl/SkBlitter_ARGB32.cpp', 'sgl/SkBlitter_ARGB32.cpp',
'sgl/SkBlitter_RGB16.cpp', 'sgl/SkBlitter_RGB16.cpp',
'sgl/SkBlitter_Sprite.cpp', 'sgl/SkBlitter_Sprite.cpp',
'sgl/SkCanvas.cpp', 'sgl/SkCanvas.cpp',
'sgl/SkColor.cpp', 'sgl/SkColor.cpp',
'sgl/SkColorFilter.cpp', 'sgl/SkColorFilter.cpp',
'sgl/SkColorTable.cpp', 'sgl/SkColorTable.cpp',
'sgl/SkDeque.cpp', 'sgl/SkDeque.cpp',
'sgl/SkDevice.cpp', 'sgl/SkDevice.cpp',
'sgl/SkDither.cpp', 'sgl/SkDither.cpp',
'sgl/SkDraw.cpp', 'sgl/SkDraw.cpp',
'sgl/SkEdge.cpp', 'sgl/SkEdge.cpp',
'sgl/SkFilterProc.cpp', 'sgl/SkFilterProc.cpp',
'sgl/SkFlattenable.cpp', 'sgl/SkFlattenable.cpp',
'sgl/SkGeometry.cpp', 'sgl/SkGeometry.cpp',
'sgl/SkGlobals.cpp', 'sgl/SkGlobals.cpp',
'sgl/SkGlyphCache.cpp', 'sgl/SkGlyphCache.cpp',
'sgl/SkGraphics.cpp', 'sgl/SkGraphics.cpp',
'sgl/SkMask.cpp', 'sgl/SkMask.cpp',
'sgl/SkMaskFilter.cpp', 'sgl/SkMaskFilter.cpp',
'sgl/SkPackBits.cpp', 'sgl/SkPackBits.cpp',
'sgl/SkPaint.cpp', 'sgl/SkPaint.cpp',
'sgl/SkPath.cpp', 'sgl/SkPath.cpp',
'sgl/SkPathEffect.cpp', 'sgl/SkPathEffect.cpp',
'sgl/SkPathMeasure.cpp', 'sgl/SkPathMeasure.cpp',
'sgl/SkPicture.cpp', 'sgl/SkPicture.cpp',
'sgl/SkPixelRef.cpp', 'sgl/SkPixelRef.cpp',
'sgl/SkProcSpriteBlitter.cpp', 'sgl/SkProcSpriteBlitter.cpp',
'sgl/SkPtrRecorder.cpp', 'sgl/SkPtrRecorder.cpp',
'sgl/SkRasterizer.cpp', 'sgl/SkRasterizer.cpp',
'sgl/SkRefCnt.cpp', 'sgl/SkRefCnt.cpp',
'sgl/SkRegion_path.cpp', 'sgl/SkRegion_path.cpp',
'sgl/SkScalerContext.cpp', 'sgl/SkScalerContext.cpp',
'sgl/SkScan.cpp', 'sgl/SkScan.cpp',
'sgl/SkScan_Antihair.cpp', 'sgl/SkScan_Antihair.cpp',
'sgl/SkScan_AntiPath.cpp', 'sgl/SkScan_AntiPath.cpp',
'sgl/SkScan_Hairline.cpp', 'sgl/SkScan_Hairline.cpp',
'sgl/SkScan_Path.cpp', 'sgl/SkScan_Path.cpp',
'sgl/SkShader.cpp', 'sgl/SkShader.cpp',
'sgl/SkSpriteBlitter_ARGB32.cpp', 'sgl/SkSpriteBlitter_ARGB32.cpp',
'sgl/SkSpriteBlitter_RGB16.cpp', 'sgl/SkSpriteBlitter_RGB16.cpp',
'sgl/SkString.cpp', 'sgl/SkString.cpp',
'sgl/SkStroke.cpp', 'sgl/SkStroke.cpp',
'sgl/SkStrokerPriv.cpp', 'sgl/SkStrokerPriv.cpp',
'sgl/SkTSearch.cpp', 'sgl/SkTSearch.cpp',
'sgl/SkTypeface_fake.cpp', 'sgl/SkTypeface_fake.cpp',
'sgl/SkUtils.cpp', 'sgl/SkUtils.cpp',
'sgl/SkWriter32.cpp', 'sgl/SkWriter32.cpp',
'sgl/SkXfermode.cpp', 'sgl/SkXfermode.cpp',
] ]
env_p = env.Clone( env_p = env.Clone(
PCHSTOP = 'SkTypes.h', PCHSTOP = 'SkTypes.h',
PDB = 'vc80.pdb', PDB = 'vc80.pdb',
) )
# TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to # TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to
# fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created # fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created
# in the skia directory. # in the skia directory.
# TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created.
# It's a 0-length file so likely harmless. Is this a side effect of having # It's a 0-length file so likely harmless. Is this a side effect of having
# IncrediBuild installed on the build machine? # IncrediBuild installed on the build machine?
pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc')
env_p['PCH'] = pch env_p['PCH'] = pch
env.ChromeStaticLibrary('skia', input_files + [obj]) env.ChromeStaticLibrary('skia', input_files + [obj])

@ -1,53 +1,53 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'../bspatch', '../bspatch',
] ]
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
"mbsdiff.cc", "mbsdiff.cc",
] ]
env.ChromeStaticLibrary('bsdiff', input_files) env.ChromeStaticLibrary('bsdiff', input_files)

@ -1,60 +1,60 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone( env = env.Clone(
) )
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#../third_party/lzma_sdk/', '#../third_party/lzma_sdk/',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'_LZMA_IN_CB', '_LZMA_IN_CB',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'mbspatch.cc', 'mbspatch.cc',
] ]
env.ChromeStaticLibrary('bspatch', input_files) env.ChromeStaticLibrary('bspatch', input_files)

@ -1,60 +1,60 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone() env = env.Clone()
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4996', '/wd4996',
'/wd4800', '/wd4800',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'BZ_NO_STDIO', 'BZ_NO_STDIO',
], ],
) )
input_files = [ input_files = [
'blocksort.c', 'blocksort.c',
'bzlib.c', 'bzlib.c',
'compress.c', 'compress.c',
'crctable.c', 'crctable.c',
'decompress.c', 'decompress.c',
'huffman.c', 'huffman.c',
'randtable.c', 'randtable.c',
] ]
env.ChromeStaticLibrary('bzip2', input_files) env.ChromeStaticLibrary('bzip2', input_files)

@ -1,95 +1,95 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#../', '#../',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'jcapimin.c', 'jcapimin.c',
'jcapistd.c', 'jcapistd.c',
'jccoefct.c', 'jccoefct.c',
'jccolor.c', 'jccolor.c',
'jcdctmgr.c', 'jcdctmgr.c',
'jchuff.c', 'jchuff.c',
'jcinit.c', 'jcinit.c',
'jcmainct.c', 'jcmainct.c',
'jcmarker.c', 'jcmarker.c',
'jcmaster.c', 'jcmaster.c',
'jcomapi.c', 'jcomapi.c',
'jcparam.c', 'jcparam.c',
'jcphuff.c', 'jcphuff.c',
'jcprepct.c', 'jcprepct.c',
'jcsample.c', 'jcsample.c',
'jdapimin.c', 'jdapimin.c',
'jdapistd.c', 'jdapistd.c',
'jdatadst.c', 'jdatadst.c',
'jdatasrc.c', 'jdatasrc.c',
'jdcoefct.c', 'jdcoefct.c',
'jdcolor.c', 'jdcolor.c',
'jddctmgr.c', 'jddctmgr.c',
'jdhuff.c', 'jdhuff.c',
'jdinput.c', 'jdinput.c',
'jdmainct.c', 'jdmainct.c',
'jdmarker.c', 'jdmarker.c',
'jdmaster.c', 'jdmaster.c',
'jdmerge.c', 'jdmerge.c',
'jdphuff.c', 'jdphuff.c',
'jdpostct.c', 'jdpostct.c',
'jdsample.c', 'jdsample.c',
'jerror.c', 'jerror.c',
'jfdctflt.c', 'jfdctflt.c',
'jfdctfst.c', 'jfdctfst.c',
'jfdctint.c', 'jfdctint.c',
'jidctflt.c', 'jidctflt.c',
'jidctfst.c', 'jidctfst.c',
'jidctint.c', 'jidctint.c',
'jmemmgr.c', 'jmemmgr.c',
'jmemnobs.c', 'jmemnobs.c',
'jquant1.c', 'jquant1.c',
'jquant2.c', 'jquant2.c',
'jutils.c', 'jutils.c',
] ]
env.ChromeStaticLibrary('libjpeg', input_files) env.ChromeStaticLibrary('libjpeg', input_files)

@ -1,77 +1,77 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#../third_party/zlib', '#../third_party/zlib',
'#../', '#../',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4800', '/wd4800',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
], ],
) )
input_files = [ input_files = [
'png.c', 'png.c',
'pngwutil.c', 'pngwutil.c',
'pngwtran.c', 'pngwtran.c',
'pngwrite.c', 'pngwrite.c',
'pngwio.c', 'pngwio.c',
'pngvcrd.c', 'pngvcrd.c',
'pngtrans.c', 'pngtrans.c',
'pngset.c', 'pngset.c',
'pngrutil.c', 'pngrutil.c',
'pngrtran.c', 'pngrtran.c',
'pngrio.c', 'pngrio.c',
'pngread.c', 'pngread.c',
'pngpread.c', 'pngpread.c',
'pngmem.c', 'pngmem.c',
'pngget.c', 'pngget.c',
'pnggccrd.c', 'pnggccrd.c',
'pngerror.c', 'pngerror.c',
] ]
env.ChromeStaticLibrary('libpng', input_files) env.ChromeStaticLibrary('libpng', input_files)

@ -1,154 +1,154 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/18n', '$ICU38_DIR/public/18n',
'$ZLIB_DIR', '$ZLIB_DIR',
'scons', 'scons',
'scons/include', 'scons/include',
'include', 'include',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'LIBXML_STATIC', 'LIBXML_STATIC',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
], ],
) )
elif env['PLATFORM'] == 'posix': elif env['PLATFORM'] == 'posix':
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'_REENTRANT', '_REENTRANT',
], ],
) )
input_files = [ input_files = [
'c14n.c', 'c14n.c',
'catalog.c', 'catalog.c',
'chvalid.c', 'chvalid.c',
'debugXML.c', 'debugXML.c',
'dict.c', 'dict.c',
'DOCBparser.c', 'DOCBparser.c',
'encoding.c', 'encoding.c',
'entities.c', 'entities.c',
'error.c', 'error.c',
'globals.c', 'globals.c',
'hash.c', 'hash.c',
'HTMLparser.c', 'HTMLparser.c',
'HTMLtree.c', 'HTMLtree.c',
'legacy.c', 'legacy.c',
'list.c', 'list.c',
'nanoftp.c', 'nanoftp.c',
'nanohttp.c', 'nanohttp.c',
'parser.c', 'parser.c',
'parserInternals.c', 'parserInternals.c',
'pattern.c', 'pattern.c',
'relaxng.c', 'relaxng.c',
'SAX.c', 'SAX.c',
'SAX2.c', 'SAX2.c',
'schematron.c', 'schematron.c',
'threads.c', 'threads.c',
'tree.c', 'tree.c',
'uri.c', 'uri.c',
'valid.c', 'valid.c',
'xinclude.c', 'xinclude.c',
'xlink.c', 'xlink.c',
'xmlIO.c', 'xmlIO.c',
'xmlmemory.c', 'xmlmemory.c',
'xmlmodule.c', 'xmlmodule.c',
'xmlreader.c', 'xmlreader.c',
'xmlregexp.c', 'xmlregexp.c',
'xmlsave.c', 'xmlsave.c',
'xmlschemas.c', 'xmlschemas.c',
'xmlschemastypes.c', 'xmlschemastypes.c',
'xmlstring.c', 'xmlstring.c',
'xmlunicode.c', 'xmlunicode.c',
'xmlwriter.c', 'xmlwriter.c',
'xpath.c', 'xpath.c',
'xpointer.c', 'xpointer.c',
] ]
env.ChromeStaticLibrary('libxml', input_files) env.ChromeStaticLibrary('libxml', input_files)
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
config_files = [ config_files = [
# The configure.js script must be first in this list; the # The configure.js script must be first in this list; the
# env.Command() call below executes the first list element. # env.Command() call below executes the first list element.
'win32/configure.js', 'win32/configure.js',
'win32/Makefile.msvc', 'win32/Makefile.msvc',
'config.h.in', 'config.h.in',
'configure.in', 'configure.in',
'libxml-2.0-uninstalled.pc.in', 'libxml-2.0-uninstalled.pc.in',
'libxml-2.0.pc.in', 'libxml-2.0.pc.in',
'libxml.spec.in', 'libxml.spec.in',
'xml2-config.in', 'xml2-config.in',
'xml2Conf.sh.in', 'xml2Conf.sh.in',
'include/libxml/xmlversion.h.in', 'include/libxml/xmlversion.h.in',
'include/win32config.h', 'include/win32config.h',
] ]
copied_files = [] copied_files = []
for cf in config_files: for cf in config_files:
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE')) result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
copied_files.extend(result) copied_files.extend(result)
env.Command(['scons/config.h', 'scons/include/libxml/xmlversion.h'], env.Command(['scons/config.h', 'scons/include/libxml/xmlversion.h'],
copied_files, copied_files,
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS', 'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes') CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes')
elif env['PLATFORM'] == 'posix': elif env['PLATFORM'] == 'posix':
config_files = [ config_files = [
'config.h', 'config.h',
'include/libxml/xmlversion.h', 'include/libxml/xmlversion.h',
'xml2-config', 'xml2-config',
] ]
for cf in config_files: for cf in config_files:
result = env.Command('scons/' + cf, 'linux/' + cf, result = env.Command('scons/' + cf, 'linux/' + cf,
Copy('$TARGET', '$SOURCE')) Copy('$TARGET', '$SOURCE'))

@ -1,131 +1,131 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$LIBXML_DIR/scons/include', '$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/18n', '$ICU38_DIR/public/18n',
'$ZLIB_DIR', '$ZLIB_DIR',
'scons', 'scons',
'.', '.',
'../', '../',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'LIBXML_STATIC', 'LIBXML_STATIC',
'LIBXSLT_STATIC', 'LIBXSLT_STATIC',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'libxslt/attributes.c', 'libxslt/attributes.c',
'libxslt/attrvt.c', 'libxslt/attrvt.c',
'libxslt/documents.c', 'libxslt/documents.c',
'libxslt/extensions.c', 'libxslt/extensions.c',
'libxslt/extra.c', 'libxslt/extra.c',
'libxslt/functions.c', 'libxslt/functions.c',
'libxslt/imports.c', 'libxslt/imports.c',
'libxslt/keys.c', 'libxslt/keys.c',
'libxslt/namespaces.c', 'libxslt/namespaces.c',
'libxslt/numbers.c', 'libxslt/numbers.c',
'libxslt/pattern.c', 'libxslt/pattern.c',
'libxslt/preproc.c', 'libxslt/preproc.c',
'libxslt/security.c', 'libxslt/security.c',
'libxslt/templates.c', 'libxslt/templates.c',
'libxslt/transform.c', 'libxslt/transform.c',
'libxslt/variables.c', 'libxslt/variables.c',
'libxslt/xslt.c', 'libxslt/xslt.c',
'libxslt/xsltutils.c', 'libxslt/xsltutils.c',
] ]
env.ChromeStaticLibrary('libxslt', input_files) env.ChromeStaticLibrary('libxslt', input_files)
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
config_files = [ config_files = [
# The configure.js script must be first in this list; the # The configure.js script must be first in this list; the
# env.Command() call below executes the first list element. # env.Command() call below executes the first list element.
'win32/configure.js', 'win32/configure.js',
'win32/Makefile.msvc', 'win32/Makefile.msvc',
'config.h.in', 'config.h.in',
'configure.in', 'configure.in',
'libexslt.pc.in', 'libexslt.pc.in',
'libxslt.pc.in', 'libxslt.pc.in',
'libxslt.spec.in', 'libxslt.spec.in',
'xslt-config.in', 'xslt-config.in',
'xsltConf.sh.in', 'xsltConf.sh.in',
'libexslt/exsltconfig.h.in', 'libexslt/exsltconfig.h.in',
'libxslt/xsltconfig.h.in', 'libxslt/xsltconfig.h.in',
'libxslt/xsltwin32config.h.in', 'libxslt/xsltwin32config.h.in',
'libxslt/win32config.h', 'libxslt/win32config.h',
] ]
copied_sources = [] copied_sources = []
for cf in config_files: for cf in config_files:
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE')) result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
copied_sources.extend(result) copied_sources.extend(result)
env.Command(['scons/config.h'], env.Command(['scons/config.h'],
copied_sources, copied_sources,
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS', 'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
CONFIG_OPTIONS='compiler=msvc') CONFIG_OPTIONS='compiler=msvc')
elif env['PLATFORM'] == 'posix': elif env['PLATFORM'] == 'posix':
config_files = [ config_files = [
'config.h', 'config.h',
'xslt-config', 'xslt-config',
'libexslt/exsltconfig.h', 'libexslt/exsltconfig.h',
'libxslt/xsltconfig.h', 'libxslt/xsltconfig.h',
'libxslt/xsltwin32config.h', 'libxslt/xsltwin32config.h',
] ]
for cf in config_files: for cf in config_files:
result = env.Command('scons/' + cf, 'linux/' + cf, result = env.Command('scons/' + cf, 'linux/' + cf,
Copy('$TARGET', '$SOURCE')) Copy('$TARGET', '$SOURCE'))

@ -1,72 +1,72 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone( env = env.Clone(
) )
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'.', '.',
'../../', '../../',
] ]
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'_LZMA_PROB32', '_LZMA_PROB32',
'_LZMA_IN_CB', '_LZMA_IN_CB',
], ],
) )
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'7zCrc.c', '7zCrc.c',
'Archive/7z/7zAlloc.c', 'Archive/7z/7zAlloc.c',
'Archive/7z/7zBuffer.c', 'Archive/7z/7zBuffer.c',
'Archive/7z/7zDecode.c', 'Archive/7z/7zDecode.c',
'Archive/7z/7zExtract.c', 'Archive/7z/7zExtract.c',
'Archive/7z/7zHeader.c', 'Archive/7z/7zHeader.c',
'Archive/7z/7zIn.c', 'Archive/7z/7zIn.c',
'Archive/7z/7zItem.c', 'Archive/7z/7zItem.c',
'Archive/7z/7zMethodID.c', 'Archive/7z/7zMethodID.c',
'Compress/Branch/BranchX86.c', 'Compress/Branch/BranchX86.c',
'Compress/Branch/BranchX86_2.c', 'Compress/Branch/BranchX86_2.c',
'Compress/Lzma/LzmaDecode.c', 'Compress/Lzma/LzmaDecode.c',
] ]
env.ChromeStaticLibrary('lzma_sdk', input_files) env.ChromeStaticLibrary('lzma_sdk', input_files)

@ -1,46 +1,46 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone( env = env.Clone(
PDB = 'vc80.pdb', PDB = 'vc80.pdb',
) )
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#/..', '#/..',
], ],
) )
input_files = [ input_files = [
'modp_b64.cc', 'modp_b64.cc',
] ]
env.ChromeStaticLibrary('modp_b64', input_files) env.ChromeStaticLibrary('modp_b64', input_files)

@ -1,58 +1,58 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
Import('env') Import('env')
env = env.Clone() env = env.Clone()
if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32':
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TC', '/TC',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'adler32.c', 'adler32.c',
'compress.c', 'compress.c',
'crc32.c', 'crc32.c',
'deflate.c', 'deflate.c',
'gzio.c', 'gzio.c',
'infback.c', 'infback.c',
'inffast.c', 'inffast.c',
'inflate.c', 'inflate.c',
'inftrees.c', 'inftrees.c',
'trees.c', 'trees.c',
'uncompr.c', 'uncompr.c',
'zutil.c', 'zutil.c',
] ]
env.ChromeStaticLibrary('zlib', input_files) env.ChromeStaticLibrary('zlib', input_files)

@ -1,207 +1,207 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import os import os
Import(['env']) Import(['env'])
env = env.Clone() env = env.Clone()
env_res = env.Clone() env_res = env.Clone()
port_dir = env.Dir('#/$BUILD_TYPE/webkit/port') port_dir = env.Dir('#/$BUILD_TYPE/webkit/port')
port_dir.addRepository(env.Dir('#/../webkit/port')) port_dir.addRepository(env.Dir('#/../webkit/port'))
port_dir.addRepository(env.Dir('#/../third_party/WebKit/WebCore')) port_dir.addRepository(env.Dir('#/../third_party/WebKit/WebCore'))
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$WEBKIT_DIR/build/localized_strings', '$WEBKIT_DIR/build/localized_strings',
'$WEBKIT_DIR/build/JSConfig/obj/WebCore', '$WEBKIT_DIR/build/JSConfig/obj/WebCore',
'$WEBKIT_DIR/build/WebCore', '$WEBKIT_DIR/build/WebCore',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$SKIA_DIR/include', '$SKIA_DIR/include',
'$SKIA_DIR/include/corecg', '$SKIA_DIR/include/corecg',
'$SKIA_DIR/platform', '$SKIA_DIR/platform',
'$NPAPI_DIR', '$NPAPI_DIR',
'$V8_DIR/src/api', '$V8_DIR/src/api',
'$V8_DIR/public', '$V8_DIR/public',
'$WEBKIT_DIR/V8Bindings/DerivedSources', '$WEBKIT_DIR/V8Bindings/DerivedSources',
'$WEBKIT_DIR/V8Bindings/SharedSources', '$WEBKIT_DIR/V8Bindings/SharedSources',
'$WEBKIT_DIR/port/bindings/v8', '$WEBKIT_DIR/port/bindings/v8',
'$WEBKIT_DIR/WebCore', '$WEBKIT_DIR/WebCore',
'$WEBKIT_DIR/WebCore/JavaScriptHeaders', '$WEBKIT_DIR/WebCore/JavaScriptHeaders',
'$WEBKIT_DIR/WebCore/JavaScriptHeaders/JavaScriptCore', '$WEBKIT_DIR/WebCore/JavaScriptHeaders/JavaScriptCore',
'$WEBKIT_DIR/pending', '$WEBKIT_DIR/pending',
'$WEBKIT_DIR/pending/kjs', '$WEBKIT_DIR/pending/kjs',
'$WEBKIT_DIR/pending/wtf', '$WEBKIT_DIR/pending/wtf',
'$WEBKIT_DIR/port/bridge', '$WEBKIT_DIR/port/bridge',
'$WEBKIT_DIR/port/css', '$WEBKIT_DIR/port/css',
'$WEBKIT_DIR/port/dom', '$WEBKIT_DIR/port/dom',
'$WEBKIT_DIR/port/editing', '$WEBKIT_DIR/port/editing',
'$WEBKIT_DIR/port/history', '$WEBKIT_DIR/port/history',
'$WEBKIT_DIR/port/html', '$WEBKIT_DIR/port/html',
'$WEBKIT_DIR/port/loader', '$WEBKIT_DIR/port/loader',
'$WEBKIT_DIR/port/loader/icon', '$WEBKIT_DIR/port/loader/icon',
'$WEBKIT_DIR/port/page', '$WEBKIT_DIR/port/page',
'$WEBKIT_DIR/port/platform', '$WEBKIT_DIR/port/platform',
'$WEBKIT_DIR/port/platform/network', '$WEBKIT_DIR/port/platform/network',
'$WEBKIT_DIR/port/platform/text', '$WEBKIT_DIR/port/platform/text',
'$WEBKIT_DIR/port/plugins', '$WEBKIT_DIR/port/plugins',
'$WEBKIT_DIR/port/rendering', '$WEBKIT_DIR/port/rendering',
'#/', '#/',
'.', '.',
'$WEBKIT_DIR/port/platform/image-decoders', '$WEBKIT_DIR/port/platform/image-decoders',
'$WEBKIT_DIR/port/platform/image-decoders/bmp', '$WEBKIT_DIR/port/platform/image-decoders/bmp',
'$WEBKIT_DIR/port/platform/image-decoders/gif', '$WEBKIT_DIR/port/platform/image-decoders/gif',
'$WEBKIT_DIR/port/platform/image-decoders/ico', '$WEBKIT_DIR/port/platform/image-decoders/ico',
'$WEBKIT_DIR/port/platform/image-decoders/jpeg', '$WEBKIT_DIR/port/platform/image-decoders/jpeg',
'$WEBKIT_DIR/port/platform/image-decoders/png', '$WEBKIT_DIR/port/platform/image-decoders/png',
'$WEBKIT_DIR/port/platform/image-decoders/xbm', '$WEBKIT_DIR/port/platform/image-decoders/xbm',
'$WEBKIT_DIR/port/platform/image-decoders/zlib', '$WEBKIT_DIR/port/platform/image-decoders/zlib',
'$WEBKIT_DIR/port/platform/graphics', '$WEBKIT_DIR/port/platform/graphics',
'$WEBKIT_DIR/port/svg/graphics', '$WEBKIT_DIR/port/svg/graphics',
'$WEBKIT_DIR/port/platform/network', '$WEBKIT_DIR/port/platform/network',
'$WEBKIT_DIR/port/platform/sql', '$WEBKIT_DIR/port/platform/sql',
'$WEBKIT_DIR/port/platform/network/win', '$WEBKIT_DIR/port/platform/network/win',
'$WEBKIT_DIR/port/rendering', '$WEBKIT_DIR/port/rendering',
'$WEBKIT_DIR/port/storage', '$WEBKIT_DIR/port/storage',
'$WEBKIT_DIR/port/xml', '$WEBKIT_DIR/port/xml',
'$WEBKIT_DIR/port', '$WEBKIT_DIR/port',
'$WEBKIT_DIR/port/os-win32', '$WEBKIT_DIR/port/os-win32',
'$WEBKIT_DIR/port/wtf', '$WEBKIT_DIR/port/wtf',
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore', '$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore',
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/wtf', '$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/wtf',
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/os-win32', '$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/os-win32',
'$WEBKIT_DIR/port/svg', '$WEBKIT_DIR/port/svg',
'$WEBKIT_DIR/port/svg/graphics/filters', '$WEBKIT_DIR/port/svg/graphics/filters',
'$WEBKIT_DIR/port/plugins', '$WEBKIT_DIR/port/plugins',
'$LIBXSLT_DIR/scons', '$LIBXSLT_DIR/scons',
'$LIBXSLT_DIR', '$LIBXSLT_DIR',
'$LIBXML_DIR/scons/include', '$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include', '$LIBXML_DIR/include',
'$LIBPNG_DIR', '$LIBPNG_DIR',
'$ZLIB_DIR', '$ZLIB_DIR',
'$LIBJPEG_DIR', '$LIBJPEG_DIR',
'$WEBKIT_DIR/DerivedSources', '$WEBKIT_DIR/DerivedSources',
'#/..', '#/..',
], ],
) )
env.Append( env.Append(
WEBCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/WebCore", WEBCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/WebCore",
PENDING_DIR = "$WEBKIT_DIR/pending", PENDING_DIR = "$WEBKIT_DIR/pending",
PORT_DIR = "$WEBKIT_DIR/port", PORT_DIR = "$WEBKIT_DIR/port",
JAVASCRIPTCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore", JAVASCRIPTCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore",
WTF_DIR = "$JAVASCRIPTCORE_DIR/wtf", WTF_DIR = "$JAVASCRIPTCORE_DIR/wtf",
KJS_DIR = "$JAVASCRIPTCORE_DIR/kjs", KJS_DIR = "$JAVASCRIPTCORE_DIR/kjs",
PCRE_DIR = "$JAVASCRIPTCORE_DIR/pcre", PCRE_DIR = "$JAVASCRIPTCORE_DIR/pcre",
V8BINDINGS_DIR = "$WEBKIT_DIR/V8Bindings", V8BINDINGS_DIR = "$WEBKIT_DIR/V8Bindings",
DERIVED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/DerivedSources"), DERIVED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/DerivedSources"),
SHARED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/SharedSources"), SHARED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/SharedSources"),
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION' 'U_STATIC_IMPLEMENTATION'
'_CRT_SECURE_NO_DEPRECATE', '_CRT_SECURE_NO_DEPRECATE',
'_CRT_NONSTDC_NO_WARNINGS', '_CRT_NONSTDC_NO_WARNINGS',
'_CRT_NONSTDC_NO_DEPRECATE', '_CRT_NONSTDC_NO_DEPRECATE',
'_SCL_SECURE_NO_DEPRECATE', '_SCL_SECURE_NO_DEPRECATE',
'_SCL_SECURE_NO_WARNINGS', '_SCL_SECURE_NO_WARNINGS',
['CRASH', '__debugbreak'], ['CRASH', '__debugbreak'],
['ENABLE_CROSS_DOCUMENT_MESSAGING', '1'], ['ENABLE_CROSS_DOCUMENT_MESSAGING', '1'],
['ENABLE_XSLT', '1'], ['ENABLE_XSLT', '1'],
['ENABLE_XPATH', '1'], ['ENABLE_XPATH', '1'],
['ENABLE_SVG', '1'], ['ENABLE_SVG', '1'],
['ENABLE_SVG_AS_IMAGE', '1'], ['ENABLE_SVG_AS_IMAGE', '1'],
['ENABLE_SVG_USE', '1'], ['ENABLE_SVG_USE', '1'],
['ENABLE_SVG_FOREIGN_OBJECT', '1'], ['ENABLE_SVG_FOREIGN_OBJECT', '1'],
['ENABLE_SVG_FONTS', '1'], ['ENABLE_SVG_FONTS', '1'],
['ANDROID_CANVAS_IMPL', '1'], ['ANDROID_CANVAS_IMPL', '1'],
['WEBCORE_NAVIGATOR_PLATFORM', '"\\"Win32\\""'], ['WEBCORE_NAVIGATOR_PLATFORM', '"\\"Win32\\""'],
'USE_GOOGLE_URL_LIBRARY', 'USE_GOOGLE_URL_LIBRARY',
'_WIN32_WINNT=0x0600', '_WIN32_WINNT=0x0600',
'WINVER=0x0600', 'WINVER=0x0600',
'LIBXSLT_STATIC', 'LIBXSLT_STATIC',
'LIBXML_STATIC', 'LIBXML_STATIC',
'PNG_USER_CONFIG', 'PNG_USER_CONFIG',
'CHROME_PNG_WRITE_SUPPORT', 'CHROME_PNG_WRITE_SUPPORT',
['__PRETTY_FUNCTION__', '__FUNCTION__'], ['__PRETTY_FUNCTION__', '__FUNCTION__'],
'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2', 'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2',
'HAVE_CONFIG_H', 'HAVE_CONFIG_H',
'__STD_C', '__STD_C',
], ],
) )
sconscript_dirs = [ sconscript_dirs = [
'SConscript.port', 'SConscript.port',
'SConscript.javascriptcore_pcre', 'SConscript.javascriptcore_pcre',
'activex_shim/SConscript', 'activex_shim/SConscript',
'activex_shim_dll/SConscript', 'activex_shim_dll/SConscript',
'build/JSConfig/SConscript', 'build/JSConfig/SConscript',
'build/JavaScriptCore/SConscript', 'build/JavaScriptCore/SConscript',
'build/localized_strings/SConscript', 'build/localized_strings/SConscript',
'build/port/SConscript', 'build/port/SConscript',
'build/V8Bindings/SConscript', 'build/V8Bindings/SConscript',
'build/WebCore/SConscript', 'build/WebCore/SConscript',
'default_plugin/SConscript', 'default_plugin/SConscript',
'glue/SConscript', 'glue/SConscript',
'glue/plugins/test/SConscript', 'glue/plugins/test/SConscript',
'tools/npapi_layout_test_plugin/SConscript', 'tools/npapi_layout_test_plugin/SConscript',
'tools/test_shell/SConscript', 'tools/test_shell/SConscript',
'tools/test_shell/resources/fonts/SConscript', 'tools/test_shell/resources/fonts/SConscript',
] ]
env.SConscript(sconscript_dirs, exports=['env', 'env_res']) env.SConscript(sconscript_dirs, exports=['env', 'env_res'])
# Setup alias for all webkit related targets. # Setup alias for all webkit related targets.
# We'd like to do this as follows, but it leads to out-of-memory # We'd like to do this as follows, but it leads to out-of-memory
# errors when SCons tries to use the entire contents of the # errors when SCons tries to use the entire contents of the
# directory tree as a huge content-signature string. # directory tree as a huge content-signature string.
# Instead we're going to let all the subsidiary SConscript files # Instead we're going to let all the subsidiary SConscript files
# add their own individual targets to the 'webkit' Alias. # add their own individual targets to the 'webkit' Alias.
#env.Alias('webkit', ['.', '../icudt38.dll']) #env.Alias('webkit', ['.', '../icudt38.dll'])
env.Alias('webkit', ['../icudt38.dll']) env.Alias('webkit', ['../icudt38.dll'])
version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h', version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h',
['$WEBCORE_DIR/Configurations/Version.xcconfig', ['$WEBCORE_DIR/Configurations/Version.xcconfig',
'#/../webkit/build/webkit_version.py'], '#/../webkit/build/webkit_version.py'],
"$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}") "$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}")
env.AlwaysBuild(version) env.AlwaysBuild(version)

@ -1,68 +1,68 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$NPAPI_DIR', '$NPAPI_DIR',
'#/..', '#/..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'TRACK_INTERFACE', 'TRACK_INTERFACE',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', '/WX',
'/Wp64', '/Wp64',
], ],
# TODO(bradnelson): Scons should really have a way to handle this. # TODO(bradnelson): Scons should really have a way to handle this.
ARFLAGS = [ ARFLAGS = [
'/LIBPATH:$PLATFORMSDK_VISTA_REL', 'Urlmon.Lib', '/LIBPATH:$PLATFORMSDK_VISTA_REL', 'Urlmon.Lib',
], ],
) )
input_files = [ input_files = [
'activex_plugin.cc', 'activex_plugin.cc',
'activex_shared.cc', 'activex_shared.cc',
'activex_util.cc', 'activex_util.cc',
'dispatch_object.cc', 'dispatch_object.cc',
'npn_scripting.cc', 'npn_scripting.cc',
'npp_impl.cc', 'npp_impl.cc',
'web_activex_container.cc', 'web_activex_container.cc',
'web_activex_site.cc', 'web_activex_site.cc',
] ]
env.ChromeStaticLibrary('activex_shim', input_files) env.ChromeStaticLibrary('activex_shim', input_files)

@ -1,73 +1,73 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'$NPAPI_DIR', '$NPAPI_DIR',
'#/..', '#/..',
], ],
LIBS = [ LIBS = [
'activex_shim', 'activex_shim',
'googleurl', 'googleurl',
'icuuc', 'icuuc',
'base', 'base',
], ],
) )
env.Append( env.Append(
LINKFLAGS = [ LINKFLAGS = [
'/INCREMENTAL', '/INCREMENTAL',
'/MANIFEST', '/MANIFEST',
'/DELAYLOAD:"dwmapi.dll"', '/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"', '/DELAYLOAD:"uxtheme.dll"',
'/MACHINE:X86', '/MACHINE:X86',
'/FIXED:No', '/FIXED:No',
'/safeseh', '/safeseh',
'/dynamicbase', '/dynamicbase',
'/ignore:4199', '/ignore:4199',
'/nxcompat', '/nxcompat',
'/DEBUG', '/DEBUG',
], ],
) )
input_files = [ input_files = [
'activex_shim_dll.cc', 'activex_shim_dll.cc',
'activex_shim_dll.def', 'activex_shim_dll.def',
] ]
dll = env.ChromeSharedLibrary('npaxshim', input_files) dll = env.ChromeSharedLibrary('npaxshim', input_files)
i = env.Install('$TARGET_ROOT', dll) i = env.Install('$TARGET_ROOT', dll)
env.Alias('webkit', i) env.Alias('webkit', i)

@ -1,39 +1,39 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
# TODO(bradnelson): very bad, calls batch, calls sh, deps all wrong # TODO(bradnelson): very bad, calls batch, calls sh, deps all wrong
env.Append(ENV = {"OS" : "Windows_NT"}) env.Append(ENV = {"OS" : "Windows_NT"})
env.Command("obj/WebCore/config.h", env.Command("obj/WebCore/config.h",
["prebuild.bat", "../../config.h.in"], ["prebuild.bat", "../../config.h.in"],
"cd ${SOURCE.dir} && ${SOURCE.file} ${JSCONFIG_DIR.abspath} v8", "cd ${SOURCE.dir} && ${SOURCE.file} ${JSCONFIG_DIR.abspath} v8",
JSCONFIG_DIR = env.Dir('$WEBKIT_DIR/build/JSConfig')) JSCONFIG_DIR = env.Dir('$WEBKIT_DIR/build/JSConfig'))

@ -1,170 +1,170 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
cygwin = Dir('#../third_party/cygwin/bin') cygwin = Dir('#../third_party/cygwin/bin')
cygwin_posix = cygwin.abspath.replace('\\', '/') cygwin_posix = cygwin.abspath.replace('\\', '/')
env.PrependENVPath('PATH', '../third_party/cygwin/bin') env.PrependENVPath('PATH', '../third_party/cygwin/bin')
hash_table_cmd = '$PERL $CREATE_HASH_TABLE $SOURCE $CREATE_HASH_TABLE_FLAGS > $TARGET' hash_table_cmd = '$PERL $CREATE_HASH_TABLE $SOURCE $CREATE_HASH_TABLE_FLAGS > $TARGET'
env.Replace( env.Replace(
CREATE_HASH_TABLE_COM = hash_table_cmd, CREATE_HASH_TABLE_COM = hash_table_cmd,
CREATE_HASH_TABLE = env.File('#/../third_party/WebKit/JavascriptCore/kjs/create_hash_table'), CREATE_HASH_TABLE = env.File('#/../third_party/WebKit/JavascriptCore/kjs/create_hash_table'),
CREATE_HASH_TABLE_FLAGS = '-i', CREATE_HASH_TABLE_FLAGS = '-i',
) )
env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM', env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM',
suffix = '.lut.h', suffix = '.lut.h',
src_suffix = '.cpp') src_suffix = '.cpp')
inputs = [ inputs = [
'array_object', 'array_object',
'date_object', 'date_object',
'math_object', 'math_object',
'number_object', 'number_object',
'regexp_object', 'regexp_object',
'string_object', 'string_object',
] ]
for i in inputs: for i in inputs:
env.Lookup_Table_h(i, '$KJS_DIR/%s.cpp' % i) env.Lookup_Table_h(i, '$KJS_DIR/%s.cpp' % i)
env.Lookup_Table_h('lexer', '$KJS_DIR/keywords.table', env.Lookup_Table_h('lexer', '$KJS_DIR/keywords.table',
CREATE_HASH_TABLE_FLAGS='') CREATE_HASH_TABLE_FLAGS='')
# TODO(bradnelson): sucks, needs relative path # TODO(bradnelson): sucks, needs relative path
env.Command('$WEBKIT_DIR/port/JavaScriptCore/chartables.c', env.Command('$WEBKIT_DIR/port/JavaScriptCore/chartables.c',
'$PCRE_DIR/dftables', '$PCRE_DIR/dftables',
'$PERL ../third_party/WebKit/JavaScriptCore/pcre/dftables ' + \ '$PERL ../third_party/WebKit/JavaScriptCore/pcre/dftables ' + \
'${TARGET.posix}') '${TARGET.posix}')
# We'd like to do this as follows: # We'd like to do this as follows:
#env.CXXFile('grammar.cpp', '$KJS_DIR/grammar.y') #env.CXXFile('grammar.cpp', '$KJS_DIR/grammar.y')
# but SCons has a HARD-WIRED notion that the source must be a .yy file. # but SCons has a HARD-WIRED notion that the source must be a .yy file.
# TODO(bradnelson): not sure why YACCCOM is needed, but fails without # TODO(bradnelson): not sure why YACCCOM is needed, but fails without
cpp = env.Command(['grammar.cpp', 'grammar.h'], cpp = env.Command(['grammar.cpp', 'grammar.h'],
'$KJS_DIR/grammar.y', '$KJS_DIR/grammar.y',
'$YACCCOM', '$YACCCOM',
YACCCOM = '$YACC $YACCFLAGS -o $TARGET $SOURCES', YACCCOM = '$YACC $YACCFLAGS -o $TARGET $SOURCES',
YACCFLAGS = '-d -p kjsyy') YACCFLAGS = '-d -p kjsyy')
env.AddPostAction(cpp, Move('${TARGETS[1]}', '${TARGET.dir}/grammar.hpp')) env.AddPostAction(cpp, Move('${TARGETS[1]}', '${TARGET.dir}/grammar.hpp'))
copies = [ copies = [
'API/APICast.h', 'API/APICast.h',
'API/JSBase.h', 'API/JSBase.h',
'API/JSValueRef.h', 'API/JSValueRef.h',
'API/JSObjectRef.h', 'API/JSObjectRef.h',
'API/JSRetainPtr.h', 'API/JSRetainPtr.h',
'API/JSContextRef.h', 'API/JSContextRef.h',
'API/JSStringRef.h', 'API/JSStringRef.h',
'API/JSStringRefCF.h', 'API/JSStringRefCF.h',
'API/JSStringRefBSTR.h', 'API/JSStringRefBSTR.h',
'API/JavaScriptCore.h', 'API/JavaScriptCore.h',
'bindings/npruntime.h', 'bindings/npruntime.h',
'bindings/runtime.h', 'bindings/runtime.h',
'bindings/np_jsobject.h', 'bindings/np_jsobject.h',
'bindings/npruntime_internal.h', 'bindings/npruntime_internal.h',
'bindings/npruntime_impl.h', 'bindings/npruntime_impl.h',
'bindings/runtime_object.h', 'bindings/runtime_object.h',
'bindings/runtime_root.h', 'bindings/runtime_root.h',
'kjs/JSLock.h', 'kjs/JSLock.h',
'kjs/interpreter.h', 'kjs/interpreter.h',
'wtf/HashCountedSet.h', 'wtf/HashCountedSet.h',
] ]
JSCORE_OUT = '$WEBKIT_DIR/scons/WebCore/JavaScriptCore' JSCORE_OUT = '$WEBKIT_DIR/scons/WebCore/JavaScriptCore'
for c in copies: for c in copies:
i = env.Install(JSCORE_OUT, '$JAVASCRIPTCORE_DIR/' + c) i = env.Install(JSCORE_OUT, '$JAVASCRIPTCORE_DIR/' + c)
env.Alias('webkit', i) env.Alias('webkit', i)
i = env.Install(JSCORE_OUT, '../../pending/kjs/collector.h') i = env.Install(JSCORE_OUT, '../../pending/kjs/collector.h')
env.Alias('webkit', i) env.Alias('webkit', i)
# Stuff for WTF # Stuff for WTF
env = env.Clone( env = env.Clone(
CPPPATH = [ CPPPATH = [
'$WEBKIT_DIR/build/JavaScriptCore', '$WEBKIT_DIR/build/JavaScriptCore',
'$JAVASCRIPTCORE_DIR', '$JAVASCRIPTCORE_DIR',
'$JAVASCRIPTCORE_DIR/os-win32', '$JAVASCRIPTCORE_DIR/os-win32',
'$JAVASCRIPTCORE_DIR/kjs', '$JAVASCRIPTCORE_DIR/kjs',
'$WTF_DIR', '$WTF_DIR',
'$JAVASCRIPTCORE_DIR/API', '$JAVASCRIPTCORE_DIR/API',
'$JAVASCRIPTCORE_DIR/bindings', '$JAVASCRIPTCORE_DIR/bindings',
'$JAVASCRIPTCORE_DIR/bindings/c', '$JAVASCRIPTCORE_DIR/bindings/c',
'$JAVASCRIPTCORE_DIR/bindings/jni', '$JAVASCRIPTCORE_DIR/bindings/jni',
'$WEBKIT_DIR/pending', '$WEBKIT_DIR/pending',
'$WEBKIT_DIR/pending/wtf', '$WEBKIT_DIR/pending/wtf',
'$ICU38_DIR/public/common', '$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n', '$ICU38_DIR/public/i18n',
'$WEBKIT_DIR', '$WEBKIT_DIR',
'#/..', '#/..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'HAVE_CONFIG_H', 'HAVE_CONFIG_H',
'__STD_C', '__STD_C',
'CRASH=__debugbreak', 'CRASH=__debugbreak',
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'_WIN32_WINNT=0x0600', '_WIN32_WINNT=0x0600',
'WINVER=0x0600', 'WINVER=0x0600',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', '/WX',
'/Wp64', '/Wp64',
'/wd4127', '/wd4127',
'/wd4355', '/wd4355',
'/wd4510', '/wd4510',
'/wd4512', '/wd4512',
'/wd4610', '/wd4610',
'/wd4706', '/wd4706',
], ],
) )
wtf_inputs = [ wtf_inputs = [
'$WTF_DIR/Assertions.cpp', '$WTF_DIR/Assertions.cpp',
'$WTF_DIR/unicode/UTF8.cpp', '$WTF_DIR/unicode/UTF8.cpp',
'$WTF_DIR/TCSystemAlloc.cpp', '$WTF_DIR/TCSystemAlloc.cpp',
'$WTF_DIR/HashTable.cpp', '$WTF_DIR/HashTable.cpp',
] ]
env.ChromeStaticLibrary('WTF', wtf_inputs) env.ChromeStaticLibrary('WTF', wtf_inputs)

@ -1,325 +1,325 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPDEFINES = [ CPPDEFINES = [
'NOGDI', 'NOGDI',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/wd4291', '/wd4291',
'/wd4099', '/wd4099',
'/wd4996', '/wd4996',
'/wd4521', '/wd4521',
'/wd4244', '/wd4244',
'/wd4800', '/wd4800',
], ],
) )
inputs = [ inputs = [
'$DERIVED_DIR/V8MimeType.cpp', '$DERIVED_DIR/V8MimeType.cpp',
'$DERIVED_DIR/V8MimeTypeArray.cpp', '$DERIVED_DIR/V8MimeTypeArray.cpp',
'$PORT_DIR/bridge/V8Bridge.cpp', '$PORT_DIR/bridge/V8Bridge.cpp',
'$PORT_DIR/bindings/v8/v8_vectornodelist.cpp', '$PORT_DIR/bindings/v8/v8_vectornodelist.cpp',
'$PORT_DIR/bindings/v8/v8_proxy.cpp', '$PORT_DIR/bindings/v8/v8_proxy.cpp',
'$PORT_DIR/bindings/v8/v8_nodefilter.cpp', '$PORT_DIR/bindings/v8/v8_nodefilter.cpp',
'$PORT_DIR/bindings/v8/v8_index.cpp', '$PORT_DIR/bindings/v8/v8_index.cpp',
'$PORT_DIR/bindings/v8/v8_events.cpp', '$PORT_DIR/bindings/v8/v8_events.cpp',
'$PORT_DIR/bindings/v8/v8_custom.cpp', '$PORT_DIR/bindings/v8/v8_custom.cpp',
'$PORT_DIR/bindings/v8/JSXPathNSResolver.cpp', '$PORT_DIR/bindings/v8/JSXPathNSResolver.cpp',
'$PORT_DIR/page/inspector/InspectorController.cpp', '$PORT_DIR/page/inspector/InspectorController.cpp',
'$PORT_DIR/bindings/v8/v8_npobject.cpp', '$PORT_DIR/bindings/v8/v8_npobject.cpp',
'$PORT_DIR/bindings/v8/v8_np_utils.cpp', '$PORT_DIR/bindings/v8/v8_np_utils.cpp',
'$PORT_DIR/bindings/v8/v8_helpers.cpp', '$PORT_DIR/bindings/v8/v8_helpers.cpp',
'$PORT_DIR/bindings/v8/npruntime.cpp', '$PORT_DIR/bindings/v8/npruntime.cpp',
'$PORT_DIR/bindings/v8/np_v8object.cpp', '$PORT_DIR/bindings/v8/np_v8object.cpp',
'$PORT_DIR/page/Navigator.cpp', '$PORT_DIR/page/Navigator.cpp',
'$PORT_DIR/page/Location.cpp', '$PORT_DIR/page/Location.cpp',
'$SHARED_DIR/PausedTimeouts.cpp', '$SHARED_DIR/PausedTimeouts.cpp',
'$DERIVED_DIR/XPathGrammar.cpp', '$DERIVED_DIR/XPathGrammar.cpp',
'$DERIVED_DIR/CSSGrammar.cpp', '$DERIVED_DIR/CSSGrammar.cpp',
'$DERIVED_DIR/XMLNames.cpp', '$DERIVED_DIR/XMLNames.cpp',
'$DERIVED_DIR/XLinkNames.cpp', '$DERIVED_DIR/XLinkNames.cpp',
'$DERIVED_DIR/V8XSLTProcessor.cpp', '$DERIVED_DIR/V8XSLTProcessor.cpp',
'$DERIVED_DIR/V8XPathResult.cpp', '$DERIVED_DIR/V8XPathResult.cpp',
'$DERIVED_DIR/V8XPathNSResolver.cpp', '$DERIVED_DIR/V8XPathNSResolver.cpp',
'$DERIVED_DIR/V8XPathExpression.cpp', '$DERIVED_DIR/V8XPathExpression.cpp',
'$DERIVED_DIR/V8XPathException.cpp', '$DERIVED_DIR/V8XPathException.cpp',
'$DERIVED_DIR/V8XPathEvaluator.cpp', '$DERIVED_DIR/V8XPathEvaluator.cpp',
'$DERIVED_DIR/V8XMLSerializer.cpp', '$DERIVED_DIR/V8XMLSerializer.cpp',
'$DERIVED_DIR/V8XMLHttpRequestException.cpp', '$DERIVED_DIR/V8XMLHttpRequestException.cpp',
'$DERIVED_DIR/V8XMLHttpRequest.cpp', '$DERIVED_DIR/V8XMLHttpRequest.cpp',
'$DERIVED_DIR/V8WheelEvent.cpp', '$DERIVED_DIR/V8WheelEvent.cpp',
'$DERIVED_DIR/V8UndetectableHTMLCollection.cpp', '$DERIVED_DIR/V8UndetectableHTMLCollection.cpp',
'$DERIVED_DIR/V8UIEvent.cpp', '$DERIVED_DIR/V8UIEvent.cpp',
'$DERIVED_DIR/V8TreeWalker.cpp', '$DERIVED_DIR/V8TreeWalker.cpp',
'$DERIVED_DIR/V8TextEvent.cpp', '$DERIVED_DIR/V8TextEvent.cpp',
'$DERIVED_DIR/V8Text.cpp', '$DERIVED_DIR/V8Text.cpp',
'$DERIVED_DIR/V8SVGZoomEvent.cpp', '$DERIVED_DIR/V8SVGZoomEvent.cpp',
'$DERIVED_DIR/V8SVGViewElement.cpp', '$DERIVED_DIR/V8SVGViewElement.cpp',
'$DERIVED_DIR/V8SVGUseElement.cpp', '$DERIVED_DIR/V8SVGUseElement.cpp',
'$DERIVED_DIR/V8SVGURIReference.cpp', '$DERIVED_DIR/V8SVGURIReference.cpp',
'$DERIVED_DIR/V8SVGUnitTypes.cpp', '$DERIVED_DIR/V8SVGUnitTypes.cpp',
'$DERIVED_DIR/V8SVGTSpanElement.cpp', '$DERIVED_DIR/V8SVGTSpanElement.cpp',
'$DERIVED_DIR/V8SVGTRefElement.cpp', '$DERIVED_DIR/V8SVGTRefElement.cpp',
'$DERIVED_DIR/V8SVGTransformList.cpp', '$DERIVED_DIR/V8SVGTransformList.cpp',
'$DERIVED_DIR/V8SVGTransform.cpp', '$DERIVED_DIR/V8SVGTransform.cpp',
'$DERIVED_DIR/V8SVGTitleElement.cpp', '$DERIVED_DIR/V8SVGTitleElement.cpp',
'$DERIVED_DIR/V8SVGTextPositioningElement.cpp', '$DERIVED_DIR/V8SVGTextPositioningElement.cpp',
'$DERIVED_DIR/V8SVGTextPathElement.cpp', '$DERIVED_DIR/V8SVGTextPathElement.cpp',
'$DERIVED_DIR/V8SVGTextElement.cpp', '$DERIVED_DIR/V8SVGTextElement.cpp',
'$DERIVED_DIR/V8SVGTextContentElement.cpp', '$DERIVED_DIR/V8SVGTextContentElement.cpp',
'$DERIVED_DIR/V8SVGSymbolElement.cpp', '$DERIVED_DIR/V8SVGSymbolElement.cpp',
'$DERIVED_DIR/V8SVGSwitchElement.cpp', '$DERIVED_DIR/V8SVGSwitchElement.cpp',
'$DERIVED_DIR/V8SVGSVGElement.cpp', '$DERIVED_DIR/V8SVGSVGElement.cpp',
'$DERIVED_DIR/V8SVGStyleElement.cpp', '$DERIVED_DIR/V8SVGStyleElement.cpp',
'$DERIVED_DIR/V8SVGStringList.cpp', '$DERIVED_DIR/V8SVGStringList.cpp',
'$DERIVED_DIR/V8SVGStopElement.cpp', '$DERIVED_DIR/V8SVGStopElement.cpp',
'$DERIVED_DIR/V8SVGScriptElement.cpp', '$DERIVED_DIR/V8SVGScriptElement.cpp',
'$DERIVED_DIR/V8SVGRenderingIntent.cpp', '$DERIVED_DIR/V8SVGRenderingIntent.cpp',
'$DERIVED_DIR/V8SVGRectElement.cpp', '$DERIVED_DIR/V8SVGRectElement.cpp',
'$DERIVED_DIR/V8SVGRect.cpp', '$DERIVED_DIR/V8SVGRect.cpp',
'$DERIVED_DIR/V8SVGRadialGradientElement.cpp', '$DERIVED_DIR/V8SVGRadialGradientElement.cpp',
'$DERIVED_DIR/V8SVGPreserveAspectRatio.cpp', '$DERIVED_DIR/V8SVGPreserveAspectRatio.cpp',
'$DERIVED_DIR/V8SVGPolylineElement.cpp', '$DERIVED_DIR/V8SVGPolylineElement.cpp',
'$DERIVED_DIR/V8SVGPolygonElement.cpp', '$DERIVED_DIR/V8SVGPolygonElement.cpp',
'$DERIVED_DIR/V8SVGPointList.cpp', '$DERIVED_DIR/V8SVGPointList.cpp',
'$DERIVED_DIR/V8SVGPoint.cpp', '$DERIVED_DIR/V8SVGPoint.cpp',
'$DERIVED_DIR/V8SVGPatternElement.cpp', '$DERIVED_DIR/V8SVGPatternElement.cpp',
'$DERIVED_DIR/V8SVGPathSegMovetoRel.cpp', '$DERIVED_DIR/V8SVGPathSegMovetoRel.cpp',
'$DERIVED_DIR/V8SVGPathSegMovetoAbs.cpp', '$DERIVED_DIR/V8SVGPathSegMovetoAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegList.cpp', '$DERIVED_DIR/V8SVGPathSegList.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalRel.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoVerticalRel.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalAbs.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoVerticalAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoRel.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoRel.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalRel.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoHorizontalRel.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalAbs.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoHorizontalAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegLinetoAbs.cpp', '$DERIVED_DIR/V8SVGPathSegLinetoAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothRel.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothRel.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticRel.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticRel.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticAbs.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothRel.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothRel.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothAbs.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicRel.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoCubicRel.cpp',
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicAbs.cpp', '$DERIVED_DIR/V8SVGPathSegCurvetoCubicAbs.cpp',
'$DERIVED_DIR/V8SVGPathSegClosePath.cpp', '$DERIVED_DIR/V8SVGPathSegClosePath.cpp',
'$DERIVED_DIR/V8SVGPathSegArcRel.cpp', '$DERIVED_DIR/V8SVGPathSegArcRel.cpp',
'$DERIVED_DIR/V8SVGPathSegArcAbs.cpp', '$DERIVED_DIR/V8SVGPathSegArcAbs.cpp',
'$DERIVED_DIR/V8SVGPathSeg.cpp', '$DERIVED_DIR/V8SVGPathSeg.cpp',
'$DERIVED_DIR/V8SVGPathElement.cpp', '$DERIVED_DIR/V8SVGPathElement.cpp',
'$DERIVED_DIR/V8SVGPaint.cpp', '$DERIVED_DIR/V8SVGPaint.cpp',
'$DERIVED_DIR/V8SVGNumberList.cpp', '$DERIVED_DIR/V8SVGNumberList.cpp',
'$DERIVED_DIR/V8SVGNumber.cpp', '$DERIVED_DIR/V8SVGNumber.cpp',
'$DERIVED_DIR/V8SVGMetadataElement.cpp', '$DERIVED_DIR/V8SVGMetadataElement.cpp',
'$DERIVED_DIR/V8SVGMatrix.cpp', '$DERIVED_DIR/V8SVGMatrix.cpp',
'$DERIVED_DIR/V8SVGMaskElement.cpp', '$DERIVED_DIR/V8SVGMaskElement.cpp',
'$DERIVED_DIR/V8SVGMarkerElement.cpp', '$DERIVED_DIR/V8SVGMarkerElement.cpp',
'$DERIVED_DIR/V8SVGLineElement.cpp', '$DERIVED_DIR/V8SVGLineElement.cpp',
'$DERIVED_DIR/V8SVGLinearGradientElement.cpp', '$DERIVED_DIR/V8SVGLinearGradientElement.cpp',
'$DERIVED_DIR/V8SVGLengthList.cpp', '$DERIVED_DIR/V8SVGLengthList.cpp',
'$DERIVED_DIR/V8SVGLength.cpp', '$DERIVED_DIR/V8SVGLength.cpp',
'$DERIVED_DIR/V8SVGImageElement.cpp', '$DERIVED_DIR/V8SVGImageElement.cpp',
'$DERIVED_DIR/V8SVGGradientElement.cpp', '$DERIVED_DIR/V8SVGGradientElement.cpp',
'$DERIVED_DIR/V8SVGGElement.cpp', '$DERIVED_DIR/V8SVGGElement.cpp',
'$DERIVED_DIR/V8SVGForeignObjectElement.cpp', '$DERIVED_DIR/V8SVGForeignObjectElement.cpp',
'$DERIVED_DIR/V8SVGFontFaceUriElement.cpp', '$DERIVED_DIR/V8SVGFontFaceUriElement.cpp',
'$DERIVED_DIR/V8SVGFontFaceSrcElement.cpp', '$DERIVED_DIR/V8SVGFontFaceSrcElement.cpp',
'$DERIVED_DIR/V8SVGFontFaceNameElement.cpp', '$DERIVED_DIR/V8SVGFontFaceNameElement.cpp',
'$DERIVED_DIR/V8SVGFontFaceFormatElement.cpp', '$DERIVED_DIR/V8SVGFontFaceFormatElement.cpp',
'$DERIVED_DIR/V8SVGFontFaceElement.cpp', '$DERIVED_DIR/V8SVGFontFaceElement.cpp',
'$DERIVED_DIR/V8SVGException.cpp', '$DERIVED_DIR/V8SVGException.cpp',
'$DERIVED_DIR/V8SVGEllipseElement.cpp', '$DERIVED_DIR/V8SVGEllipseElement.cpp',
'$DERIVED_DIR/V8SVGElementInstanceList.cpp', '$DERIVED_DIR/V8SVGElementInstanceList.cpp',
'$DERIVED_DIR/V8SVGElementInstance.cpp', '$DERIVED_DIR/V8SVGElementInstance.cpp',
'$DERIVED_DIR/V8SVGElement.cpp', '$DERIVED_DIR/V8SVGElement.cpp',
'$DERIVED_DIR/V8SVGDocument.cpp', '$DERIVED_DIR/V8SVGDocument.cpp',
'$DERIVED_DIR/V8SVGDescElement.cpp', '$DERIVED_DIR/V8SVGDescElement.cpp',
'$DERIVED_DIR/V8SVGDefsElement.cpp', '$DERIVED_DIR/V8SVGDefsElement.cpp',
'$DERIVED_DIR/V8SVGDefinitionSrcElement.cpp', '$DERIVED_DIR/V8SVGDefinitionSrcElement.cpp',
'$DERIVED_DIR/V8SVGCursorElement.cpp', '$DERIVED_DIR/V8SVGCursorElement.cpp',
'$DERIVED_DIR/V8SVGColor.cpp', '$DERIVED_DIR/V8SVGColor.cpp',
'$DERIVED_DIR/V8SVGClipPathElement.cpp', '$DERIVED_DIR/V8SVGClipPathElement.cpp',
'$DERIVED_DIR/V8SVGCircleElement.cpp', '$DERIVED_DIR/V8SVGCircleElement.cpp',
'$DERIVED_DIR/V8SVGAnimatedTransformList.cpp', '$DERIVED_DIR/V8SVGAnimatedTransformList.cpp',
'$DERIVED_DIR/V8SVGAnimatedString.cpp', '$DERIVED_DIR/V8SVGAnimatedString.cpp',
'$DERIVED_DIR/V8SVGAnimatedRect.cpp', '$DERIVED_DIR/V8SVGAnimatedRect.cpp',
'$DERIVED_DIR/V8SVGAnimatedPreserveAspectRatio.cpp', '$DERIVED_DIR/V8SVGAnimatedPreserveAspectRatio.cpp',
'$DERIVED_DIR/V8SVGAnimatedPoints.cpp', '$DERIVED_DIR/V8SVGAnimatedPoints.cpp',
'$DERIVED_DIR/V8SVGAnimatedNumberList.cpp', '$DERIVED_DIR/V8SVGAnimatedNumberList.cpp',
'$DERIVED_DIR/V8SVGAnimatedNumber.cpp', '$DERIVED_DIR/V8SVGAnimatedNumber.cpp',
'$DERIVED_DIR/V8SVGAnimatedLengthList.cpp', '$DERIVED_DIR/V8SVGAnimatedLengthList.cpp',
'$DERIVED_DIR/V8SVGAnimatedLength.cpp', '$DERIVED_DIR/V8SVGAnimatedLength.cpp',
'$DERIVED_DIR/V8SVGAnimatedInteger.cpp', '$DERIVED_DIR/V8SVGAnimatedInteger.cpp',
'$DERIVED_DIR/V8SVGAnimatedEnumeration.cpp', '$DERIVED_DIR/V8SVGAnimatedEnumeration.cpp',
'$DERIVED_DIR/V8SVGAnimatedBoolean.cpp', '$DERIVED_DIR/V8SVGAnimatedBoolean.cpp',
'$DERIVED_DIR/V8SVGAnimatedAngle.cpp', '$DERIVED_DIR/V8SVGAnimatedAngle.cpp',
'$DERIVED_DIR/V8SVGAngle.cpp', '$DERIVED_DIR/V8SVGAngle.cpp',
'$DERIVED_DIR/V8SVGAElement.cpp', '$DERIVED_DIR/V8SVGAElement.cpp',
'$DERIVED_DIR/V8StyleSheetList.cpp', '$DERIVED_DIR/V8StyleSheetList.cpp',
'$DERIVED_DIR/V8StyleSheet.cpp', '$DERIVED_DIR/V8StyleSheet.cpp',
'$DERIVED_DIR/V8Screen.cpp', '$DERIVED_DIR/V8Screen.cpp',
'$DERIVED_DIR/V8RGBColor.cpp', '$DERIVED_DIR/V8RGBColor.cpp',
'$DERIVED_DIR/V8Rect.cpp', '$DERIVED_DIR/V8Rect.cpp',
'$DERIVED_DIR/V8RangeException.cpp', '$DERIVED_DIR/V8RangeException.cpp',
'$DERIVED_DIR/V8Range.cpp', '$DERIVED_DIR/V8Range.cpp',
'$DERIVED_DIR/V8ProgressEvent.cpp', '$DERIVED_DIR/V8ProgressEvent.cpp',
'$DERIVED_DIR/V8ProcessingInstruction.cpp', '$DERIVED_DIR/V8ProcessingInstruction.cpp',
'$DERIVED_DIR/V8PluginArray.cpp', '$DERIVED_DIR/V8PluginArray.cpp',
'$DERIVED_DIR/V8Plugin.cpp', '$DERIVED_DIR/V8Plugin.cpp',
'$DERIVED_DIR/V8OverflowEvent.cpp', '$DERIVED_DIR/V8OverflowEvent.cpp',
'$DERIVED_DIR/V8Notation.cpp', '$DERIVED_DIR/V8Notation.cpp',
'$DERIVED_DIR/V8NodeList.cpp', '$DERIVED_DIR/V8NodeList.cpp',
'$DERIVED_DIR/V8NodeIterator.cpp', '$DERIVED_DIR/V8NodeIterator.cpp',
'$DERIVED_DIR/V8NodeFilter.cpp', '$DERIVED_DIR/V8NodeFilter.cpp',
'$DERIVED_DIR/V8Node.cpp', '$DERIVED_DIR/V8Node.cpp',
'$DERIVED_DIR/V8Navigator.cpp', '$DERIVED_DIR/V8Navigator.cpp',
'$DERIVED_DIR/V8NamedNodeMap.cpp', '$DERIVED_DIR/V8NamedNodeMap.cpp',
'$DERIVED_DIR/V8MutationEvent.cpp', '$DERIVED_DIR/V8MutationEvent.cpp',
'$DERIVED_DIR/V8MouseEvent.cpp', '$DERIVED_DIR/V8MouseEvent.cpp',
'$DERIVED_DIR/V8MessageEvent.cpp', '$DERIVED_DIR/V8MessageEvent.cpp',
'$DERIVED_DIR/V8MediaList.cpp', '$DERIVED_DIR/V8MediaList.cpp',
'$DERIVED_DIR/V8Location.cpp', '$DERIVED_DIR/V8Location.cpp',
'$DERIVED_DIR/V8KeyboardEvent.cpp', '$DERIVED_DIR/V8KeyboardEvent.cpp',
'$DERIVED_DIR/V8InspectorController.cpp', '$DERIVED_DIR/V8InspectorController.cpp',
'$DERIVED_DIR/V8HTMLUListElement.cpp', '$DERIVED_DIR/V8HTMLUListElement.cpp',
'$DERIVED_DIR/V8HTMLTitleElement.cpp', '$DERIVED_DIR/V8HTMLTitleElement.cpp',
'$DERIVED_DIR/V8HTMLTextAreaElement.cpp', '$DERIVED_DIR/V8HTMLTextAreaElement.cpp',
'$DERIVED_DIR/V8HTMLTableSectionElement.cpp', '$DERIVED_DIR/V8HTMLTableSectionElement.cpp',
'$DERIVED_DIR/V8HTMLTableRowElement.cpp', '$DERIVED_DIR/V8HTMLTableRowElement.cpp',
'$DERIVED_DIR/V8HTMLTableElement.cpp', '$DERIVED_DIR/V8HTMLTableElement.cpp',
'$DERIVED_DIR/V8HTMLTableColElement.cpp', '$DERIVED_DIR/V8HTMLTableColElement.cpp',
'$DERIVED_DIR/V8HTMLTableCellElement.cpp', '$DERIVED_DIR/V8HTMLTableCellElement.cpp',
'$DERIVED_DIR/V8HTMLTableCaptionElement.cpp', '$DERIVED_DIR/V8HTMLTableCaptionElement.cpp',
'$DERIVED_DIR/V8HTMLStyleElement.cpp', '$DERIVED_DIR/V8HTMLStyleElement.cpp',
'$DERIVED_DIR/V8HTMLSelectionInputElement.cpp', '$DERIVED_DIR/V8HTMLSelectionInputElement.cpp',
'$DERIVED_DIR/V8HTMLSelectElement.cpp', '$DERIVED_DIR/V8HTMLSelectElement.cpp',
'$DERIVED_DIR/V8HTMLScriptElement.cpp', '$DERIVED_DIR/V8HTMLScriptElement.cpp',
'$DERIVED_DIR/V8HTMLQuoteElement.cpp', '$DERIVED_DIR/V8HTMLQuoteElement.cpp',
'$DERIVED_DIR/V8HTMLPreElement.cpp', '$DERIVED_DIR/V8HTMLPreElement.cpp',
'$DERIVED_DIR/V8HTMLParamElement.cpp', '$DERIVED_DIR/V8HTMLParamElement.cpp',
'$DERIVED_DIR/V8HTMLParagraphElement.cpp', '$DERIVED_DIR/V8HTMLParagraphElement.cpp',
'$DERIVED_DIR/V8HTMLOptionsCollection.cpp', '$DERIVED_DIR/V8HTMLOptionsCollection.cpp',
'$DERIVED_DIR/V8HTMLOptionElement.cpp', '$DERIVED_DIR/V8HTMLOptionElement.cpp',
'$DERIVED_DIR/V8HTMLOptGroupElement.cpp', '$DERIVED_DIR/V8HTMLOptGroupElement.cpp',
'$DERIVED_DIR/V8HTMLOListElement.cpp', '$DERIVED_DIR/V8HTMLOListElement.cpp',
'$DERIVED_DIR/V8HTMLObjectElement.cpp', '$DERIVED_DIR/V8HTMLObjectElement.cpp',
'$DERIVED_DIR/V8HTMLModElement.cpp', '$DERIVED_DIR/V8HTMLModElement.cpp',
'$DERIVED_DIR/V8HTMLMetaElement.cpp', '$DERIVED_DIR/V8HTMLMetaElement.cpp',
'$DERIVED_DIR/V8HTMLMenuElement.cpp', '$DERIVED_DIR/V8HTMLMenuElement.cpp',
'$DERIVED_DIR/V8HTMLMarqueeElement.cpp', '$DERIVED_DIR/V8HTMLMarqueeElement.cpp',
'$DERIVED_DIR/V8HTMLMapElement.cpp', '$DERIVED_DIR/V8HTMLMapElement.cpp',
'$DERIVED_DIR/V8HTMLLinkElement.cpp', '$DERIVED_DIR/V8HTMLLinkElement.cpp',
'$DERIVED_DIR/V8HTMLLIElement.cpp', '$DERIVED_DIR/V8HTMLLIElement.cpp',
'$DERIVED_DIR/V8HTMLLegendElement.cpp', '$DERIVED_DIR/V8HTMLLegendElement.cpp',
'$DERIVED_DIR/V8HTMLLabelElement.cpp', '$DERIVED_DIR/V8HTMLLabelElement.cpp',
'$DERIVED_DIR/V8HTMLIsIndexElement.cpp', '$DERIVED_DIR/V8HTMLIsIndexElement.cpp',
'$DERIVED_DIR/V8HTMLInputElement.cpp', '$DERIVED_DIR/V8HTMLInputElement.cpp',
'$DERIVED_DIR/V8HTMLImageElement.cpp', '$DERIVED_DIR/V8HTMLImageElement.cpp',
'$DERIVED_DIR/V8HTMLIFrameElement.cpp', '$DERIVED_DIR/V8HTMLIFrameElement.cpp',
'$DERIVED_DIR/V8HTMLHtmlElement.cpp', '$DERIVED_DIR/V8HTMLHtmlElement.cpp',
'$DERIVED_DIR/V8HTMLHRElement.cpp', '$DERIVED_DIR/V8HTMLHRElement.cpp',
'$DERIVED_DIR/V8HTMLHeadingElement.cpp', '$DERIVED_DIR/V8HTMLHeadingElement.cpp',
'$DERIVED_DIR/V8HTMLHeadElement.cpp', '$DERIVED_DIR/V8HTMLHeadElement.cpp',
'$DERIVED_DIR/V8HTMLFrameSetElement.cpp', '$DERIVED_DIR/V8HTMLFrameSetElement.cpp',
'$DERIVED_DIR/V8HTMLFrameElement.cpp', '$DERIVED_DIR/V8HTMLFrameElement.cpp',
'$DERIVED_DIR/V8HTMLFormElement.cpp', '$DERIVED_DIR/V8HTMLFormElement.cpp',
'$DERIVED_DIR/V8HTMLFontElement.cpp', '$DERIVED_DIR/V8HTMLFontElement.cpp',
'$DERIVED_DIR/V8HTMLFieldSetElement.cpp', '$DERIVED_DIR/V8HTMLFieldSetElement.cpp',
'$DERIVED_DIR/V8HTMLEmbedElement.cpp', '$DERIVED_DIR/V8HTMLEmbedElement.cpp',
'$DERIVED_DIR/V8HTMLElement.cpp', '$DERIVED_DIR/V8HTMLElement.cpp',
'$DERIVED_DIR/V8HTMLDocument.cpp', '$DERIVED_DIR/V8HTMLDocument.cpp',
'$DERIVED_DIR/V8HTMLDListElement.cpp', '$DERIVED_DIR/V8HTMLDListElement.cpp',
'$DERIVED_DIR/V8HTMLDivElement.cpp', '$DERIVED_DIR/V8HTMLDivElement.cpp',
'$DERIVED_DIR/V8HTMLDirectoryElement.cpp', '$DERIVED_DIR/V8HTMLDirectoryElement.cpp',
'$DERIVED_DIR/V8HTMLCollection.cpp', '$DERIVED_DIR/V8HTMLCollection.cpp',
'$DERIVED_DIR/V8HTMLCanvasElement.cpp', '$DERIVED_DIR/V8HTMLCanvasElement.cpp',
'$DERIVED_DIR/V8HTMLButtonElement.cpp', '$DERIVED_DIR/V8HTMLButtonElement.cpp',
'$DERIVED_DIR/V8HTMLBRElement.cpp', '$DERIVED_DIR/V8HTMLBRElement.cpp',
'$DERIVED_DIR/V8HTMLBodyElement.cpp', '$DERIVED_DIR/V8HTMLBodyElement.cpp',
'$DERIVED_DIR/V8HTMLBlockquoteElement.cpp', '$DERIVED_DIR/V8HTMLBlockquoteElement.cpp',
'$DERIVED_DIR/V8HTMLBaseFontElement.cpp', '$DERIVED_DIR/V8HTMLBaseFontElement.cpp',
'$DERIVED_DIR/V8HTMLBaseElement.cpp', '$DERIVED_DIR/V8HTMLBaseElement.cpp',
'$DERIVED_DIR/V8HTMLAreaElement.cpp', '$DERIVED_DIR/V8HTMLAreaElement.cpp',
'$DERIVED_DIR/V8HTMLAppletElement.cpp', '$DERIVED_DIR/V8HTMLAppletElement.cpp',
'$DERIVED_DIR/V8HTMLAnchorElement.cpp', '$DERIVED_DIR/V8HTMLAnchorElement.cpp',
'$DERIVED_DIR/V8History.cpp', '$DERIVED_DIR/V8History.cpp',
'$DERIVED_DIR/V8EventTargetNode.cpp', '$DERIVED_DIR/V8EventTargetNode.cpp',
'$DERIVED_DIR/V8EventException.cpp', '$DERIVED_DIR/V8EventException.cpp',
'$DERIVED_DIR/V8Event.cpp', '$DERIVED_DIR/V8Event.cpp',
'$DERIVED_DIR/V8EntityReference.cpp', '$DERIVED_DIR/V8EntityReference.cpp',
'$DERIVED_DIR/V8Entity.cpp', '$DERIVED_DIR/V8Entity.cpp',
'$DERIVED_DIR/V8Element.cpp', '$DERIVED_DIR/V8Element.cpp',
'$DERIVED_DIR/V8DOMWindow.cpp', '$DERIVED_DIR/V8DOMWindow.cpp',
'$DERIVED_DIR/V8DOMSelection.cpp', '$DERIVED_DIR/V8DOMSelection.cpp',
'$DERIVED_DIR/V8DOMParser.cpp', '$DERIVED_DIR/V8DOMParser.cpp',
'$DERIVED_DIR/V8DOMImplementation.cpp', '$DERIVED_DIR/V8DOMImplementation.cpp',
'$DERIVED_DIR/V8DOMCoreException.cpp', '$DERIVED_DIR/V8DOMCoreException.cpp',
'$DERIVED_DIR/V8DocumentType.cpp', '$DERIVED_DIR/V8DocumentType.cpp',
'$DERIVED_DIR/V8DocumentFragment.cpp', '$DERIVED_DIR/V8DocumentFragment.cpp',
'$DERIVED_DIR/V8Document.cpp', '$DERIVED_DIR/V8Document.cpp',
'$DERIVED_DIR/V8CSSValueList.cpp', '$DERIVED_DIR/V8CSSValueList.cpp',
'$DERIVED_DIR/V8CSSValue.cpp', '$DERIVED_DIR/V8CSSValue.cpp',
'$DERIVED_DIR/V8CSSStyleSheet.cpp', '$DERIVED_DIR/V8CSSStyleSheet.cpp',
'$DERIVED_DIR/V8CSSStyleRule.cpp', '$DERIVED_DIR/V8CSSStyleRule.cpp',
'$DERIVED_DIR/V8CSSStyleDeclaration.cpp', '$DERIVED_DIR/V8CSSStyleDeclaration.cpp',
'$DERIVED_DIR/V8CSSRuleList.cpp', '$DERIVED_DIR/V8CSSRuleList.cpp',
'$DERIVED_DIR/V8CSSRule.cpp', '$DERIVED_DIR/V8CSSRule.cpp',
'$DERIVED_DIR/V8CSSPrimitiveValue.cpp', '$DERIVED_DIR/V8CSSPrimitiveValue.cpp',
'$DERIVED_DIR/V8CSSPageRule.cpp', '$DERIVED_DIR/V8CSSPageRule.cpp',
'$DERIVED_DIR/V8CSSMediaRule.cpp', '$DERIVED_DIR/V8CSSMediaRule.cpp',
'$DERIVED_DIR/V8CSSImportRule.cpp', '$DERIVED_DIR/V8CSSImportRule.cpp',
'$DERIVED_DIR/V8CSSFontFaceRule.cpp', '$DERIVED_DIR/V8CSSFontFaceRule.cpp',
'$DERIVED_DIR/V8CSSCharsetRule.cpp', '$DERIVED_DIR/V8CSSCharsetRule.cpp',
'$DERIVED_DIR/V8Counter.cpp', '$DERIVED_DIR/V8Counter.cpp',
'$DERIVED_DIR/V8Console.cpp', '$DERIVED_DIR/V8Console.cpp',
'$DERIVED_DIR/V8Comment.cpp', '$DERIVED_DIR/V8Comment.cpp',
'$DERIVED_DIR/V8Clipboard.cpp', '$DERIVED_DIR/V8Clipboard.cpp',
'$DERIVED_DIR/V8CharacterData.cpp', '$DERIVED_DIR/V8CharacterData.cpp',
'$DERIVED_DIR/V8CDATASection.cpp', '$DERIVED_DIR/V8CDATASection.cpp',
'$DERIVED_DIR/V8CanvasRenderingContext2D.cpp', '$DERIVED_DIR/V8CanvasRenderingContext2D.cpp',
'$DERIVED_DIR/V8CanvasPattern.cpp', '$DERIVED_DIR/V8CanvasPattern.cpp',
'$DERIVED_DIR/V8CanvasGradient.cpp', '$DERIVED_DIR/V8CanvasGradient.cpp',
'$DERIVED_DIR/V8BarInfo.cpp', '$DERIVED_DIR/V8BarInfo.cpp',
'$DERIVED_DIR/V8Attr.cpp', '$DERIVED_DIR/V8Attr.cpp',
'$DERIVED_DIR/UserAgentStyleSheetsData.cpp', '$DERIVED_DIR/UserAgentStyleSheetsData.cpp',
'$DERIVED_DIR/SVGNames.cpp', '$DERIVED_DIR/SVGNames.cpp',
'$DERIVED_DIR/SVGElementFactory.cpp', '$DERIVED_DIR/SVGElementFactory.cpp',
'$DERIVED_DIR/HTMLNames.cpp', '$DERIVED_DIR/HTMLNames.cpp',
] ]
env.ChromeStaticLibrary('V8Bindings', inputs) env.ChromeStaticLibrary('V8Bindings', inputs)

File diff suppressed because it is too large Load Diff

@ -1,58 +1,58 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import(['env', 'env_res']) Import(['env', 'env_res'])
env = env.Clone() env = env.Clone()
env_res = env_res.Clone() env_res = env_res.Clone()
env_res.Append( env_res.Append(
CPPPATH = [ CPPPATH = [
".", ".",
#"#/../chrome/Debug/obj/chrome_dll", #"#/../chrome/Debug/obj/chrome_dll",
"#/..", "#/..",
#"#/../chrome/Debug/obj", #"#/../chrome/Debug/obj",
], ],
RCFLAGS = [ RCFLAGS = [
["/l", "0x409"], ["/l", "0x409"],
], ],
) )
import os import os
import sys import sys
sys.path.append(Dir('#/../tools/grit').abspath) sys.path.append(Dir('#/../tools/grit').abspath)
env_grd = env.Clone() env_grd = env.Clone()
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit']) env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
# This dummy target (webkit_strings) is used to tell the emitter where # This dummy target (webkit_strings) is used to tell the emitter where
# to put the target files. # to put the target files.
generated = env_grd.GRIT('webkit_strings', generated = env_grd.GRIT('webkit_strings',
'#/../webkit/glue/webkit_strings.grd') '#/../webkit/glue/webkit_strings.grd')
for g in [ g for g in generated if str(g).endswith('.rc') ]: for g in [ g for g in generated if str(g).endswith('.rc') ]:
env_res.RES(g) env_res.RES(g)

File diff suppressed because it is too large Load Diff

@ -1,68 +1,68 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Prepend( env.Prepend(
CPPPATH = [ CPPPATH = [
'#/../webkit/glue', '#/../webkit/glue',
'$ICU38/public/common', '$ICU38/public/common',
'$ICU38/public/i18n', '$ICU38/public/i18n',
'#/../third_party/libxml/include', '#/../third_party/libxml/include',
'#/../third_party/npapi', '#/../third_party/npapi',
'#/..', '#/..',
], ],
) )
env.Append( env.Append(
CPPDEFINES = [ CPPDEFINES = [
'U_STATIC_IMPLEMENTATION', 'U_STATIC_IMPLEMENTATION',
'LIBXML_STATIC', 'LIBXML_STATIC',
], ],
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', '/WX',
'/Wp64', '/Wp64',
], ],
) )
input_files = [ input_files = [
'activex_installer.cc', 'activex_installer.cc',
'default_plugin.cc', 'default_plugin.cc',
'plugin_main.cc', 'plugin_main.cc',
'plugin_impl.cc', 'plugin_impl.cc',
'plugin_database_handler.cc', 'plugin_database_handler.cc',
'plugin_install_job_monitor.cc', 'plugin_install_job_monitor.cc',
'install_dialog.cc', 'install_dialog.cc',
] ]
env.ChromeStaticLibrary('default_plugin', input_files) env.ChromeStaticLibrary('default_plugin', input_files)

@ -1,107 +1,107 @@
# Copyright 2008, Google Inc. # Copyright 2008, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
# #
# * Redistributions of source code must retain the above copyright # * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above # * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer # copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the # in the documentation and/or other materials provided with the
# distribution. # distribution.
# * Neither the name of Google Inc. nor the names of its # * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from # contributors may be used to endorse or promote products derived from
# this software without specific prior written permission. # this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.Append( env.Append(
CCFLAGS = [ CCFLAGS = [
'/TP', '/TP',
'/WX', '/WX',
'/wd4800', '/wd4800',
], ],
) )
input_files = [ input_files = [
'$PENDING_DIR/AccessibleBase.cpp', '$PENDING_DIR/AccessibleBase.cpp',
'$PENDING_DIR/AccessibleDocument.cpp', '$PENDING_DIR/AccessibleDocument.cpp',
'alt_404_page_resource_fetcher.cc', 'alt_404_page_resource_fetcher.cc',
'alt_error_page_resource_fetcher.cc', 'alt_error_page_resource_fetcher.cc',
'autocomplete_input_listener.cc', 'autocomplete_input_listener.cc',
'cache_manager.cc', 'cache_manager.cc',
'chrome_client_impl.cc', 'chrome_client_impl.cc',
'context_menu_client_impl.cc', 'context_menu_client_impl.cc',
'cpp_binding_example.cc', 'cpp_binding_example.cc',
'cpp_bound_class.cc', 'cpp_bound_class.cc',
'cpp_variant.cc', 'cpp_variant.cc',
'debugger.cc', 'debugger.cc',
'dom_operations.cc', 'dom_operations.cc',
'dom_serializer.cc', 'dom_serializer.cc',
'dragclient_impl.cc', 'dragclient_impl.cc',
'editor_client_impl.cc', 'editor_client_impl.cc',
'entity_map.cc', 'entity_map.cc',
'event_conversion.cc', 'event_conversion.cc',
'feed_preview.cc', 'feed_preview.cc',
'glue_serialize.cc', 'glue_serialize.cc',
'glue_util.cc', 'glue_util.cc',
'image_decoder.cc', 'image_decoder.cc',
'image_resource_fetcher.cc', 'image_resource_fetcher.cc',
'inspector_client_impl.cc', 'inspector_client_impl.cc',
'localized_strings.cc', 'localized_strings.cc',
'multipart_response_delegate.cc', 'multipart_response_delegate.cc',
'npruntime_util.cc', 'npruntime_util.cc',
'password_autocomplete_listener.cc', 'password_autocomplete_listener.cc',
'password_form_dom_manager.cc', 'password_form_dom_manager.cc',
'plugins/mozilla_extensions.cc', 'plugins/mozilla_extensions.cc',
'plugins/plugin_data_stream.cc', 'plugins/plugin_data_stream.cc',
'plugins/plugin_host.cc', 'plugins/plugin_host.cc',
'plugins/plugin_instance.cc', 'plugins/plugin_instance.cc',
'plugins/plugin_lib.cc', 'plugins/plugin_lib.cc',
'plugins/plugin_list.cc', 'plugins/plugin_list.cc',
'plugins/plugin_stream.cc', 'plugins/plugin_stream.cc',
'plugins/plugin_stream_url.cc', 'plugins/plugin_stream_url.cc',
'plugins/plugin_string_stream.cc', 'plugins/plugin_string_stream.cc',
'plugins/webplugin_delegate_impl.cc', 'plugins/webplugin_delegate_impl.cc',
'resource_fetcher.cc', 'resource_fetcher.cc',
'resource_handle_win.cc', 'resource_handle_win.cc',
'searchable_form_data.cc', 'searchable_form_data.cc',
'simple_clipboard_impl.cc', 'simple_clipboard_impl.cc',
'webcursor.cc', 'webcursor.cc',
'webdatasource_impl.cc', 'webdatasource_impl.cc',
'webdocumentloader_impl.cc', 'webdocumentloader_impl.cc',
'webdropdata.cc', 'webdropdata.cc',
'weberror_impl.cc', 'weberror_impl.cc',
'webframe_impl.cc', 'webframe_impl.cc',
'webframeloaderclient_impl.cc', 'webframeloaderclient_impl.cc',
'webhistoryitem_impl.cc', 'webhistoryitem_impl.cc',
'webinputevent.cc', 'webinputevent.cc',
'webkit_glue.cc', 'webkit_glue.cc',
'webplugin_impl.cc', 'webplugin_impl.cc',
'webtextinput_impl.cc', 'webtextinput_impl.cc',
'weburlrequest_impl.cc', 'weburlrequest_impl.cc',
'webview_impl.cc', 'webview_impl.cc',
'webwidget_impl.cc', 'webwidget_impl.cc',
] ]
env.ChromeStaticLibrary('Glue', input_files) env.ChromeStaticLibrary('Glue', input_files)