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:
breakpad
chrome
SConscript
app
browser
common
installer
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
tools
views
google_update
net
rlz
sandbox/src
skia
third_party
bsdiff
bspatch
bzip2
libjpeg
libpng
libxml
libxslt
lzma_sdk
modp_b64
zlib
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.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'src',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
sender_input_files = [
|
||||
'src/client/windows/sender/crash_report_sender.cc',
|
||||
'src/common/windows/http_upload.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('breakpad_sender', sender_input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
handler_input_files = [
|
||||
'src/client/windows/crash_generation/client_info.cc',
|
||||
'src/client/windows/crash_generation/minidump_generator.cc',
|
||||
'src/common/windows/guid_string.cc',
|
||||
'src/client/windows/handler/exception_handler.cc',
|
||||
'src/client/windows/crash_generation/crash_generation_server.cc',
|
||||
'src/client/windows/crash_generation/crash_generation_client.cc',
|
||||
]
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
handler_input_files = [
|
||||
'src/common/linux/guid_creator.cc',
|
||||
'src/client/linux/handler/exception_handler.cc',
|
||||
'src/client/linux/handler/minidump_generator.cc',
|
||||
'src/client/linux/handler/linux_thread.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('breakpad_handler', handler_input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'src',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
sender_input_files = [
|
||||
'src/client/windows/sender/crash_report_sender.cc',
|
||||
'src/common/windows/http_upload.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('breakpad_sender', sender_input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
handler_input_files = [
|
||||
'src/client/windows/crash_generation/client_info.cc',
|
||||
'src/client/windows/crash_generation/minidump_generator.cc',
|
||||
'src/common/windows/guid_string.cc',
|
||||
'src/client/windows/handler/exception_handler.cc',
|
||||
'src/client/windows/crash_generation/crash_generation_server.cc',
|
||||
'src/client/windows/crash_generation/crash_generation_client.cc',
|
||||
]
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
handler_input_files = [
|
||||
'src/common/linux/guid_creator.cc',
|
||||
'src/client/linux/handler/exception_handler.cc',
|
||||
'src/client/linux/handler/minidump_generator.cc',
|
||||
'src/client/linux/handler/linux_thread.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('breakpad_handler', handler_input_files)
|
||||
|
@ -1,460 +1,460 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import os
|
||||
|
||||
Import(['env'])
|
||||
|
||||
env_res = env.Clone()
|
||||
env_test = env.Clone()
|
||||
env = env.Clone()
|
||||
|
||||
install_targets = []
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'app',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
browser_res = env_res.RES('browser/browser_resources.rc')
|
||||
chrome_dll_res = env_res.RES('app/chrome_dll.rc')
|
||||
common_res = env_res.RES('common/common_resources.rc')
|
||||
debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc')
|
||||
renderer_res = env_res.RES('renderer/renderer_resources.rc')
|
||||
test_data_res = env_res.RES('test/data/resource.rc')
|
||||
webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc')
|
||||
|
||||
net_res = '$NET_DIR/net_resources.res'
|
||||
|
||||
dll_resources = [
|
||||
browser_res,
|
||||
chrome_dll_res,
|
||||
common_res,
|
||||
debugger_res,
|
||||
net_res,
|
||||
renderer_res,
|
||||
webkit_res,
|
||||
]
|
||||
|
||||
env_test['BROWSER_RES'] = browser_res[0]
|
||||
env_test['TEST_DATA_RES'] = test_data_res[0]
|
||||
|
||||
env_dll = env.Clone()
|
||||
|
||||
env_dll.Prepend(
|
||||
CPPPATH = [
|
||||
"..",
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
'_WINDLL',
|
||||
'BROWSER_DLL',
|
||||
'RENDERER_DLL',
|
||||
'PLUGIN_DLL',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
env_dll.Append(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app',
|
||||
'$LIBPNG_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBXSL_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'base_gfx',
|
||||
'breakpad_handler',
|
||||
'googleurl',
|
||||
'net',
|
||||
'skia',
|
||||
'bzip2',
|
||||
'icuuc',
|
||||
'libjpeg',
|
||||
'libpng',
|
||||
'libxml',
|
||||
'libxslt',
|
||||
'modp_b64',
|
||||
'zlib',
|
||||
|
||||
'activex_shim',
|
||||
'WTF',
|
||||
'V8Bindings',
|
||||
'WebCore',
|
||||
'default_plugin',
|
||||
'Glue',
|
||||
'JavaScriptCore_pcre',
|
||||
'Port',
|
||||
],
|
||||
)
|
||||
|
||||
env_dll.Append(
|
||||
LIBS = [
|
||||
'comctl32.lib',
|
||||
'dwmapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
'winmm.lib',
|
||||
'wsock32.lib',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"comdlg32.dll"',
|
||||
'/DELAYLOAD:"crypt32.dll"',
|
||||
'/DELAYLOAD:"cryptui.dll"',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"imagehlp.dll"',
|
||||
'/DELAYLOAD:"imm32.dll"',
|
||||
'/DELAYLOAD:"oleacc.dll"',
|
||||
'/DELAYLOAD:"oleaut32.dll"',
|
||||
'/DELAYLOAD:"psapi.dll"',
|
||||
'/DELAYLOAD:"urlmon.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/DELAYLOAD:"winhttp.dll"',
|
||||
'/DELAYLOAD:"wininet.dll"',
|
||||
'/DELAYLOAD:"winspool.drv"',
|
||||
'/DELAYLOAD:"ws2_32.dll"',
|
||||
'/DELAYLOAD:"wsock32.dll"',
|
||||
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/BASE:"0x01000000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/IMPLIB:${TARGETS[2]}',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'app/chrome_dll_main.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'browser/browser.lib',
|
||||
'browser/views/browser_views.lib',
|
||||
'browser/debugger/debugger.lib',
|
||||
'common/common.lib',
|
||||
'installer/util/util.lib',
|
||||
'libjscre.lib',
|
||||
'plugin/plugin.lib',
|
||||
'renderer/renderer.lib',
|
||||
'third_party/hunspell/hunspell.lib',
|
||||
'third_party/sqlite/sqlite.lib',
|
||||
'views/views.lib',
|
||||
'$V8_DIR/v8.lib',
|
||||
'$V8_DIR/snapshot-empty.obj',
|
||||
]
|
||||
|
||||
dll_targets = env_dll.ChromeSharedLibrary(['chrome',
|
||||
'chrome_dll.pdb',
|
||||
'chrome_dll.lib'],
|
||||
dll_resources + input_files + libs)
|
||||
|
||||
install_targets.extend(dll_targets)
|
||||
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(Dir('#/../tools/grit').abspath)
|
||||
env_grd = env.Clone()
|
||||
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
|
||||
# NOTE: generated_target is fake, to cause a different target.
|
||||
generated = env_grd.GRIT('app/resources/generated_target',
|
||||
'#/../chrome/app/generated_resources.grd')
|
||||
for g in [ g for g in generated if str(g).endswith('.rc') ]:
|
||||
env_res.RES(g)
|
||||
|
||||
|
||||
|
||||
def chrome_version_emitter(target, source, env):
|
||||
source.append('$CHROME_SRC_DIR/VERSION')
|
||||
source.append('$CHROME_SRC_DIR/BRANDING')
|
||||
return target, source
|
||||
|
||||
b = Builder(action = '$CHROME_VERSION_RC_COM',
|
||||
emitter = chrome_version_emitter)
|
||||
|
||||
env['BUILDERS']['ChromeVersionRC'] = b
|
||||
|
||||
env.Replace(
|
||||
CHROME_VERSION_RC_COM = '$VERSION_BAT $SOURCE $CHROME_SRC_DIR $PWD $TARGET',
|
||||
VERSION_BAT = File('#/../chrome/tools/build/win/version.bat'),
|
||||
CHROME_SRC_DIR = Dir('#/../chrome'),
|
||||
PWD = Dir('.'),
|
||||
)
|
||||
|
||||
chrome_exe_version_rc = env.ChromeVersionRC(
|
||||
'chrome_exe_version.rc',
|
||||
'app/chrome_exe_version.rc.version'
|
||||
)
|
||||
|
||||
chrome_dll_version_rc = env.ChromeVersionRC(
|
||||
'chrome_dll_version.rc',
|
||||
'app/chrome_dll_version.rc.version',
|
||||
)
|
||||
|
||||
Depends(chrome_dll_res, chrome_dll_version_rc)
|
||||
|
||||
chrome_exe_version_res = env_res.RES(chrome_exe_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_res)
|
||||
|
||||
install_targets.extend(chrome_dll_version_rc)
|
||||
install_targets.extend(chrome_dll_version_res)
|
||||
|
||||
|
||||
|
||||
env_exe = env.Clone()
|
||||
|
||||
env_exe.Prepend(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
LIBS = [
|
||||
'breakpad_handler',
|
||||
'sandbox',
|
||||
'base',
|
||||
'icuuc',
|
||||
],
|
||||
)
|
||||
|
||||
env_exe.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/IMPLIB:${TARGETS[2]}',
|
||||
],
|
||||
)
|
||||
|
||||
chrome_exe = env_exe.ChromeProgram(
|
||||
['chrome.exe',
|
||||
'chrome_exe.pdb',
|
||||
'chrome_exe_implib.lib'],
|
||||
[
|
||||
env_res.RES('app/chrome_exe.rc'),
|
||||
'app/breakpad.cc',
|
||||
'app/chrome_exe_main.cc',
|
||||
'app/google_update_client.cc',
|
||||
'app/google_update_settings.cc',
|
||||
|
||||
'common/common.lib',
|
||||
'$CHROME_DIR/chrome_dll.lib',
|
||||
]
|
||||
)
|
||||
|
||||
install_targets.extend(chrome_exe)
|
||||
env.Requires(chrome_exe[0], ['$TARGET_ROOT/chrome.dll',
|
||||
'$TARGET_ROOT/icudt38.dll',
|
||||
'$TARGET_ROOT/rlz.dll',
|
||||
'$TARGET_ROOT/First Run'])
|
||||
|
||||
env.Command('$TARGET_ROOT/First Run', '$CHROME_DIR/app/FirstRun',
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
# For release we want to run dependencies.py, may look something like:
|
||||
#env.AddPostAction('$TARGET_ROOT/chrome.exe',
|
||||
# '$PYTHON tools/build/win/dependencies.py $(TargetPath) chrome.exe.deps')
|
||||
|
||||
|
||||
env_snapshot = env.Clone()
|
||||
|
||||
env_snapshot.Prepend(
|
||||
CPPPATH = [
|
||||
'$V8_DIR/src',
|
||||
'$V8_DIR/src/pcre/jscre',
|
||||
'..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'ENABLE_DISASSEMBLER',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/wd4099',
|
||||
'/wd4355',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env_snapshot.ChromeStaticLibrary('snapshotv8', 'snapshot.cc')
|
||||
|
||||
env_snapshot.Command('snapshot.cc', '#/../v8/bin/debug/mksnapshot.exe',
|
||||
'$SOURCE $TARGET')
|
||||
|
||||
|
||||
|
||||
env_flat = env.Clone(
|
||||
BROWSER_RESOURCES = Dir('browser_resources'),
|
||||
HTML_INLINE = File('#/../chrome/tools/build/win/html_inline.py'),
|
||||
FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET',
|
||||
)
|
||||
|
||||
flats = [
|
||||
'about_memory',
|
||||
'about_version',
|
||||
'incognito_tab',
|
||||
'new_tab',
|
||||
'safe_browsing_malware_block',
|
||||
'safe_browsing_phishing_block',
|
||||
'ssl_error',
|
||||
]
|
||||
|
||||
flats_out = []
|
||||
for i in flats:
|
||||
flats_out += env_flat.Command(
|
||||
'$BROWSER_RESOURCES/' + i + '_flat.html',
|
||||
'browser/resources/' + i + '.html', '$FLATTEN_HTML_COM')
|
||||
|
||||
flats_out += env_flat.Command(
|
||||
'$BROWSER_RESOURCES/ssl_roadblock_flat.html',
|
||||
'browser/security/resources/ssl_roadblock.html', '$FLATTEN_HTML_COM')
|
||||
|
||||
env_flat.Depends(browser_res, flats_out)
|
||||
|
||||
|
||||
|
||||
env_test.Object('test/test_file_util.cc',
|
||||
CPPPATH=['..'] + env['CPPPATH'])
|
||||
|
||||
test_sconscript_files = [
|
||||
'SConscript.automated_ui_tests',
|
||||
'SConscript.unit_tests',
|
||||
'SConscript.ui_tests',
|
||||
]
|
||||
|
||||
env.SConscript(test_sconscript_files, exports=['env_test'])
|
||||
|
||||
|
||||
sconscript_files = [
|
||||
'app/resources/SConscript',
|
||||
'app/theme/SConscript',
|
||||
'browser/SConscript',
|
||||
'browser/views/SConscript',
|
||||
'common/SConscript',
|
||||
'installer/mini_installer/SConscript',
|
||||
'installer/setup/SConscript',
|
||||
'installer/util/SConscript',
|
||||
'plugin/SConscript',
|
||||
'renderer/SConscript',
|
||||
'test/activex_test_control/SConscript',
|
||||
'test/automation/SConscript',
|
||||
'test/chrome_plugin/SConscript',
|
||||
'test/interactive_ui/SConscript',
|
||||
'test/memory_test/SConscript',
|
||||
'test/mini_installer_test/SConscript',
|
||||
'test/page_cycler/SConscript',
|
||||
'test/plugin/SConscript',
|
||||
'test/reliability/SConscript',
|
||||
'test/security_tests/SConscript',
|
||||
'test/selenium/SConscript',
|
||||
'test/startup/SConscript',
|
||||
'test/tab_switching/SConscript',
|
||||
'tools/crash_service/SConscript',
|
||||
'tools/perf/flush_cache/SConscript',
|
||||
'tools/test/image_diff/SConscript',
|
||||
'third_party/hunspell/SConscript',
|
||||
'third_party/sqlite/SConscript',
|
||||
'views/SConscript',
|
||||
]
|
||||
|
||||
env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test'])
|
||||
|
||||
|
||||
env.InstallAs('libjscre.lib', '$WEBKIT_DIR/JavaScriptCore_pcre.lib')
|
||||
|
||||
|
||||
i = env.Install('$TARGET_ROOT', install_targets)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
gears_plugins = [
|
||||
'$GEARS_DIR/binaries/gears.dll',
|
||||
'$GEARS_DIR/binaries/gears.pdb',
|
||||
]
|
||||
|
||||
i = env.Install('$TARGET_ROOT/plugins/gears', gears_plugins)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
i = env.Command('$TARGET_ROOT/resources/inspector',
|
||||
'#/../webkit/port/page/inspector',
|
||||
Copy('$TARGET', '$SOURCE'),
|
||||
source_scanner=DirScanner)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
env.Alias('chrome', env.Alias('webkit'))
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import os
|
||||
|
||||
Import(['env'])
|
||||
|
||||
env_res = env.Clone()
|
||||
env_test = env.Clone()
|
||||
env = env.Clone()
|
||||
|
||||
install_targets = []
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'app',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
browser_res = env_res.RES('browser/browser_resources.rc')
|
||||
chrome_dll_res = env_res.RES('app/chrome_dll.rc')
|
||||
common_res = env_res.RES('common/common_resources.rc')
|
||||
debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc')
|
||||
renderer_res = env_res.RES('renderer/renderer_resources.rc')
|
||||
test_data_res = env_res.RES('test/data/resource.rc')
|
||||
webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc')
|
||||
|
||||
net_res = '$NET_DIR/net_resources.res'
|
||||
|
||||
dll_resources = [
|
||||
browser_res,
|
||||
chrome_dll_res,
|
||||
common_res,
|
||||
debugger_res,
|
||||
net_res,
|
||||
renderer_res,
|
||||
webkit_res,
|
||||
]
|
||||
|
||||
env_test['BROWSER_RES'] = browser_res[0]
|
||||
env_test['TEST_DATA_RES'] = test_data_res[0]
|
||||
|
||||
env_dll = env.Clone()
|
||||
|
||||
env_dll.Prepend(
|
||||
CPPPATH = [
|
||||
"..",
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
'_WINDLL',
|
||||
'BROWSER_DLL',
|
||||
'RENDERER_DLL',
|
||||
'PLUGIN_DLL',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
env_dll.Append(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app',
|
||||
'$LIBPNG_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBXSL_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'base_gfx',
|
||||
'breakpad_handler',
|
||||
'googleurl',
|
||||
'net',
|
||||
'skia',
|
||||
'bzip2',
|
||||
'icuuc',
|
||||
'libjpeg',
|
||||
'libpng',
|
||||
'libxml',
|
||||
'libxslt',
|
||||
'modp_b64',
|
||||
'zlib',
|
||||
|
||||
'activex_shim',
|
||||
'WTF',
|
||||
'V8Bindings',
|
||||
'WebCore',
|
||||
'default_plugin',
|
||||
'Glue',
|
||||
'JavaScriptCore_pcre',
|
||||
'Port',
|
||||
],
|
||||
)
|
||||
|
||||
env_dll.Append(
|
||||
LIBS = [
|
||||
'comctl32.lib',
|
||||
'dwmapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
'winmm.lib',
|
||||
'wsock32.lib',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"comdlg32.dll"',
|
||||
'/DELAYLOAD:"crypt32.dll"',
|
||||
'/DELAYLOAD:"cryptui.dll"',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"imagehlp.dll"',
|
||||
'/DELAYLOAD:"imm32.dll"',
|
||||
'/DELAYLOAD:"oleacc.dll"',
|
||||
'/DELAYLOAD:"oleaut32.dll"',
|
||||
'/DELAYLOAD:"psapi.dll"',
|
||||
'/DELAYLOAD:"urlmon.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/DELAYLOAD:"winhttp.dll"',
|
||||
'/DELAYLOAD:"wininet.dll"',
|
||||
'/DELAYLOAD:"winspool.drv"',
|
||||
'/DELAYLOAD:"ws2_32.dll"',
|
||||
'/DELAYLOAD:"wsock32.dll"',
|
||||
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/BASE:"0x01000000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/IMPLIB:${TARGETS[2]}',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'app/chrome_dll_main.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'browser/browser.lib',
|
||||
'browser/views/browser_views.lib',
|
||||
'browser/debugger/debugger.lib',
|
||||
'common/common.lib',
|
||||
'installer/util/util.lib',
|
||||
'libjscre.lib',
|
||||
'plugin/plugin.lib',
|
||||
'renderer/renderer.lib',
|
||||
'third_party/hunspell/hunspell.lib',
|
||||
'third_party/sqlite/sqlite.lib',
|
||||
'views/views.lib',
|
||||
'$V8_DIR/v8.lib',
|
||||
'$V8_DIR/snapshot-empty.obj',
|
||||
]
|
||||
|
||||
dll_targets = env_dll.ChromeSharedLibrary(['chrome',
|
||||
'chrome_dll.pdb',
|
||||
'chrome_dll.lib'],
|
||||
dll_resources + input_files + libs)
|
||||
|
||||
install_targets.extend(dll_targets)
|
||||
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(Dir('#/../tools/grit').abspath)
|
||||
env_grd = env.Clone()
|
||||
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
|
||||
# NOTE: generated_target is fake, to cause a different target.
|
||||
generated = env_grd.GRIT('app/resources/generated_target',
|
||||
'#/../chrome/app/generated_resources.grd')
|
||||
for g in [ g for g in generated if str(g).endswith('.rc') ]:
|
||||
env_res.RES(g)
|
||||
|
||||
|
||||
|
||||
def chrome_version_emitter(target, source, env):
|
||||
source.append('$CHROME_SRC_DIR/VERSION')
|
||||
source.append('$CHROME_SRC_DIR/BRANDING')
|
||||
return target, source
|
||||
|
||||
b = Builder(action = '$CHROME_VERSION_RC_COM',
|
||||
emitter = chrome_version_emitter)
|
||||
|
||||
env['BUILDERS']['ChromeVersionRC'] = b
|
||||
|
||||
env.Replace(
|
||||
CHROME_VERSION_RC_COM = '$VERSION_BAT $SOURCE $CHROME_SRC_DIR $PWD $TARGET',
|
||||
VERSION_BAT = File('#/../chrome/tools/build/win/version.bat'),
|
||||
CHROME_SRC_DIR = Dir('#/../chrome'),
|
||||
PWD = Dir('.'),
|
||||
)
|
||||
|
||||
chrome_exe_version_rc = env.ChromeVersionRC(
|
||||
'chrome_exe_version.rc',
|
||||
'app/chrome_exe_version.rc.version'
|
||||
)
|
||||
|
||||
chrome_dll_version_rc = env.ChromeVersionRC(
|
||||
'chrome_dll_version.rc',
|
||||
'app/chrome_dll_version.rc.version',
|
||||
)
|
||||
|
||||
Depends(chrome_dll_res, chrome_dll_version_rc)
|
||||
|
||||
chrome_exe_version_res = env_res.RES(chrome_exe_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_res)
|
||||
|
||||
install_targets.extend(chrome_dll_version_rc)
|
||||
install_targets.extend(chrome_dll_version_res)
|
||||
|
||||
|
||||
|
||||
env_exe = env.Clone()
|
||||
|
||||
env_exe.Prepend(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
LIBS = [
|
||||
'breakpad_handler',
|
||||
'sandbox',
|
||||
'base',
|
||||
'icuuc',
|
||||
],
|
||||
)
|
||||
|
||||
env_exe.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/IMPLIB:${TARGETS[2]}',
|
||||
],
|
||||
)
|
||||
|
||||
chrome_exe = env_exe.ChromeProgram(
|
||||
['chrome.exe',
|
||||
'chrome_exe.pdb',
|
||||
'chrome_exe_implib.lib'],
|
||||
[
|
||||
env_res.RES('app/chrome_exe.rc'),
|
||||
'app/breakpad.cc',
|
||||
'app/chrome_exe_main.cc',
|
||||
'app/google_update_client.cc',
|
||||
'app/google_update_settings.cc',
|
||||
|
||||
'common/common.lib',
|
||||
'$CHROME_DIR/chrome_dll.lib',
|
||||
]
|
||||
)
|
||||
|
||||
install_targets.extend(chrome_exe)
|
||||
env.Requires(chrome_exe[0], ['$TARGET_ROOT/chrome.dll',
|
||||
'$TARGET_ROOT/icudt38.dll',
|
||||
'$TARGET_ROOT/rlz.dll',
|
||||
'$TARGET_ROOT/First Run'])
|
||||
|
||||
env.Command('$TARGET_ROOT/First Run', '$CHROME_DIR/app/FirstRun',
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
# For release we want to run dependencies.py, may look something like:
|
||||
#env.AddPostAction('$TARGET_ROOT/chrome.exe',
|
||||
# '$PYTHON tools/build/win/dependencies.py $(TargetPath) chrome.exe.deps')
|
||||
|
||||
|
||||
env_snapshot = env.Clone()
|
||||
|
||||
env_snapshot.Prepend(
|
||||
CPPPATH = [
|
||||
'$V8_DIR/src',
|
||||
'$V8_DIR/src/pcre/jscre',
|
||||
'..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'ENABLE_DISASSEMBLER',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/wd4099',
|
||||
'/wd4355',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env_snapshot.ChromeStaticLibrary('snapshotv8', 'snapshot.cc')
|
||||
|
||||
env_snapshot.Command('snapshot.cc', '#/../v8/bin/debug/mksnapshot.exe',
|
||||
'$SOURCE $TARGET')
|
||||
|
||||
|
||||
|
||||
env_flat = env.Clone(
|
||||
BROWSER_RESOURCES = Dir('browser_resources'),
|
||||
HTML_INLINE = File('#/../chrome/tools/build/win/html_inline.py'),
|
||||
FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET',
|
||||
)
|
||||
|
||||
flats = [
|
||||
'about_memory',
|
||||
'about_version',
|
||||
'incognito_tab',
|
||||
'new_tab',
|
||||
'safe_browsing_malware_block',
|
||||
'safe_browsing_phishing_block',
|
||||
'ssl_error',
|
||||
]
|
||||
|
||||
flats_out = []
|
||||
for i in flats:
|
||||
flats_out += env_flat.Command(
|
||||
'$BROWSER_RESOURCES/' + i + '_flat.html',
|
||||
'browser/resources/' + i + '.html', '$FLATTEN_HTML_COM')
|
||||
|
||||
flats_out += env_flat.Command(
|
||||
'$BROWSER_RESOURCES/ssl_roadblock_flat.html',
|
||||
'browser/security/resources/ssl_roadblock.html', '$FLATTEN_HTML_COM')
|
||||
|
||||
env_flat.Depends(browser_res, flats_out)
|
||||
|
||||
|
||||
|
||||
env_test.Object('test/test_file_util.cc',
|
||||
CPPPATH=['..'] + env['CPPPATH'])
|
||||
|
||||
test_sconscript_files = [
|
||||
'SConscript.automated_ui_tests',
|
||||
'SConscript.unit_tests',
|
||||
'SConscript.ui_tests',
|
||||
]
|
||||
|
||||
env.SConscript(test_sconscript_files, exports=['env_test'])
|
||||
|
||||
|
||||
sconscript_files = [
|
||||
'app/resources/SConscript',
|
||||
'app/theme/SConscript',
|
||||
'browser/SConscript',
|
||||
'browser/views/SConscript',
|
||||
'common/SConscript',
|
||||
'installer/mini_installer/SConscript',
|
||||
'installer/setup/SConscript',
|
||||
'installer/util/SConscript',
|
||||
'plugin/SConscript',
|
||||
'renderer/SConscript',
|
||||
'test/activex_test_control/SConscript',
|
||||
'test/automation/SConscript',
|
||||
'test/chrome_plugin/SConscript',
|
||||
'test/interactive_ui/SConscript',
|
||||
'test/memory_test/SConscript',
|
||||
'test/mini_installer_test/SConscript',
|
||||
'test/page_cycler/SConscript',
|
||||
'test/plugin/SConscript',
|
||||
'test/reliability/SConscript',
|
||||
'test/security_tests/SConscript',
|
||||
'test/selenium/SConscript',
|
||||
'test/startup/SConscript',
|
||||
'test/tab_switching/SConscript',
|
||||
'tools/crash_service/SConscript',
|
||||
'tools/perf/flush_cache/SConscript',
|
||||
'tools/test/image_diff/SConscript',
|
||||
'third_party/hunspell/SConscript',
|
||||
'third_party/sqlite/SConscript',
|
||||
'views/SConscript',
|
||||
]
|
||||
|
||||
env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test'])
|
||||
|
||||
|
||||
env.InstallAs('libjscre.lib', '$WEBKIT_DIR/JavaScriptCore_pcre.lib')
|
||||
|
||||
|
||||
i = env.Install('$TARGET_ROOT', install_targets)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
gears_plugins = [
|
||||
'$GEARS_DIR/binaries/gears.dll',
|
||||
'$GEARS_DIR/binaries/gears.pdb',
|
||||
]
|
||||
|
||||
i = env.Install('$TARGET_ROOT/plugins/gears', gears_plugins)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
i = env.Command('$TARGET_ROOT/resources/inspector',
|
||||
'#/../webkit/port/page/inspector',
|
||||
Copy('$TARGET', '$SOURCE'),
|
||||
source_scanner=DirScanner)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
env.Alias('chrome', env.Alias('webkit'))
|
||||
|
@ -1,141 +1,141 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import(['env', 'env_res'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/../chrome/Debug/obj/chrome_dll',
|
||||
'#/..',
|
||||
'#/../chrome/Debug/obj',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
rc_files = [
|
||||
'locale_settings_ar.rc',
|
||||
'locale_settings_bg.rc',
|
||||
'locale_settings_ca.rc',
|
||||
'locale_settings_cs.rc',
|
||||
'locale_settings_da.rc',
|
||||
'locale_settings_de.rc',
|
||||
'locale_settings_el.rc',
|
||||
'locale_settings_en-GB.rc',
|
||||
'locale_settings_en-US.rc',
|
||||
'locale_settings_es-419.rc',
|
||||
'locale_settings_es.rc',
|
||||
'locale_settings_et.rc',
|
||||
'locale_settings_fi.rc',
|
||||
'locale_settings_fil.rc',
|
||||
'locale_settings_fr.rc',
|
||||
'locale_settings_he.rc',
|
||||
'locale_settings_hi.rc',
|
||||
'locale_settings_hr.rc',
|
||||
'locale_settings_hu.rc',
|
||||
'locale_settings_id.rc',
|
||||
'locale_settings_it.rc',
|
||||
'locale_settings_ja.rc',
|
||||
'locale_settings_ko.rc',
|
||||
'locale_settings_lt.rc',
|
||||
'locale_settings_lv.rc',
|
||||
'locale_settings_nb.rc',
|
||||
'locale_settings_nl.rc',
|
||||
'locale_settings_pl.rc',
|
||||
'locale_settings_pt-BR.rc',
|
||||
'locale_settings_pt-PT.rc',
|
||||
'locale_settings_ro.rc',
|
||||
'locale_settings_ru.rc',
|
||||
'locale_settings_sk.rc',
|
||||
'locale_settings_sl.rc',
|
||||
'locale_settings_sr.rc',
|
||||
'locale_settings_sv.rc',
|
||||
'locale_settings_th.rc',
|
||||
'locale_settings_tr.rc',
|
||||
'locale_settings_uk.rc',
|
||||
'locale_settings_vi.rc',
|
||||
'locale_settings_zh-CN.rc',
|
||||
'locale_settings_zh-TW.rc',
|
||||
]
|
||||
|
||||
|
||||
resources = []
|
||||
for rc in rc_files:
|
||||
resources.extend(env_res.RES(rc))
|
||||
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL:NO',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/NOENTRY',
|
||||
'/BASE:"0x3CF00000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
PDB = '${TARGET}.pdb',
|
||||
no_import_lib = True, # We don't need the .lib and .exp.
|
||||
)
|
||||
|
||||
import re
|
||||
extract_lang = re.compile(r'locale_settings_(.*)\.res')
|
||||
|
||||
locale_dlls = []
|
||||
|
||||
for locale_settings_res in resources:
|
||||
s = str(locale_settings_res)
|
||||
#lang = '$CHROME_DIR/locales/' + extract_lang.match(s).group(1)
|
||||
lang = extract_lang.match(s).group(1)
|
||||
g_r_res = s.replace('locale_settings', 'generated_resources')
|
||||
w_s_res = s.replace('locale_settings',
|
||||
'$WEBKIT_DIR/build/localized_strings/webkit_strings')
|
||||
dll = env.ChromeSharedLibrary(
|
||||
lang,
|
||||
[
|
||||
g_r_res,
|
||||
w_s_res,
|
||||
locale_settings_res,
|
||||
])
|
||||
|
||||
locale_dlls.append(dll)
|
||||
|
||||
i = env.Install('$TARGET_ROOT/locales/', locale_dlls)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import(['env', 'env_res'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/../chrome/Debug/obj/chrome_dll',
|
||||
'#/..',
|
||||
'#/../chrome/Debug/obj',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
rc_files = [
|
||||
'locale_settings_ar.rc',
|
||||
'locale_settings_bg.rc',
|
||||
'locale_settings_ca.rc',
|
||||
'locale_settings_cs.rc',
|
||||
'locale_settings_da.rc',
|
||||
'locale_settings_de.rc',
|
||||
'locale_settings_el.rc',
|
||||
'locale_settings_en-GB.rc',
|
||||
'locale_settings_en-US.rc',
|
||||
'locale_settings_es-419.rc',
|
||||
'locale_settings_es.rc',
|
||||
'locale_settings_et.rc',
|
||||
'locale_settings_fi.rc',
|
||||
'locale_settings_fil.rc',
|
||||
'locale_settings_fr.rc',
|
||||
'locale_settings_he.rc',
|
||||
'locale_settings_hi.rc',
|
||||
'locale_settings_hr.rc',
|
||||
'locale_settings_hu.rc',
|
||||
'locale_settings_id.rc',
|
||||
'locale_settings_it.rc',
|
||||
'locale_settings_ja.rc',
|
||||
'locale_settings_ko.rc',
|
||||
'locale_settings_lt.rc',
|
||||
'locale_settings_lv.rc',
|
||||
'locale_settings_nb.rc',
|
||||
'locale_settings_nl.rc',
|
||||
'locale_settings_pl.rc',
|
||||
'locale_settings_pt-BR.rc',
|
||||
'locale_settings_pt-PT.rc',
|
||||
'locale_settings_ro.rc',
|
||||
'locale_settings_ru.rc',
|
||||
'locale_settings_sk.rc',
|
||||
'locale_settings_sl.rc',
|
||||
'locale_settings_sr.rc',
|
||||
'locale_settings_sv.rc',
|
||||
'locale_settings_th.rc',
|
||||
'locale_settings_tr.rc',
|
||||
'locale_settings_uk.rc',
|
||||
'locale_settings_vi.rc',
|
||||
'locale_settings_zh-CN.rc',
|
||||
'locale_settings_zh-TW.rc',
|
||||
]
|
||||
|
||||
|
||||
resources = []
|
||||
for rc in rc_files:
|
||||
resources.extend(env_res.RES(rc))
|
||||
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL:NO',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/NOENTRY',
|
||||
'/BASE:"0x3CF00000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
PDB = '${TARGET}.pdb',
|
||||
no_import_lib = True, # We don't need the .lib and .exp.
|
||||
)
|
||||
|
||||
import re
|
||||
extract_lang = re.compile(r'locale_settings_(.*)\.res')
|
||||
|
||||
locale_dlls = []
|
||||
|
||||
for locale_settings_res in resources:
|
||||
s = str(locale_settings_res)
|
||||
#lang = '$CHROME_DIR/locales/' + extract_lang.match(s).group(1)
|
||||
lang = extract_lang.match(s).group(1)
|
||||
g_r_res = s.replace('locale_settings', 'generated_resources')
|
||||
w_s_res = s.replace('locale_settings',
|
||||
'$WEBKIT_DIR/build/localized_strings/webkit_strings')
|
||||
dll = env.ChromeSharedLibrary(
|
||||
lang,
|
||||
[
|
||||
g_r_res,
|
||||
w_s_res,
|
||||
locale_settings_res,
|
||||
])
|
||||
|
||||
locale_dlls.append(dll)
|
||||
|
||||
i = env.Install('$TARGET_ROOT/locales/', locale_dlls)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,72 +1,72 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res')
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
res = env_res.RES('theme_resources.rc')
|
||||
|
||||
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL:NO',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/NOENTRY',
|
||||
'/BASE:"0x3CE00000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
themes_default = env.ChromeSharedLibrary("$CHROME_DIR/themes/default", res)
|
||||
|
||||
env.AddPostAction(themes_default[1], Touch(themes_default[1:]))
|
||||
|
||||
i = env.Install("$TARGET_ROOT/themes", themes_default)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res')
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
res = env_res.RES('theme_resources.rc')
|
||||
|
||||
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL:NO',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/NOENTRY',
|
||||
'/BASE:"0x3CE00000"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
themes_default = env.ChromeSharedLibrary("$CHROME_DIR/themes/default", res)
|
||||
|
||||
env.AddPostAction(themes_default[1], Touch(themes_default[1:]))
|
||||
|
||||
i = env.Install("$TARGET_ROOT/themes", themes_default)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,327 +1,327 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
#'$OBJ_ROOT/google_update',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'USE_HUNSPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
|
||||
'$GOOGLE_UPDATE_DIR',
|
||||
'$CHROME_DIR/third_party/hunspell/src/hunspell',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_internets_status_view.cc',
|
||||
'alternate_nav_url_fetcher.cc',
|
||||
'app_modal_dialog_queue.cc',
|
||||
'autocomplete/autocomplete.cc',
|
||||
'autocomplete/autocomplete_edit.cc',
|
||||
'autocomplete/autocomplete_popup.cc',
|
||||
'autocomplete/edit_drop_target.cc',
|
||||
'autocomplete/history_contents_provider.cc',
|
||||
'autocomplete/history_url_provider.cc',
|
||||
'autocomplete/keyword_provider.cc',
|
||||
'autocomplete/search_provider.cc',
|
||||
'automation/automation_provider.cc',
|
||||
'automation/automation_provider_list.cc',
|
||||
'automation/automation_resource_tracker.cc',
|
||||
'automation/ui_controls.cc',
|
||||
'automation/url_request_failed_dns_job.cc',
|
||||
'automation/url_request_mock_http_job.cc',
|
||||
'automation/url_request_mock_net_error_job.cc',
|
||||
'automation/url_request_slow_download_job.cc',
|
||||
'back_forward_menu_model.cc',
|
||||
'base_history_model.cc',
|
||||
'bookmark_bar_model.cc',
|
||||
'bookmark_codec.cc',
|
||||
'bookmark_storage.cc',
|
||||
'bookmark_drag_data.cc',
|
||||
'browser.cc',
|
||||
'browser_about_handler.cc',
|
||||
'browser_commands.cc',
|
||||
'browser_init.cc',
|
||||
'browser_list.cc',
|
||||
'browser_main.cc',
|
||||
'browser_prefs.cc',
|
||||
'browser_process.cc',
|
||||
'browser_process_impl.cc',
|
||||
'browser_shutdown.cc',
|
||||
'browser_url_handler.cc',
|
||||
'browsing_data_remover.cc',
|
||||
'browsing_instance.cc',
|
||||
'cache_manager_host.cc',
|
||||
'cancelable_request.cc',
|
||||
'cert_store.cc',
|
||||
'character_encoding.cc',
|
||||
'chrome_plugin_browsing_context.cc',
|
||||
'chrome_plugin_host.cc',
|
||||
'chrome_thread.cc',
|
||||
'controller.cc',
|
||||
'cross_site_request_manager.cc',
|
||||
'dom_ui/chrome_url_data_manager.cc',
|
||||
'dom_ui/dom_ui_host.cc',
|
||||
'dom_ui/html_dialog_contents.cc',
|
||||
'dom_ui/new_tab_ui.cc',
|
||||
'download_exe.cc',
|
||||
'download_file.cc',
|
||||
'download_item_model.cc',
|
||||
'download_manager.cc',
|
||||
'download_tab_view.cc',
|
||||
'download_util.cc',
|
||||
'drag_utils.cc',
|
||||
'encoding_menu_controller_delegate.cc',
|
||||
'encryptor.cc',
|
||||
'external_protocol_dialog.cc',
|
||||
'external_protocol_handler.cc',
|
||||
'external_tab_container.cc',
|
||||
'fav_icon_helper.cc',
|
||||
'find_in_page_controller.cc',
|
||||
'find_in_page_view.cc',
|
||||
'firefox2_importer.cc',
|
||||
'firefox3_importer.cc',
|
||||
'firefox_importer_utils.cc',
|
||||
'firefox_profile_lock.cc',
|
||||
'first_run.cc',
|
||||
'frame_util.cc',
|
||||
'frame_view.cc',
|
||||
'gears_integration.cc',
|
||||
'google_url_tracker.cc',
|
||||
'google_util.cc',
|
||||
'hang_monitor/hung_plugin_action.cc',
|
||||
'hang_monitor/hung_window_detector.cc',
|
||||
'history/archived_database.cc',
|
||||
'history/download_database.cc',
|
||||
'history/expire_history_backend.cc',
|
||||
'history/history.cc',
|
||||
'history/history_backend.cc',
|
||||
'history/history_database.cc',
|
||||
'history/history_types.cc',
|
||||
'history/in_memory_database.cc',
|
||||
'history/in_memory_history_backend.cc',
|
||||
'history/page_usage_data.cc',
|
||||
'history/query_parser.cc',
|
||||
'history/snippet.cc',
|
||||
'history/starred_url_database.cc',
|
||||
'history/text_database.cc',
|
||||
'history/text_database_manager.cc',
|
||||
'history/thumbnail_database.cc',
|
||||
'history/url_database.cc',
|
||||
'history/visit_database.cc',
|
||||
'history/visit_tracker.cc',
|
||||
'history/visitsegment_database.cc',
|
||||
'history_model.cc',
|
||||
'history_tab_ui.cc',
|
||||
'history_view.cc',
|
||||
'icon_loader.cc',
|
||||
'icon_manager.cc',
|
||||
'ie7_password.cc',
|
||||
'ie_importer.cc',
|
||||
'ime_input.cc',
|
||||
'importer.cc',
|
||||
'ipc_status_view.cc',
|
||||
'jankometer.cc',
|
||||
'js_before_unload_handler.cc',
|
||||
'jsmessage_box_handler.cc',
|
||||
'login_prompt.cc',
|
||||
'memory_details.cc',
|
||||
'meta_table_helper.cc',
|
||||
'metrics_log.cc',
|
||||
'metrics_response.cc',
|
||||
'metrics_service.cc',
|
||||
'modal_html_dialog_delegate.cc',
|
||||
'mork_reader.cc',
|
||||
'native_ui_contents.cc',
|
||||
'navigation_controller.cc',
|
||||
'navigation_controller_base.cc',
|
||||
'navigation_entry.cc',
|
||||
'navigation_performance_viewer.cc',
|
||||
'navigation_profiler.cc',
|
||||
'net/dns_global.cc',
|
||||
'net/dns_host_info.cc',
|
||||
'net/dns_master.cc',
|
||||
'net/dns_slave.cc',
|
||||
'network_status_view.cc',
|
||||
'google_update.cc',
|
||||
'page_info_window.cc',
|
||||
'page_load_tracker.cc',
|
||||
'page_state.cc',
|
||||
'password_form_manager.cc',
|
||||
'password_manager.cc',
|
||||
'plugin_installer.cc',
|
||||
'plugin_process_host.cc',
|
||||
'plugin_service.cc',
|
||||
'point_buffer.cc',
|
||||
'printing/page_number.cc',
|
||||
'printing/page_overlays.cc',
|
||||
'printing/page_range.cc',
|
||||
'printing/page_setup.cc',
|
||||
'printing/print_job.cc',
|
||||
'printing/print_job_manager.cc',
|
||||
'printing/print_job_worker.cc',
|
||||
'printing/print_settings.cc',
|
||||
'printing/print_view_manager.cc',
|
||||
'printing/printed_document.cc',
|
||||
'printing/printed_page.cc',
|
||||
'printing/printer_query.cc',
|
||||
'printing/units.cc',
|
||||
'printing/win_printing_context.cc',
|
||||
'profile.cc',
|
||||
'profile_manager.cc',
|
||||
'provisional_load_details.cc',
|
||||
'render_process_host.cc',
|
||||
'render_view_context_menu.cc',
|
||||
'render_view_context_menu_controller.cc',
|
||||
'render_view_host.cc',
|
||||
'render_view_host_manager.cc',
|
||||
'render_widget_helper.cc',
|
||||
'render_widget_host.cc',
|
||||
'render_widget_host_hwnd.cc',
|
||||
'renderer_security_policy.cc',
|
||||
'repost_Form_warning_dialog.cc',
|
||||
'resource_dispatcher_host.cc',
|
||||
'resource_message_filter.cc',
|
||||
'rlz/rlz.cc',
|
||||
'safe_browsing/bloom_filter.cc',
|
||||
'safe_browsing/chunk_range.cc',
|
||||
'safe_browsing/protocol_manager.cc',
|
||||
'safe_browsing/protocol_parser.cc',
|
||||
'safe_browsing/safe_browsing_blocking_page.cc',
|
||||
'safe_browsing/safe_browsing_database.cc',
|
||||
'safe_browsing/safe_browsing_service.cc',
|
||||
'safe_browsing/safe_browsing_util.cc',
|
||||
'sandbox_policy.cc',
|
||||
'save_file.cc',
|
||||
'save_file_manager.cc',
|
||||
'save_item.cc',
|
||||
'save_package.cc',
|
||||
'save_page_model.cc',
|
||||
'session_backend.cc',
|
||||
'session_crashed_view.cc',
|
||||
'session_restore.cc',
|
||||
'session_service.cc',
|
||||
'session_startup_pref.cc',
|
||||
'shell_integration.cc',
|
||||
'simple_vista_frame.cc',
|
||||
'simple_xp_frame.cc',
|
||||
'site_instance.cc',
|
||||
'spellcheck_worditerator.cc',
|
||||
'spellchecker.cc',
|
||||
'ssl_blocking_page.cc',
|
||||
'ssl_error_info.cc',
|
||||
'ssl_manager.cc',
|
||||
'ssl_policy.cc',
|
||||
'status_view.cc',
|
||||
'suspend_controller.cc',
|
||||
'tab_contents.cc',
|
||||
'tab_contents_container_view.cc',
|
||||
'tab_contents_factory.cc',
|
||||
'tab_restore_service.cc',
|
||||
'tab_util.cc',
|
||||
'tabs/dragged_tab_controller.cc',
|
||||
'tabs/dragged_tab_view.cc',
|
||||
'tabs/hwnd_photobooth.cc',
|
||||
'tabs/tab.cc',
|
||||
'tabs/tab_renderer.cc',
|
||||
'tabs/tab_strip.cc',
|
||||
'tabs/tab_strip_model.cc',
|
||||
'tabs/tab_strip_model_order_controller.cc',
|
||||
'task_manager.cc',
|
||||
'task_manager_resource_providers.cc',
|
||||
'template_url.cc',
|
||||
'template_url_fetcher.cc',
|
||||
'template_url_model.cc',
|
||||
'template_url_parser.cc',
|
||||
'template_url_prepopulate_data.cc',
|
||||
'title_chomper.cc',
|
||||
'toolbar_model.cc',
|
||||
'url_fetcher.cc',
|
||||
'url_fetcher_protect.cc',
|
||||
'url_fixer_upper.cc',
|
||||
'user_data_dir_dialog.cc',
|
||||
'user_metrics.cc',
|
||||
'view_source_contents.cc',
|
||||
'visitedlink_master.cc',
|
||||
'vista_frame.cc',
|
||||
'web_app.cc',
|
||||
'web_app_icon_manager.cc',
|
||||
'web_app_launcher.cc',
|
||||
'web_contents.cc',
|
||||
'web_drag_source.cc',
|
||||
'web_drop_target.cc',
|
||||
'webdata/web_data_service.cc',
|
||||
'webdata/web_database.cc',
|
||||
'window_clipping_info.cc',
|
||||
'window_sizer.cc',
|
||||
'wizard/wizard.cc',
|
||||
'xp_frame.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('browser', input_files)
|
||||
|
||||
|
||||
SConscript('debugger/SConscript', exports=['env'])
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
#'$OBJ_ROOT/google_update',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'USE_HUNSPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
|
||||
'$GOOGLE_UPDATE_DIR',
|
||||
'$CHROME_DIR/third_party/hunspell/src/hunspell',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_internets_status_view.cc',
|
||||
'alternate_nav_url_fetcher.cc',
|
||||
'app_modal_dialog_queue.cc',
|
||||
'autocomplete/autocomplete.cc',
|
||||
'autocomplete/autocomplete_edit.cc',
|
||||
'autocomplete/autocomplete_popup.cc',
|
||||
'autocomplete/edit_drop_target.cc',
|
||||
'autocomplete/history_contents_provider.cc',
|
||||
'autocomplete/history_url_provider.cc',
|
||||
'autocomplete/keyword_provider.cc',
|
||||
'autocomplete/search_provider.cc',
|
||||
'automation/automation_provider.cc',
|
||||
'automation/automation_provider_list.cc',
|
||||
'automation/automation_resource_tracker.cc',
|
||||
'automation/ui_controls.cc',
|
||||
'automation/url_request_failed_dns_job.cc',
|
||||
'automation/url_request_mock_http_job.cc',
|
||||
'automation/url_request_mock_net_error_job.cc',
|
||||
'automation/url_request_slow_download_job.cc',
|
||||
'back_forward_menu_model.cc',
|
||||
'base_history_model.cc',
|
||||
'bookmark_bar_model.cc',
|
||||
'bookmark_codec.cc',
|
||||
'bookmark_storage.cc',
|
||||
'bookmark_drag_data.cc',
|
||||
'browser.cc',
|
||||
'browser_about_handler.cc',
|
||||
'browser_commands.cc',
|
||||
'browser_init.cc',
|
||||
'browser_list.cc',
|
||||
'browser_main.cc',
|
||||
'browser_prefs.cc',
|
||||
'browser_process.cc',
|
||||
'browser_process_impl.cc',
|
||||
'browser_shutdown.cc',
|
||||
'browser_url_handler.cc',
|
||||
'browsing_data_remover.cc',
|
||||
'browsing_instance.cc',
|
||||
'cache_manager_host.cc',
|
||||
'cancelable_request.cc',
|
||||
'cert_store.cc',
|
||||
'character_encoding.cc',
|
||||
'chrome_plugin_browsing_context.cc',
|
||||
'chrome_plugin_host.cc',
|
||||
'chrome_thread.cc',
|
||||
'controller.cc',
|
||||
'cross_site_request_manager.cc',
|
||||
'dom_ui/chrome_url_data_manager.cc',
|
||||
'dom_ui/dom_ui_host.cc',
|
||||
'dom_ui/html_dialog_contents.cc',
|
||||
'dom_ui/new_tab_ui.cc',
|
||||
'download_exe.cc',
|
||||
'download_file.cc',
|
||||
'download_item_model.cc',
|
||||
'download_manager.cc',
|
||||
'download_tab_view.cc',
|
||||
'download_util.cc',
|
||||
'drag_utils.cc',
|
||||
'encoding_menu_controller_delegate.cc',
|
||||
'encryptor.cc',
|
||||
'external_protocol_dialog.cc',
|
||||
'external_protocol_handler.cc',
|
||||
'external_tab_container.cc',
|
||||
'fav_icon_helper.cc',
|
||||
'find_in_page_controller.cc',
|
||||
'find_in_page_view.cc',
|
||||
'firefox2_importer.cc',
|
||||
'firefox3_importer.cc',
|
||||
'firefox_importer_utils.cc',
|
||||
'firefox_profile_lock.cc',
|
||||
'first_run.cc',
|
||||
'frame_util.cc',
|
||||
'frame_view.cc',
|
||||
'gears_integration.cc',
|
||||
'google_url_tracker.cc',
|
||||
'google_util.cc',
|
||||
'hang_monitor/hung_plugin_action.cc',
|
||||
'hang_monitor/hung_window_detector.cc',
|
||||
'history/archived_database.cc',
|
||||
'history/download_database.cc',
|
||||
'history/expire_history_backend.cc',
|
||||
'history/history.cc',
|
||||
'history/history_backend.cc',
|
||||
'history/history_database.cc',
|
||||
'history/history_types.cc',
|
||||
'history/in_memory_database.cc',
|
||||
'history/in_memory_history_backend.cc',
|
||||
'history/page_usage_data.cc',
|
||||
'history/query_parser.cc',
|
||||
'history/snippet.cc',
|
||||
'history/starred_url_database.cc',
|
||||
'history/text_database.cc',
|
||||
'history/text_database_manager.cc',
|
||||
'history/thumbnail_database.cc',
|
||||
'history/url_database.cc',
|
||||
'history/visit_database.cc',
|
||||
'history/visit_tracker.cc',
|
||||
'history/visitsegment_database.cc',
|
||||
'history_model.cc',
|
||||
'history_tab_ui.cc',
|
||||
'history_view.cc',
|
||||
'icon_loader.cc',
|
||||
'icon_manager.cc',
|
||||
'ie7_password.cc',
|
||||
'ie_importer.cc',
|
||||
'ime_input.cc',
|
||||
'importer.cc',
|
||||
'ipc_status_view.cc',
|
||||
'jankometer.cc',
|
||||
'js_before_unload_handler.cc',
|
||||
'jsmessage_box_handler.cc',
|
||||
'login_prompt.cc',
|
||||
'memory_details.cc',
|
||||
'meta_table_helper.cc',
|
||||
'metrics_log.cc',
|
||||
'metrics_response.cc',
|
||||
'metrics_service.cc',
|
||||
'modal_html_dialog_delegate.cc',
|
||||
'mork_reader.cc',
|
||||
'native_ui_contents.cc',
|
||||
'navigation_controller.cc',
|
||||
'navigation_controller_base.cc',
|
||||
'navigation_entry.cc',
|
||||
'navigation_performance_viewer.cc',
|
||||
'navigation_profiler.cc',
|
||||
'net/dns_global.cc',
|
||||
'net/dns_host_info.cc',
|
||||
'net/dns_master.cc',
|
||||
'net/dns_slave.cc',
|
||||
'network_status_view.cc',
|
||||
'google_update.cc',
|
||||
'page_info_window.cc',
|
||||
'page_load_tracker.cc',
|
||||
'page_state.cc',
|
||||
'password_form_manager.cc',
|
||||
'password_manager.cc',
|
||||
'plugin_installer.cc',
|
||||
'plugin_process_host.cc',
|
||||
'plugin_service.cc',
|
||||
'point_buffer.cc',
|
||||
'printing/page_number.cc',
|
||||
'printing/page_overlays.cc',
|
||||
'printing/page_range.cc',
|
||||
'printing/page_setup.cc',
|
||||
'printing/print_job.cc',
|
||||
'printing/print_job_manager.cc',
|
||||
'printing/print_job_worker.cc',
|
||||
'printing/print_settings.cc',
|
||||
'printing/print_view_manager.cc',
|
||||
'printing/printed_document.cc',
|
||||
'printing/printed_page.cc',
|
||||
'printing/printer_query.cc',
|
||||
'printing/units.cc',
|
||||
'printing/win_printing_context.cc',
|
||||
'profile.cc',
|
||||
'profile_manager.cc',
|
||||
'provisional_load_details.cc',
|
||||
'render_process_host.cc',
|
||||
'render_view_context_menu.cc',
|
||||
'render_view_context_menu_controller.cc',
|
||||
'render_view_host.cc',
|
||||
'render_view_host_manager.cc',
|
||||
'render_widget_helper.cc',
|
||||
'render_widget_host.cc',
|
||||
'render_widget_host_hwnd.cc',
|
||||
'renderer_security_policy.cc',
|
||||
'repost_Form_warning_dialog.cc',
|
||||
'resource_dispatcher_host.cc',
|
||||
'resource_message_filter.cc',
|
||||
'rlz/rlz.cc',
|
||||
'safe_browsing/bloom_filter.cc',
|
||||
'safe_browsing/chunk_range.cc',
|
||||
'safe_browsing/protocol_manager.cc',
|
||||
'safe_browsing/protocol_parser.cc',
|
||||
'safe_browsing/safe_browsing_blocking_page.cc',
|
||||
'safe_browsing/safe_browsing_database.cc',
|
||||
'safe_browsing/safe_browsing_service.cc',
|
||||
'safe_browsing/safe_browsing_util.cc',
|
||||
'sandbox_policy.cc',
|
||||
'save_file.cc',
|
||||
'save_file_manager.cc',
|
||||
'save_item.cc',
|
||||
'save_package.cc',
|
||||
'save_page_model.cc',
|
||||
'session_backend.cc',
|
||||
'session_crashed_view.cc',
|
||||
'session_restore.cc',
|
||||
'session_service.cc',
|
||||
'session_startup_pref.cc',
|
||||
'shell_integration.cc',
|
||||
'simple_vista_frame.cc',
|
||||
'simple_xp_frame.cc',
|
||||
'site_instance.cc',
|
||||
'spellcheck_worditerator.cc',
|
||||
'spellchecker.cc',
|
||||
'ssl_blocking_page.cc',
|
||||
'ssl_error_info.cc',
|
||||
'ssl_manager.cc',
|
||||
'ssl_policy.cc',
|
||||
'status_view.cc',
|
||||
'suspend_controller.cc',
|
||||
'tab_contents.cc',
|
||||
'tab_contents_container_view.cc',
|
||||
'tab_contents_factory.cc',
|
||||
'tab_restore_service.cc',
|
||||
'tab_util.cc',
|
||||
'tabs/dragged_tab_controller.cc',
|
||||
'tabs/dragged_tab_view.cc',
|
||||
'tabs/hwnd_photobooth.cc',
|
||||
'tabs/tab.cc',
|
||||
'tabs/tab_renderer.cc',
|
||||
'tabs/tab_strip.cc',
|
||||
'tabs/tab_strip_model.cc',
|
||||
'tabs/tab_strip_model_order_controller.cc',
|
||||
'task_manager.cc',
|
||||
'task_manager_resource_providers.cc',
|
||||
'template_url.cc',
|
||||
'template_url_fetcher.cc',
|
||||
'template_url_model.cc',
|
||||
'template_url_parser.cc',
|
||||
'template_url_prepopulate_data.cc',
|
||||
'title_chomper.cc',
|
||||
'toolbar_model.cc',
|
||||
'url_fetcher.cc',
|
||||
'url_fetcher_protect.cc',
|
||||
'url_fixer_upper.cc',
|
||||
'user_data_dir_dialog.cc',
|
||||
'user_metrics.cc',
|
||||
'view_source_contents.cc',
|
||||
'visitedlink_master.cc',
|
||||
'vista_frame.cc',
|
||||
'web_app.cc',
|
||||
'web_app_icon_manager.cc',
|
||||
'web_app_launcher.cc',
|
||||
'web_contents.cc',
|
||||
'web_drag_source.cc',
|
||||
'web_drop_target.cc',
|
||||
'webdata/web_data_service.cc',
|
||||
'webdata/web_database.cc',
|
||||
'window_clipping_info.cc',
|
||||
'window_sizer.cc',
|
||||
'wizard/wizard.cc',
|
||||
'xp_frame.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('browser', input_files)
|
||||
|
||||
|
||||
SConscript('debugger/SConscript', exports=['env'])
|
||||
|
@ -1,77 +1,77 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'LIBXML_STATIC',
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'debugger_contents.cc',
|
||||
'debugger_io_socket.cc',
|
||||
'debugger_node.cc',
|
||||
'debugger_shell.cc',
|
||||
'debugger_view.cc',
|
||||
'debugger_window.cc',
|
||||
'debugger_wrapper.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('debugger', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'LIBXML_STATIC',
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'debugger_contents.cc',
|
||||
'debugger_io_socket.cc',
|
||||
'debugger_node.cc',
|
||||
'debugger_shell.cc',
|
||||
'debugger_view.cc',
|
||||
'debugger_window.cc',
|
||||
'debugger_wrapper.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('debugger', input_files)
|
||||
|
@ -1,149 +1,149 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
#'$OBJ_ROOT/google_update',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'USE_HUNSPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
|
||||
'$GOOGLE_UPDATE_DIR',
|
||||
'$CHROME_DIR/third_party/hunspell/src/hunspell',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_chrome_view.cc',
|
||||
'bookmark_bar_view.cc',
|
||||
'bookmark_bubble_view.cc',
|
||||
'bookmark_editor_view.cc',
|
||||
'bug_report_view.cc',
|
||||
'clear_browsing_data.cc',
|
||||
'constrained_window_animation.cc',
|
||||
'constrained_window_impl.cc',
|
||||
'delay_view.cc',
|
||||
'download_item_view.cc',
|
||||
'download_shelf_view.cc',
|
||||
'download_started_animation.cc',
|
||||
'edit_keyword_controller.cc',
|
||||
'event_utils.cc',
|
||||
'first_run_bubble.cc',
|
||||
'first_run_customize_view.cc',
|
||||
'first_run_view.cc',
|
||||
'first_run_view_base.cc',
|
||||
'frame/aero_glass_frame.cc',
|
||||
'frame/aero_glass_non_client_view.cc',
|
||||
'frame/browser_view.cc',
|
||||
'frame/browser_view2.cc',
|
||||
'frame/browser_window_factory.cc',
|
||||
'frame/opaque_frame.cc',
|
||||
'frame/opaque_non_client_view.cc',
|
||||
'go_button.cc',
|
||||
'html_dialog_view.cc',
|
||||
'hung_renderer_view.cc',
|
||||
'hwnd_html_view.cc',
|
||||
'importer_lock_view.cc',
|
||||
'importer_view.cc',
|
||||
'importing_progress_view.cc',
|
||||
'info_bar_alternate_nav_url_view.cc',
|
||||
'info_bar_confirm_view.cc',
|
||||
'info_bar_item_view.cc',
|
||||
'info_bar_message_view.cc',
|
||||
'info_bar_view.cc',
|
||||
'info_bubble.cc',
|
||||
'input_window.cc',
|
||||
'keyword_editor_view.cc',
|
||||
'location_bar_view.cc',
|
||||
'login_view.cc',
|
||||
'options/advanced_contents_view.cc',
|
||||
'options/advanced_page_view.cc',
|
||||
'options/content_page_view.cc',
|
||||
'options/cookies_view.cc',
|
||||
'options/fonts_languages_window_view.cc',
|
||||
'options/fonts_page_view.cc',
|
||||
'options/general_page_view.cc',
|
||||
'options/language_combobox_model.cc',
|
||||
'options/languages_page_view.cc',
|
||||
'options/options_group_view.cc',
|
||||
'options/options_page_view.cc',
|
||||
'options/options_window_view.cc',
|
||||
'password_manager_view.cc',
|
||||
'restart_message_box.cc',
|
||||
'sad_tab_view.cc',
|
||||
'shelf_item_dialog.cc',
|
||||
'shell_dialogs.cc',
|
||||
'star_toggle.cc',
|
||||
'status_bubble.cc',
|
||||
'tab_icon_view.cc',
|
||||
'theme_helpers.cc',
|
||||
'toolbar_star_toggle.cc',
|
||||
'toolbar_view.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('browser_views', input_files)
|
||||
|
||||
|
||||
SConscript('debugger/SConscript', exports=['env'])
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
#'$OBJ_ROOT/google_update',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'USE_HUNSPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
|
||||
'$GOOGLE_UPDATE_DIR',
|
||||
'$CHROME_DIR/third_party/hunspell/src/hunspell',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$CHROME_DIR/app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$ZLIB_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_chrome_view.cc',
|
||||
'bookmark_bar_view.cc',
|
||||
'bookmark_bubble_view.cc',
|
||||
'bookmark_editor_view.cc',
|
||||
'bug_report_view.cc',
|
||||
'clear_browsing_data.cc',
|
||||
'constrained_window_animation.cc',
|
||||
'constrained_window_impl.cc',
|
||||
'delay_view.cc',
|
||||
'download_item_view.cc',
|
||||
'download_shelf_view.cc',
|
||||
'download_started_animation.cc',
|
||||
'edit_keyword_controller.cc',
|
||||
'event_utils.cc',
|
||||
'first_run_bubble.cc',
|
||||
'first_run_customize_view.cc',
|
||||
'first_run_view.cc',
|
||||
'first_run_view_base.cc',
|
||||
'frame/aero_glass_frame.cc',
|
||||
'frame/aero_glass_non_client_view.cc',
|
||||
'frame/browser_view.cc',
|
||||
'frame/browser_view2.cc',
|
||||
'frame/browser_window_factory.cc',
|
||||
'frame/opaque_frame.cc',
|
||||
'frame/opaque_non_client_view.cc',
|
||||
'go_button.cc',
|
||||
'html_dialog_view.cc',
|
||||
'hung_renderer_view.cc',
|
||||
'hwnd_html_view.cc',
|
||||
'importer_lock_view.cc',
|
||||
'importer_view.cc',
|
||||
'importing_progress_view.cc',
|
||||
'info_bar_alternate_nav_url_view.cc',
|
||||
'info_bar_confirm_view.cc',
|
||||
'info_bar_item_view.cc',
|
||||
'info_bar_message_view.cc',
|
||||
'info_bar_view.cc',
|
||||
'info_bubble.cc',
|
||||
'input_window.cc',
|
||||
'keyword_editor_view.cc',
|
||||
'location_bar_view.cc',
|
||||
'login_view.cc',
|
||||
'options/advanced_contents_view.cc',
|
||||
'options/advanced_page_view.cc',
|
||||
'options/content_page_view.cc',
|
||||
'options/cookies_view.cc',
|
||||
'options/fonts_languages_window_view.cc',
|
||||
'options/fonts_page_view.cc',
|
||||
'options/general_page_view.cc',
|
||||
'options/language_combobox_model.cc',
|
||||
'options/languages_page_view.cc',
|
||||
'options/options_group_view.cc',
|
||||
'options/options_page_view.cc',
|
||||
'options/options_window_view.cc',
|
||||
'password_manager_view.cc',
|
||||
'restart_message_box.cc',
|
||||
'sad_tab_view.cc',
|
||||
'shelf_item_dialog.cc',
|
||||
'shell_dialogs.cc',
|
||||
'star_toggle.cc',
|
||||
'status_bubble.cc',
|
||||
'tab_icon_view.cc',
|
||||
'theme_helpers.cc',
|
||||
'toolbar_star_toggle.cc',
|
||||
'toolbar_view.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('browser_views', input_files)
|
||||
|
||||
|
||||
SConscript('debugger/SConscript', exports=['env'])
|
||||
|
@ -1,190 +1,190 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_test')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
|
||||
'app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
'$LIBJPEG_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'animation.cc',
|
||||
'child_process.cc',
|
||||
'chrome_constants.cc',
|
||||
'chrome_counters.cc',
|
||||
'chrome_paths.cc',
|
||||
'chrome_plugin_lib.cc',
|
||||
'chrome_plugin_util.cc',
|
||||
'chrome_process_filter.cc',
|
||||
'chrome_switches.cc',
|
||||
'classfactory.cc',
|
||||
'clipboard_service.cc',
|
||||
'common_glue.cc',
|
||||
'debug_flags.cc',
|
||||
'drag_drop_types.cc',
|
||||
'env_util.cc',
|
||||
'env_vars.cc',
|
||||
'gfx/chrome_canvas.cc',
|
||||
'gfx/chrome_font.cc',
|
||||
'gfx/color_utils.cc',
|
||||
'gfx/emf.cc',
|
||||
'gfx/icon_util.cc',
|
||||
'gfx/path.cc',
|
||||
'gfx/url_elider.cc',
|
||||
'ipc_channel.cc',
|
||||
'ipc_channel_proxy.cc',
|
||||
'ipc_logging.cc',
|
||||
'ipc_message.cc',
|
||||
'ipc_message_utils.cc',
|
||||
'ipc_sync_channel.cc',
|
||||
'ipc_sync_message.cc',
|
||||
'jpeg_codec.cc',
|
||||
'json_value_serializer.cc',
|
||||
'jstemplate_builder.cc',
|
||||
'l10n_util.cc',
|
||||
'libxml_utils.cc',
|
||||
'logging_chrome.cc',
|
||||
'message_router.cc',
|
||||
'net/cookie_monster_sqlite.cc',
|
||||
'net/url_request_intercept_job.cc',
|
||||
'notification_service.cc',
|
||||
'os_exchange_data.cc',
|
||||
'plugin_messages.cc',
|
||||
'pref_names.cc',
|
||||
'pref_service.cc',
|
||||
'process_watcher.cc',
|
||||
'rand_util.cc',
|
||||
'render_messages.cc',
|
||||
'resource_bundle.cc',
|
||||
'resource_dispatcher.cc',
|
||||
'security_filter_peer.cc',
|
||||
'slide_animation.cc',
|
||||
'sqlite_compiled_statement.cc',
|
||||
'sqlite_utils.cc',
|
||||
'task_queue.cc',
|
||||
'throb_animation.cc',
|
||||
'thumbnail_score.cc',
|
||||
'time_format.cc',
|
||||
'visitedlink_common.cc',
|
||||
'win_safe_util.cc',
|
||||
'win_util.cc',
|
||||
'worker_thread_ticker.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('common', input_files)
|
||||
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Append(
|
||||
CPPPATH = [
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/DEBUG',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
],
|
||||
LIBS = [
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
ipc_tests_files = [
|
||||
'$BASE_DIR/perftimer$OBJSUFFIX',
|
||||
'ipc_fuzzing_tests.cc',
|
||||
'ipc_tests.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'common.lib',
|
||||
]
|
||||
|
||||
ipc_tests = env_test.ChromeTestProgram('ipc_tests.exe', ipc_tests_files + libs)
|
||||
|
||||
i = env_test.Install('$TARGET_ROOT', ipc_tests)
|
||||
Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_test')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
|
||||
'app',
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
'$LIBJPEG_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'animation.cc',
|
||||
'child_process.cc',
|
||||
'chrome_constants.cc',
|
||||
'chrome_counters.cc',
|
||||
'chrome_paths.cc',
|
||||
'chrome_plugin_lib.cc',
|
||||
'chrome_plugin_util.cc',
|
||||
'chrome_process_filter.cc',
|
||||
'chrome_switches.cc',
|
||||
'classfactory.cc',
|
||||
'clipboard_service.cc',
|
||||
'common_glue.cc',
|
||||
'debug_flags.cc',
|
||||
'drag_drop_types.cc',
|
||||
'env_util.cc',
|
||||
'env_vars.cc',
|
||||
'gfx/chrome_canvas.cc',
|
||||
'gfx/chrome_font.cc',
|
||||
'gfx/color_utils.cc',
|
||||
'gfx/emf.cc',
|
||||
'gfx/icon_util.cc',
|
||||
'gfx/path.cc',
|
||||
'gfx/url_elider.cc',
|
||||
'ipc_channel.cc',
|
||||
'ipc_channel_proxy.cc',
|
||||
'ipc_logging.cc',
|
||||
'ipc_message.cc',
|
||||
'ipc_message_utils.cc',
|
||||
'ipc_sync_channel.cc',
|
||||
'ipc_sync_message.cc',
|
||||
'jpeg_codec.cc',
|
||||
'json_value_serializer.cc',
|
||||
'jstemplate_builder.cc',
|
||||
'l10n_util.cc',
|
||||
'libxml_utils.cc',
|
||||
'logging_chrome.cc',
|
||||
'message_router.cc',
|
||||
'net/cookie_monster_sqlite.cc',
|
||||
'net/url_request_intercept_job.cc',
|
||||
'notification_service.cc',
|
||||
'os_exchange_data.cc',
|
||||
'plugin_messages.cc',
|
||||
'pref_names.cc',
|
||||
'pref_service.cc',
|
||||
'process_watcher.cc',
|
||||
'rand_util.cc',
|
||||
'render_messages.cc',
|
||||
'resource_bundle.cc',
|
||||
'resource_dispatcher.cc',
|
||||
'security_filter_peer.cc',
|
||||
'slide_animation.cc',
|
||||
'sqlite_compiled_statement.cc',
|
||||
'sqlite_utils.cc',
|
||||
'task_queue.cc',
|
||||
'throb_animation.cc',
|
||||
'thumbnail_score.cc',
|
||||
'time_format.cc',
|
||||
'visitedlink_common.cc',
|
||||
'win_safe_util.cc',
|
||||
'win_util.cc',
|
||||
'worker_thread_ticker.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('common', input_files)
|
||||
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Append(
|
||||
CPPPATH = [
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/DEBUG',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
],
|
||||
LIBS = [
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
ipc_tests_files = [
|
||||
'$BASE_DIR/perftimer$OBJSUFFIX',
|
||||
'ipc_fuzzing_tests.cc',
|
||||
'ipc_tests.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'common.lib',
|
||||
]
|
||||
|
||||
ipc_tests = env_test.ChromeTestProgram('ipc_tests.exe', ipc_tests_files + libs)
|
||||
|
||||
i = env_test.Install('$TARGET_ROOT', ipc_tests)
|
||||
Alias('chrome', i)
|
||||
|
@ -1,187 +1,187 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res', 'env_test')
|
||||
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env['LIBS'].remove('DelayImp.lib')
|
||||
|
||||
env_res = env_res.Clone()
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
"$TARGET_ROOT",
|
||||
".",
|
||||
"#/..",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
resources = env_res.RES('mini_installer.rc')
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/GS-', # because we link with /NODEFAULTLIB
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/NODEFAULTLIB',
|
||||
'/DEBUG',
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/OPT:NOWIN98',
|
||||
'/ENTRY:"MainEntryPoint"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/SAFESEH:NO',
|
||||
'/NXCOMPAT',
|
||||
'/DYNAMICBASE:NO',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/MAP:${TARGETS[2]}',
|
||||
],
|
||||
LIBS = [
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
env['CCFLAGS'].remove('/RTC1')
|
||||
|
||||
components = [
|
||||
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj",
|
||||
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj",
|
||||
"$TARGET_ROOT/chrome_dll.lib",
|
||||
]
|
||||
|
||||
input_files = [
|
||||
"mini_installer.cc",
|
||||
"pe_resource.cc",
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram(['mini_installer',
|
||||
'mini_installer.pdb',
|
||||
'mini_installer.map'],
|
||||
components + resources + input_files)
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
env.AppendENVPath('PATH', r'C:\WINDOWS\system32')
|
||||
|
||||
packed = env.Command('$TARGET_ROOT/packed_files.txt',
|
||||
['$CHROME_DIR/tools/build/win/create_installer_archive.py',
|
||||
'$CHROME_DIR/installer/mini_installer/chrome.release'],
|
||||
('$PYTHON ${SOURCES[0]}'
|
||||
' --output_dir=${TARGET.dir}'
|
||||
' --input_file=${SOURCES[1]}'))
|
||||
env.Depends(packed, '$TARGET_ROOT/setup.exe')
|
||||
|
||||
|
||||
env.ChromeVersionRC('mini_installer_exe_version.rc',
|
||||
'mini_installer_exe_version.rc.version',
|
||||
PWD=Dir('.'))
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'common',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'../setup/setup_constants$OBJSUFFIX',
|
||||
'../util/copy_tree_work_item_unittest.cc',
|
||||
'../util/create_dir_work_item_unittest.cc',
|
||||
'../util/create_reg_key_work_item_unittest.cc',
|
||||
'../util/delete_tree_work_item_unittest.cc',
|
||||
'../util/helper_unittest.cc',
|
||||
'../util/install_util_unittest.cc',
|
||||
'../util/run_all_unittests.cc',
|
||||
'../util/set_reg_value_work_item_unittest.cc',
|
||||
'../util/work_item_list_unittest.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'../util/util.lib',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['installer_unittests',
|
||||
'installer_unittests.pdb'],
|
||||
input_files + libs)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res', 'env_test')
|
||||
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env['LIBS'].remove('DelayImp.lib')
|
||||
|
||||
env_res = env_res.Clone()
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
"$TARGET_ROOT",
|
||||
".",
|
||||
"#/..",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
resources = env_res.RES('mini_installer.rc')
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/GS-', # because we link with /NODEFAULTLIB
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/NODEFAULTLIB',
|
||||
'/DEBUG',
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/OPT:NOWIN98',
|
||||
'/ENTRY:"MainEntryPoint"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/SAFESEH:NO',
|
||||
'/NXCOMPAT',
|
||||
'/DYNAMICBASE:NO',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/MAP:${TARGETS[2]}',
|
||||
],
|
||||
LIBS = [
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
env['CCFLAGS'].remove('/RTC1')
|
||||
|
||||
components = [
|
||||
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj",
|
||||
"$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj",
|
||||
"$TARGET_ROOT/chrome_dll.lib",
|
||||
]
|
||||
|
||||
input_files = [
|
||||
"mini_installer.cc",
|
||||
"pe_resource.cc",
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram(['mini_installer',
|
||||
'mini_installer.pdb',
|
||||
'mini_installer.map'],
|
||||
components + resources + input_files)
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
env.AppendENVPath('PATH', r'C:\WINDOWS\system32')
|
||||
|
||||
packed = env.Command('$TARGET_ROOT/packed_files.txt',
|
||||
['$CHROME_DIR/tools/build/win/create_installer_archive.py',
|
||||
'$CHROME_DIR/installer/mini_installer/chrome.release'],
|
||||
('$PYTHON ${SOURCES[0]}'
|
||||
' --output_dir=${TARGET.dir}'
|
||||
' --input_file=${SOURCES[1]}'))
|
||||
env.Depends(packed, '$TARGET_ROOT/setup.exe')
|
||||
|
||||
|
||||
env.ChromeVersionRC('mini_installer_exe_version.rc',
|
||||
'mini_installer_exe_version.rc.version',
|
||||
PWD=Dir('.'))
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'common',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'../setup/setup_constants$OBJSUFFIX',
|
||||
'../util/copy_tree_work_item_unittest.cc',
|
||||
'../util/create_dir_work_item_unittest.cc',
|
||||
'../util/create_reg_key_work_item_unittest.cc',
|
||||
'../util/delete_tree_work_item_unittest.cc',
|
||||
'../util/helper_unittest.cc',
|
||||
'../util/install_util_unittest.cc',
|
||||
'../util/run_all_unittests.cc',
|
||||
'../util/set_reg_value_work_item_unittest.cc',
|
||||
'../util/work_item_list_unittest.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'../util/util.lib',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['installer_unittests',
|
||||
'installer_unittests.pdb'],
|
||||
input_files + libs)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,120 +1,120 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res')
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
"$TARGET_ROOT",
|
||||
".",
|
||||
"#/..",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
resources = [
|
||||
env_res.RES('setup.rc'),
|
||||
env_res.RES('../util/setup_strings.rc'),
|
||||
]
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../util',
|
||||
'$TARGET_ROOT',
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'bspatch',
|
||||
'lzma_sdk',
|
||||
'icuuc',
|
||||
'common',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/OPT:NOWIN98',
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/MAP:${TARGETS[2]}',
|
||||
],
|
||||
LIBS = [
|
||||
'shlwapi.lib',
|
||||
'msi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'install.cc',
|
||||
'main.cc',
|
||||
'setup.cc',
|
||||
'setup_constants.cc',
|
||||
'uninstall.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'../util/util.lib',
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram(['setup',
|
||||
'setup.pdb',
|
||||
'setup.map'],
|
||||
resources + input_files + libs)
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
env.ChromeVersionRC('setup_exe_version.rc',
|
||||
'setup_exe_version.rc.version',
|
||||
PWD = env.Dir('.'))
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env', 'env_res')
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
"$TARGET_ROOT",
|
||||
".",
|
||||
"#/..",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
resources = [
|
||||
env_res.RES('setup.rc'),
|
||||
env_res.RES('../util/setup_strings.rc'),
|
||||
]
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../util',
|
||||
'$TARGET_ROOT',
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'bspatch',
|
||||
'lzma_sdk',
|
||||
'icuuc',
|
||||
'common',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/OPT:NOWIN98',
|
||||
'/SUBSYSTEM:WINDOWS',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/PDB:${TARGETS[1]}',
|
||||
'/MAP:${TARGETS[2]}',
|
||||
],
|
||||
LIBS = [
|
||||
'shlwapi.lib',
|
||||
'msi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'install.cc',
|
||||
'main.cc',
|
||||
'setup.cc',
|
||||
'setup_constants.cc',
|
||||
'uninstall.cc',
|
||||
]
|
||||
|
||||
libs = [
|
||||
'../util/util.lib',
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram(['setup',
|
||||
'setup.pdb',
|
||||
'setup.map'],
|
||||
resources + input_files + libs)
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env.Alias('chrome', i)
|
||||
|
||||
|
||||
env.ChromeVersionRC('setup_exe_version.rc',
|
||||
'setup_exe_version.rc.version',
|
||||
PWD = env.Dir('.'))
|
||||
|
@ -1,97 +1,97 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$LZMA_SDK_DIR',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
'$LIBJPEG_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'#/..',
|
||||
'.',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
"_LZMA_IN_CB",
|
||||
"LIBXML_STATIC",
|
||||
"PNG_USER_CONFIG",
|
||||
"CHROME_PNG_WRITE_SUPPORT"
|
||||
"U_STATIC_IMPLEMENTATION",
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'../../app/google_update_settings$OBJSUFFIX',
|
||||
'copy_tree_work_item.cc',
|
||||
'create_dir_work_item.cc',
|
||||
'create_reg_key_work_item.cc',
|
||||
'delete_tree_work_item.cc',
|
||||
'google_update_constants.cc',
|
||||
'helper.cc',
|
||||
'install_util.cc',
|
||||
'l10n_string_util.cc',
|
||||
'logging_installer.cc',
|
||||
'lzma_util.cc',
|
||||
'set_reg_value_work_item.cc',
|
||||
'shell_util.cc',
|
||||
'util_constants.cc',
|
||||
'version.cc',
|
||||
'work_item.cc',
|
||||
'work_item_list.cc',
|
||||
]
|
||||
|
||||
x = env.ChromeStaticLibrary('util', input_files)
|
||||
|
||||
|
||||
# create_string_rc.py imports FP.py from the tools/grit/grit/extern
|
||||
# directory, so add that to PYTHONPATH for this command execution.
|
||||
env_x = env.Clone()
|
||||
env_x.AppendENVPath('PYTHONPATH', [Dir('#/../tools/grit/grit/extern').abspath])
|
||||
env_x.Command(['$CHROME_DIR/installer/util/setup_strings.rc',
|
||||
'$CHROME_DIR/installer/util/setup_strings.h'],
|
||||
['$CHROME_DIR/installer/util/prebuild/create_string_rc.py',
|
||||
'$CHROME_DIR/app/generated_resources.grd'] +
|
||||
env.Glob('$CHROME_DIR/app/resources/*.xtb'),
|
||||
"$PYTHON ${SOURCES[0]} ${TARGET.dir}")
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$LZMA_SDK_DIR',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$NPAPI_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$BREAKPAD_DIR/src',
|
||||
'$LIBJPEG_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'#/..',
|
||||
'.',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
"_LZMA_IN_CB",
|
||||
"LIBXML_STATIC",
|
||||
"PNG_USER_CONFIG",
|
||||
"CHROME_PNG_WRITE_SUPPORT"
|
||||
"U_STATIC_IMPLEMENTATION",
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'../../app/google_update_settings$OBJSUFFIX',
|
||||
'copy_tree_work_item.cc',
|
||||
'create_dir_work_item.cc',
|
||||
'create_reg_key_work_item.cc',
|
||||
'delete_tree_work_item.cc',
|
||||
'google_update_constants.cc',
|
||||
'helper.cc',
|
||||
'install_util.cc',
|
||||
'l10n_string_util.cc',
|
||||
'logging_installer.cc',
|
||||
'lzma_util.cc',
|
||||
'set_reg_value_work_item.cc',
|
||||
'shell_util.cc',
|
||||
'util_constants.cc',
|
||||
'version.cc',
|
||||
'work_item.cc',
|
||||
'work_item_list.cc',
|
||||
]
|
||||
|
||||
x = env.ChromeStaticLibrary('util', input_files)
|
||||
|
||||
|
||||
# create_string_rc.py imports FP.py from the tools/grit/grit/extern
|
||||
# directory, so add that to PYTHONPATH for this command execution.
|
||||
env_x = env.Clone()
|
||||
env_x.AppendENVPath('PYTHONPATH', [Dir('#/../tools/grit/grit/extern').abspath])
|
||||
env_x.Command(['$CHROME_DIR/installer/util/setup_strings.rc',
|
||||
'$CHROME_DIR/installer/util/setup_strings.h'],
|
||||
['$CHROME_DIR/installer/util/prebuild/create_string_rc.py',
|
||||
'$CHROME_DIR/app/generated_resources.grd'] +
|
||||
env.Glob('$CHROME_DIR/app/resources/*.xtb'),
|
||||
"$PYTHON ${SOURCES[0]} ${TARGET.dir}")
|
||||
|
@ -1,63 +1,63 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'$CHROME_DIR/tools/build/win',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'chrome_plugin_host.cc',
|
||||
'npobject_proxy.cc',
|
||||
'npobject_stub.cc',
|
||||
'npobject_util.cc',
|
||||
'plugin_channel.cc',
|
||||
'plugin_channel_base.cc',
|
||||
'plugin_main.cc',
|
||||
'plugin_process.cc',
|
||||
'plugin_thread.cc',
|
||||
'webplugin_delegate_stub.cc',
|
||||
'webplugin_proxy.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('plugin', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'$CHROME_DIR/tools/build/win',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'chrome_plugin_host.cc',
|
||||
'npobject_proxy.cc',
|
||||
'npobject_stub.cc',
|
||||
'npobject_util.cc',
|
||||
'plugin_channel.cc',
|
||||
'plugin_channel_base.cc',
|
||||
'plugin_main.cc',
|
||||
'plugin_process.cc',
|
||||
'plugin_thread.cc',
|
||||
'webplugin_delegate_stub.cc',
|
||||
'webplugin_proxy.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('plugin', input_files)
|
||||
|
@ -1,81 +1,81 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'third_party/wtl/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$NPAPI_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_handler.cc',
|
||||
'automation/dom_automation_controller.cc',
|
||||
'debug_message_handler.cc',
|
||||
'dom_ui_bindings.cc',
|
||||
'external_js_object.cc',
|
||||
'localized_error.cc',
|
||||
'net/render_dns_master.cc',
|
||||
'net/render_dns_queue.cc',
|
||||
'plugin_channel_host.cc',
|
||||
'render_process.cc',
|
||||
'render_thread.cc',
|
||||
'render_view.cc',
|
||||
'render_widget.cc',
|
||||
'renderer_glue.cc',
|
||||
'renderer_main.cc',
|
||||
'visitedlink_slave.cc',
|
||||
'webplugin_delegate_proxy.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('renderer', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/app/resources',
|
||||
'#/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'third_party/wtl/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$NPAPI_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'about_handler.cc',
|
||||
'automation/dom_automation_controller.cc',
|
||||
'debug_message_handler.cc',
|
||||
'dom_ui_bindings.cc',
|
||||
'external_js_object.cc',
|
||||
'localized_error.cc',
|
||||
'net/render_dns_master.cc',
|
||||
'net/render_dns_queue.cc',
|
||||
'plugin_channel_host.cc',
|
||||
'render_process.cc',
|
||||
'render_thread.cc',
|
||||
'render_view.cc',
|
||||
'render_widget.cc',
|
||||
'renderer_glue.cc',
|
||||
'renderer_main.cc',
|
||||
'visitedlink_slave.cc',
|
||||
'webplugin_delegate_proxy.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('renderer', input_files)
|
||||
|
@ -1,73 +1,73 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'comsuppw.lib',
|
||||
],
|
||||
)
|
||||
|
||||
env.TypeLibrary('activex_test_control.idl')
|
||||
|
||||
input_files = [
|
||||
'activex_test_control.cc',
|
||||
'activex_test_control.def',
|
||||
'chrome_test_control.cc',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary(['activex_test_control', 'activex_test_control.lib'],
|
||||
input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'#/..',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'comsuppw.lib',
|
||||
],
|
||||
)
|
||||
|
||||
env.TypeLibrary('activex_test_control.idl')
|
||||
|
||||
input_files = [
|
||||
'activex_test_control.cc',
|
||||
'activex_test_control.def',
|
||||
'chrome_test_control.cc',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary(['activex_test_control', 'activex_test_control.lib'],
|
||||
input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,58 +1,58 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
#'../../..',
|
||||
#'$GTEST_DIR/include',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'autocomplete_edit_proxy.cc',
|
||||
'automation_handle_tracker.cc',
|
||||
'automation_proxy.cc',
|
||||
'browser_proxy.cc',
|
||||
'constrained_window_proxy.cc',
|
||||
'tab_proxy.cc',
|
||||
'window_proxy.cc',
|
||||
]
|
||||
|
||||
lib = env.ChromeStaticLibrary('automation', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', lib)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
#'../../..',
|
||||
#'$GTEST_DIR/include',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'autocomplete_edit_proxy.cc',
|
||||
'automation_handle_tracker.cc',
|
||||
'automation_proxy.cc',
|
||||
'browser_proxy.cc',
|
||||
'constrained_window_proxy.cc',
|
||||
'tab_proxy.cc',
|
||||
'window_proxy.cc',
|
||||
]
|
||||
|
||||
lib = env.ChromeStaticLibrary('automation', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', lib)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,76 +1,76 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'test_chrome_plugin.cc',
|
||||
'test_chrome_plugin.def',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary('test_chrome_plugin', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'test_chrome_plugin.cc',
|
||||
'test_chrome_plugin.def',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary('test_chrome_plugin', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,112 +1,112 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
],
|
||||
LIBS = [
|
||||
'automation',
|
||||
'base',
|
||||
'base_gfx',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'bzip2',
|
||||
'common',
|
||||
'googleurl',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'libpng',
|
||||
'modp_b64',
|
||||
'net',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/browser/browser_focus_uitest.cc',
|
||||
'$CHROME_DIR/browser/tabs/tab_dragging_test.cc',
|
||||
'$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['interactive_ui_tests',
|
||||
'interactive_ui_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$CHROME_DIR/third_party/wtl/include',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/include',
|
||||
],
|
||||
LIBS = [
|
||||
'automation',
|
||||
'base',
|
||||
'base_gfx',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'bzip2',
|
||||
'common',
|
||||
'googleurl',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'libpng',
|
||||
'modp_b64',
|
||||
'net',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/browser/browser_focus_uitest.cc',
|
||||
'$CHROME_DIR/browser/tabs/tab_dragging_test.cc',
|
||||
'$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['interactive_ui_tests',
|
||||
'interactive_ui_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,98 +1,98 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'automation',
|
||||
'base',
|
||||
'base_gfx',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'common',
|
||||
'googleurl',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'libpng',
|
||||
'net',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
if env_test['PLATFORM'] == 'win32':
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'memory_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['memory_test',
|
||||
'memory_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'automation',
|
||||
'base',
|
||||
'base_gfx',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'common',
|
||||
'googleurl',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'libpng',
|
||||
'net',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
if env_test['PLATFORM'] == 'win32':
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'memory_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['memory_test',
|
||||
'memory_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,90 +1,90 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'util',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX',
|
||||
'$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX',
|
||||
'chrome_mini_installer.cc',
|
||||
'mini_installer_test_constants.cc',
|
||||
'test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['mini_installer_test',
|
||||
'mini_installer_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'util',
|
||||
'gtest',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'shlwapi.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX',
|
||||
'$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX',
|
||||
'chrome_mini_installer.cc',
|
||||
'mini_installer_test_constants.cc',
|
||||
'test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['mini_installer_test',
|
||||
'mini_installer_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,106 +1,106 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'page_cycler_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['page_cycler_tests',
|
||||
'page_cycler_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'page_cycler_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['page_cycler_tests',
|
||||
'page_cycler_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,110 +1,110 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/includ',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'security_tests',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"ws2_32.dll"',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'plugin_test.cpp',
|
||||
]
|
||||
|
||||
|
||||
exe = env_test.ChromeTestProgram(['plugin_tests',
|
||||
'plugin_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/includ',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'security_tests',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"ws2_32.dll"',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'plugin_test.cpp',
|
||||
]
|
||||
|
||||
|
||||
exe = env_test.ChromeTestProgram(['plugin_tests',
|
||||
'plugin_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,104 +1,104 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'RELIABILITY_TEST', # seems to be unused
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'page_load_test.cc',
|
||||
'run_all_unittests.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['reliability_tests',
|
||||
'reliability_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'RELIABILITY_TEST', # seems to be unused
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'comsupp.lib',
|
||||
'oleacc.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'winmm.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'page_load_test.cc',
|
||||
'run_all_unittests.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['reliability_tests',
|
||||
'reliability_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,79 +1,79 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'DelayImp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'ipc_security_tests.cc',
|
||||
'security_tests.cc',
|
||||
'$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary(['security_tests',
|
||||
'security_tests.lib',
|
||||
'security_tests.ilk',
|
||||
'security_tests.pdb'],
|
||||
input_files)
|
||||
|
||||
# TODO(sgk): can go away once ChromeSharedLibrary() handles this.
|
||||
env.Install('$LIBS_DIR', dll[1])
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
LIBS = [
|
||||
'DelayImp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'ipc_security_tests.cc',
|
||||
'security_tests.cc',
|
||||
'$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary(['security_tests',
|
||||
'security_tests.lib',
|
||||
'security_tests.ilk',
|
||||
'security_tests.pdb'],
|
||||
input_files)
|
||||
|
||||
# TODO(sgk): can go away once ChromeSharedLibrary() handles this.
|
||||
env.Install('$LIBS_DIR', dll[1])
|
||||
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('chrome', i)
|
||||
|
@ -1,102 +1,102 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'selenium_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['selenium_tests',
|
||||
'selenium_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'selenium_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['selenium_tests',
|
||||
'selenium_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,101 +1,101 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'feature_startup_test.cc',
|
||||
'startup_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['startup_tests',
|
||||
'startup_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'feature_startup_test.cc',
|
||||
'startup_test.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['startup_tests',
|
||||
'startup_tests.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,105 +1,105 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'tab_switching_test.cc',
|
||||
]
|
||||
|
||||
#"..\..\Debug\obj\tab_switching_test\precompiled_wtl.obj"
|
||||
|
||||
exe = env_test.ChromeTestProgram(['tab_switching_test',
|
||||
'tab_switching_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'UI_TEST',
|
||||
'UNIT_TEST',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
'$GTEST_DIR',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'skia',
|
||||
'libpng',
|
||||
'gtest',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'common',
|
||||
'zlib',
|
||||
'modp_b64',
|
||||
'browser',
|
||||
'browser_views',
|
||||
'net',
|
||||
'base',
|
||||
'automation',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'winmm.lib',
|
||||
'psapi.lib',
|
||||
'rpcrt4.lib',
|
||||
'oleacc.lib',
|
||||
'comsupp.lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'tab_switching_test.cc',
|
||||
]
|
||||
|
||||
#"..\..\Debug\obj\tab_switching_test\precompiled_wtl.obj"
|
||||
|
||||
exe = env_test.ChromeTestProgram(['tab_switching_test',
|
||||
'tab_switching_test.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
162
chrome/third_party/hunspell/SConscript
vendored
162
chrome/third_party/hunspell/SConscript
vendored
@ -1,81 +1,81 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Copyright 2008 Google Inc. All Rights Reserved.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'W32',
|
||||
'OPENOFFICEORG',
|
||||
'CHROME_SPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'google/bdict_reader.cc',
|
||||
'src/hunspell/affentry.cxx',
|
||||
'src/hunspell/affixmgr.cxx',
|
||||
'src/hunspell/csutil.cxx',
|
||||
'src/hunspell/dictmgr.cxx',
|
||||
'src/hunspell/hashmgr.cxx',
|
||||
'src/hunspell/hunspell.cxx',
|
||||
'src/hunspell/suggestmgr.cxx',
|
||||
'src/parsers/textparser.cxx',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('hunspell', input_files)
|
||||
|
||||
|
||||
|
||||
dictionaries = [
|
||||
'dictionaries/en-US.bdic',
|
||||
'dictionaries/en-US.dic',
|
||||
'dictionaries/en-US.aff',
|
||||
]
|
||||
|
||||
i = env.Install('$TARGET_ROOT/Dictionaries', dictionaries)
|
||||
env.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Copyright 2008 Google Inc. All Rights Reserved.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'W32',
|
||||
'OPENOFFICEORG',
|
||||
'CHROME_SPELL',
|
||||
'HUNSPELL_CHROME_CLIENT',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'google/bdict_reader.cc',
|
||||
'src/hunspell/affentry.cxx',
|
||||
'src/hunspell/affixmgr.cxx',
|
||||
'src/hunspell/csutil.cxx',
|
||||
'src/hunspell/dictmgr.cxx',
|
||||
'src/hunspell/hashmgr.cxx',
|
||||
'src/hunspell/hunspell.cxx',
|
||||
'src/hunspell/suggestmgr.cxx',
|
||||
'src/parsers/textparser.cxx',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('hunspell', input_files)
|
||||
|
||||
|
||||
|
||||
dictionaries = [
|
||||
'dictionaries/en-US.bdic',
|
||||
'dictionaries/en-US.dic',
|
||||
'dictionaries/en-US.aff',
|
||||
]
|
||||
|
||||
i = env.Install('$TARGET_ROOT/Dictionaries', dictionaries)
|
||||
env.Alias('chrome', i)
|
||||
|
238
chrome/third_party/sqlite/SConscript
vendored
238
chrome/third_party/sqlite/SConscript
vendored
@ -1,119 +1,119 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Copyright 2008 Google Inc. All Rights Reserved.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
|
||||
'SQLITE_ENABLE_FTS2',
|
||||
'SQLITE_ENABLE_BROKEN_FTS2',
|
||||
'SQLITE_ENABLE_ICU',
|
||||
'SQLITE_SECURE_DELETE',
|
||||
'THREADSAFE',
|
||||
['_HAS_EXCEPTIONS', '0'],
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
|
||||
'/wd4800',
|
||||
'/wd4244',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'alter.c',
|
||||
'analyze.c',
|
||||
'attach.c',
|
||||
'auth.c',
|
||||
'btree.c',
|
||||
'build.c',
|
||||
'callback.c',
|
||||
'complete.c',
|
||||
'date.c',
|
||||
'delete.c',
|
||||
'expr.c',
|
||||
'fts2.c',
|
||||
'fts2_hash.c',
|
||||
'fts2_icu.c',
|
||||
'fts2_porter.c',
|
||||
'fts2_tokenizer.c',
|
||||
'fts2_tokenizer1.c',
|
||||
'func.c',
|
||||
'hash.c',
|
||||
'icu.c',
|
||||
'insert.c',
|
||||
'legacy.c',
|
||||
'loadext.c',
|
||||
'main.c',
|
||||
'malloc.c',
|
||||
'opcodes.c',
|
||||
'os.c',
|
||||
'os_win.c',
|
||||
'pager.c',
|
||||
'parse.c',
|
||||
'pragma.c',
|
||||
'prepare.c',
|
||||
'printf.c',
|
||||
'random.c',
|
||||
'select.c',
|
||||
'shell.c',
|
||||
'shell_icu.c',
|
||||
'table.c',
|
||||
'tokenize.c',
|
||||
'trigger.c',
|
||||
'update.c',
|
||||
'utf.c',
|
||||
'util.c',
|
||||
'vacuum.c',
|
||||
'vdbe.c',
|
||||
'vdbeapi.c',
|
||||
'vdbeaux.c',
|
||||
'vdbefifo.c',
|
||||
'vdbemem.c',
|
||||
'vtab.c',
|
||||
'where.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('sqlite', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Copyright 2008 Google Inc. All Rights Reserved.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
|
||||
'SQLITE_ENABLE_FTS2',
|
||||
'SQLITE_ENABLE_BROKEN_FTS2',
|
||||
'SQLITE_ENABLE_ICU',
|
||||
'SQLITE_SECURE_DELETE',
|
||||
'THREADSAFE',
|
||||
['_HAS_EXCEPTIONS', '0'],
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
|
||||
'/wd4800',
|
||||
'/wd4244',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'alter.c',
|
||||
'analyze.c',
|
||||
'attach.c',
|
||||
'auth.c',
|
||||
'btree.c',
|
||||
'build.c',
|
||||
'callback.c',
|
||||
'complete.c',
|
||||
'date.c',
|
||||
'delete.c',
|
||||
'expr.c',
|
||||
'fts2.c',
|
||||
'fts2_hash.c',
|
||||
'fts2_icu.c',
|
||||
'fts2_porter.c',
|
||||
'fts2_tokenizer.c',
|
||||
'fts2_tokenizer1.c',
|
||||
'func.c',
|
||||
'hash.c',
|
||||
'icu.c',
|
||||
'insert.c',
|
||||
'legacy.c',
|
||||
'loadext.c',
|
||||
'main.c',
|
||||
'malloc.c',
|
||||
'opcodes.c',
|
||||
'os.c',
|
||||
'os_win.c',
|
||||
'pager.c',
|
||||
'parse.c',
|
||||
'pragma.c',
|
||||
'prepare.c',
|
||||
'printf.c',
|
||||
'random.c',
|
||||
'select.c',
|
||||
'shell.c',
|
||||
'shell_icu.c',
|
||||
'table.c',
|
||||
'tokenize.c',
|
||||
'trigger.c',
|
||||
'update.c',
|
||||
'utf.c',
|
||||
'util.c',
|
||||
'vacuum.c',
|
||||
'vdbe.c',
|
||||
'vdbeapi.c',
|
||||
'vdbeaux.c',
|
||||
'vdbefifo.c',
|
||||
'vdbemem.c',
|
||||
'vtab.c',
|
||||
'where.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('sqlite', input_files)
|
||||
|
@ -1,78 +1,78 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$BREAKPAD_DIR/src',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'base_gfx',
|
||||
'breakpad_handler',
|
||||
'breakpad_sender',
|
||||
'common',
|
||||
'icuuc',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/DEBUG',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'main.cc',
|
||||
'crash_service.cc',
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram('crash_service.exe', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$BREAKPAD_DIR/src',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'base_gfx',
|
||||
'breakpad_handler',
|
||||
'breakpad_sender',
|
||||
'common',
|
||||
'icuuc',
|
||||
'skia',
|
||||
'zlib',
|
||||
],
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/DEBUG',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'main.cc',
|
||||
'crash_service.cc',
|
||||
]
|
||||
|
||||
exe = env.ChromeProgram('crash_service.exe', input_files)
|
||||
|
||||
i = env.Install('$TARGET_ROOT', exe)
|
||||
Alias('chrome', i)
|
||||
|
@ -1,72 +1,72 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'flush_cache.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['flush_cache',
|
||||
'flush_cache'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$CHROME_DIR/test/test_file_util$OBJSUFFIX',
|
||||
'flush_cache.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['flush_cache',
|
||||
'flush_cache'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,84 +1,84 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
'_DEBUG',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$ZLIB_DIR',
|
||||
'$LIBPNG_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'skia',
|
||||
'libpng',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'zlib',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/SUBSYSTEM:CONSOLE',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'image_diff.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['image_diff',
|
||||
'image_diff.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env_test')
|
||||
|
||||
env_test = env_test.Clone()
|
||||
|
||||
env_test.Prepend(
|
||||
CPPDEFINES = [
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
'_DEBUG',
|
||||
],
|
||||
CPPPATH = [
|
||||
'$ZLIB_DIR',
|
||||
'$LIBPNG_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'skia',
|
||||
'libpng',
|
||||
'base_gfx',
|
||||
'icuuc',
|
||||
'zlib',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env_test.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/DEBUG',
|
||||
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
|
||||
'/SUBSYSTEM:CONSOLE',
|
||||
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'image_diff.cc',
|
||||
]
|
||||
|
||||
exe = env_test.ChromeTestProgram(['image_diff',
|
||||
'image_diff.pdb'],
|
||||
input_files)
|
||||
i = env_test.Install('$TARGET_ROOT', exe)
|
||||
|
||||
env_test.Alias('chrome', i)
|
||||
|
@ -1,117 +1,117 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
#'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'../app/resources',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/include/platform',
|
||||
'third_party/wtl/include',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'accelerator.cc',
|
||||
'accelerator_handler.cc',
|
||||
'accessibility/accessible_wrapper.cc',
|
||||
'accessibility/autocomplete_accessibility.cc',
|
||||
'accessibility/view_accessibility.cc',
|
||||
'aero_tooltip_manager.cc',
|
||||
'background.cc',
|
||||
'base_button.cc',
|
||||
'bitmap_scroll_bar.cc',
|
||||
'border.cc',
|
||||
'button.cc',
|
||||
'button_dropdown.cc',
|
||||
'checkbox.cc',
|
||||
'chrome_menu.cc',
|
||||
'client_view.cc',
|
||||
'combo_box.cc',
|
||||
'custom_frame_window.cc',
|
||||
'dialog_client_view.cc',
|
||||
'decision.cc',
|
||||
'event.cc',
|
||||
'external_focus_tracker.cc',
|
||||
'focus_manager.cc',
|
||||
# This was in the Visual Studio build, but seems unnecessary.
|
||||
#'focus_manager_unittest.cc',
|
||||
'grid_layout.cc',
|
||||
'group_table_view.cc',
|
||||
'hwnd_view.cc',
|
||||
'hwnd_view_container.cc',
|
||||
'image_view.cc',
|
||||
'label.cc',
|
||||
'layout_manager.cc',
|
||||
'link.cc',
|
||||
'menu.cc',
|
||||
'menu_button.cc',
|
||||
'message_box_view.cc',
|
||||
'native_button.cc',
|
||||
'native_control.cc',
|
||||
'native_scroll_bar.cc',
|
||||
'non_client_view.cc',
|
||||
'painter.cc',
|
||||
'radio_button.cc',
|
||||
'repeat_controller.cc',
|
||||
'resize_corner.cc',
|
||||
'root_view.cc',
|
||||
'root_view_drop_target.cc',
|
||||
'scroll_bar.cc',
|
||||
'scroll_view.cc',
|
||||
'separator.cc',
|
||||
'tabbed_pane.cc',
|
||||
'table_view.cc',
|
||||
'text_button.cc',
|
||||
'text_field.cc',
|
||||
'throbber.cc',
|
||||
'tooltip_manager.cc',
|
||||
'tree_view.cc',
|
||||
'view.cc',
|
||||
'view_storage.cc',
|
||||
'window.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('views', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$CHROME_DIR/tools/build/win',
|
||||
'#/..',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
#'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'../app/resources',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/include/platform',
|
||||
'third_party/wtl/include',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'accelerator.cc',
|
||||
'accelerator_handler.cc',
|
||||
'accessibility/accessible_wrapper.cc',
|
||||
'accessibility/autocomplete_accessibility.cc',
|
||||
'accessibility/view_accessibility.cc',
|
||||
'aero_tooltip_manager.cc',
|
||||
'background.cc',
|
||||
'base_button.cc',
|
||||
'bitmap_scroll_bar.cc',
|
||||
'border.cc',
|
||||
'button.cc',
|
||||
'button_dropdown.cc',
|
||||
'checkbox.cc',
|
||||
'chrome_menu.cc',
|
||||
'client_view.cc',
|
||||
'combo_box.cc',
|
||||
'custom_frame_window.cc',
|
||||
'dialog_client_view.cc',
|
||||
'decision.cc',
|
||||
'event.cc',
|
||||
'external_focus_tracker.cc',
|
||||
'focus_manager.cc',
|
||||
# This was in the Visual Studio build, but seems unnecessary.
|
||||
#'focus_manager_unittest.cc',
|
||||
'grid_layout.cc',
|
||||
'group_table_view.cc',
|
||||
'hwnd_view.cc',
|
||||
'hwnd_view_container.cc',
|
||||
'image_view.cc',
|
||||
'label.cc',
|
||||
'layout_manager.cc',
|
||||
'link.cc',
|
||||
'menu.cc',
|
||||
'menu_button.cc',
|
||||
'message_box_view.cc',
|
||||
'native_button.cc',
|
||||
'native_control.cc',
|
||||
'native_scroll_bar.cc',
|
||||
'non_client_view.cc',
|
||||
'painter.cc',
|
||||
'radio_button.cc',
|
||||
'repeat_controller.cc',
|
||||
'resize_corner.cc',
|
||||
'root_view.cc',
|
||||
'root_view_drop_target.cc',
|
||||
'scroll_bar.cc',
|
||||
'scroll_view.cc',
|
||||
'separator.cc',
|
||||
'tabbed_pane.cc',
|
||||
'table_view.cc',
|
||||
'text_button.cc',
|
||||
'text_field.cc',
|
||||
'throbber.cc',
|
||||
'tooltip_manager.cc',
|
||||
'tree_view.cc',
|
||||
'view.cc',
|
||||
'view_storage.cc',
|
||||
'window.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('views', input_files)
|
||||
|
@ -1,32 +1,32 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.TypeLibrary('google_update_idl')
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.TypeLibrary('google_update_idl')
|
||||
|
640
net/SConscript
640
net/SConscript
@ -1,320 +1,320 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env_res = env.Clone()
|
||||
env_tests = env.Clone()
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ZLIB_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'base/address_list.cc',
|
||||
'base/auth_cache.cc',
|
||||
'base/base64.cc',
|
||||
'base/bzip2_filter.cc',
|
||||
'base/client_socket_factory.cc',
|
||||
'base/client_socket_handle.cc',
|
||||
'base/client_socket_pool.cc',
|
||||
'base/cookie_monster.cc',
|
||||
'base/cookie_policy.cc',
|
||||
'base/data_url.cc',
|
||||
'base/directory_lister.cc',
|
||||
'base/dns_resolution_observer.cc',
|
||||
'base/escape.cc',
|
||||
'base/ev_root_ca_metadata.cc',
|
||||
'base/filter.cc',
|
||||
'base/gzip_filter.cc',
|
||||
'base/gzip_header.cc',
|
||||
'base/host_resolver.cc',
|
||||
'base/listen_socket.cc',
|
||||
'base/mime_sniffer.cc',
|
||||
'base/mime_util.cc',
|
||||
'base/net_errors.cc',
|
||||
'base/net_module.cc',
|
||||
'base/net_util.cc',
|
||||
'base/platform_mime_util_win.cc',
|
||||
'base/registry_controlled_domain.cc',
|
||||
'base/ssl_client_socket.cc',
|
||||
'base/ssl_config_service.cc',
|
||||
'base/tcp_client_socket.cc',
|
||||
'base/telnet_server.cc',
|
||||
'base/upload_data.cc',
|
||||
'base/upload_data_stream.cc',
|
||||
'base/wininet_util.cc',
|
||||
'base/winsock_init.cc',
|
||||
'base/x509_certificate.cc',
|
||||
'disk_cache/backend_impl.cc',
|
||||
'disk_cache/block_files.cc',
|
||||
'disk_cache/entry_impl.cc',
|
||||
'disk_cache/file.cc',
|
||||
'disk_cache/file_lock.cc',
|
||||
'disk_cache/hash.cc',
|
||||
'disk_cache/mapped_file.cc',
|
||||
'disk_cache/mem_backend_impl.cc',
|
||||
'disk_cache/mem_entry_impl.cc',
|
||||
'disk_cache/mem_rankings.cc',
|
||||
'disk_cache/rankings.cc',
|
||||
'disk_cache/stats.cc',
|
||||
'disk_cache/trace.cc',
|
||||
'http/cert_status_cache.cc',
|
||||
'http/http_chunked_decoder.cc',
|
||||
'http/http_cache.cc',
|
||||
'http/http_network_layer.cc',
|
||||
'http/http_network_transaction.cc',
|
||||
'http/http_response_headers.cc',
|
||||
'http/http_transaction_winhttp.cc',
|
||||
'http/http_util.cc',
|
||||
'http/http_vary_data.cc',
|
||||
'http/winhttp_request_throttle.cc',
|
||||
'proxy/proxy_resolver_fixed.cc',
|
||||
'proxy/proxy_resolver_winhttp.cc',
|
||||
'proxy/proxy_service.cc',
|
||||
'url_request/mime_sniffer_proxy.cc',
|
||||
'url_request/url_request.cc',
|
||||
'url_request/url_request_about_job.cc',
|
||||
'url_request/url_request_error_job.cc',
|
||||
'url_request/url_request_file_dir_job.cc',
|
||||
'url_request/url_request_file_job.cc',
|
||||
'url_request/url_request_filter.cc',
|
||||
'url_request/url_request_ftp_job.cc',
|
||||
'url_request/url_request_http_job.cc',
|
||||
'url_request/url_request_inet_job.cc',
|
||||
'url_request/url_request_job.cc',
|
||||
'url_request/url_request_job_manager.cc',
|
||||
'url_request/url_request_job_metrics.cc',
|
||||
'url_request/url_request_job_tracker.cc',
|
||||
'url_request/url_request_simple_job.cc',
|
||||
'url_request/url_request_test_job.cc',
|
||||
'url_request/url_request_view_cache_job.cc',
|
||||
]
|
||||
|
||||
#env_p = env.Clone(
|
||||
# PCHSTOP='precompiled_net.h',
|
||||
# PDB = 'vc80.pdb',
|
||||
#)
|
||||
#pch, obj = env_p.PCH(['net.pch', 'precompiled_net.obj'], 'precompiled_net.cc')
|
||||
#env_p['PCH'] = pch
|
||||
|
||||
#env.ChromeStaticLibrary('net', input_files + [obj])
|
||||
|
||||
# TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
|
||||
# possibly only on incredibuild, scons doesn't know this.
|
||||
env_p = env.Clone()
|
||||
env_p.Append(CCFLAGS='/Ylnet')
|
||||
pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
|
||||
env['PCH'] = pch
|
||||
env['PCHSTOP'] = 'precompiled_net.h'
|
||||
env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
|
||||
|
||||
env.ChromeStaticLibrary('net', input_files + [obj])
|
||||
|
||||
|
||||
env_tests.Prepend(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
'_HAS_EXCEPTIONS=0',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'base',
|
||||
'gtest',
|
||||
'bzip2',
|
||||
'icuuc',
|
||||
'modp_b64',
|
||||
'zlib',
|
||||
'net',
|
||||
]
|
||||
)
|
||||
|
||||
env_tests.Prepend(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
env_tests.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
unittest_files = [
|
||||
'base/auth_cache_unittest.cc',
|
||||
'base/base64_unittest.cc',
|
||||
'base/bzip2_filter_unittest.cc',
|
||||
'base/client_socket_pool_unittest.cc',
|
||||
'base/cookie_monster_unittest.cc',
|
||||
'base/cookie_policy_unittest.cc',
|
||||
'base/data_url_unittest.cc',
|
||||
'base/directory_lister_unittest.cc',
|
||||
'base/escape_unittest.cc',
|
||||
'base/gzip_filter_unittest.cc',
|
||||
'base/mime_sniffer_unittest.cc',
|
||||
'base/mime_util_unittest.cc',
|
||||
'base/net_util_unittest.cc',
|
||||
'base/registry_controlled_domain_unittest.cc',
|
||||
'base/ssl_config_service_unittest.cc',
|
||||
'base/ssl_client_socket_unittest.cc',
|
||||
'base/tcp_client_socket_unittest.cc',
|
||||
'base/wininet_util_unittest.cc',
|
||||
'disk_cache/addr_unittest.cc',
|
||||
'disk_cache/backend_unittest.cc',
|
||||
'disk_cache/block_files_unittest.cc',
|
||||
'disk_cache/disk_cache_test_base.cc',
|
||||
'disk_cache/disk_cache_test_util.cc',
|
||||
'disk_cache/entry_unittest.cc',
|
||||
'disk_cache/mapped_file_unittest.cc',
|
||||
'disk_cache/storage_block_unittest.cc',
|
||||
'http/http_cache_unittest.cc',
|
||||
'http/http_network_layer_unittest.cc',
|
||||
'http/http_network_transaction_unittest.cc',
|
||||
'http/http_response_headers_unittest.cc',
|
||||
'http/http_transaction_unittest.cc',
|
||||
'http/http_transaction_winhttp_unittest.cc',
|
||||
'http/http_util_unittest.cc',
|
||||
'http/http_vary_data_unittest.cc',
|
||||
'http/winhttp_request_throttle_unittest.cc',
|
||||
'url_request/url_request_unittest.cc',
|
||||
'$BASE_DIR/run_all_unittests.obj',
|
||||
]
|
||||
|
||||
net_unittests = env_tests.ChromeTestProgram(
|
||||
['net_unittests.exe',
|
||||
'net_unittests.ilk',
|
||||
'net_unittests.pdb'],
|
||||
unittest_files
|
||||
)
|
||||
|
||||
|
||||
|
||||
stress_cache = env_tests.ChromeTestProgram(
|
||||
['stress_cache.exe',
|
||||
'stress_cache.ilk',
|
||||
'stress_cache.pdb'],
|
||||
['disk_cache/stress_cache.cc',
|
||||
'disk_cache/disk_cache_test_util.cc']
|
||||
)
|
||||
|
||||
|
||||
crash_cache = env_tests.ChromeTestProgram(
|
||||
['crash_cache.exe',
|
||||
'crash_cache.ilk',
|
||||
'crash_cache.pdb'],
|
||||
['tools/crash_cache/crash_cache.cc',
|
||||
'disk_cache/disk_cache_test_util.cc']
|
||||
)
|
||||
|
||||
|
||||
net_perftests = env_tests.ChromeTestProgram(
|
||||
['net_perftests.exe',
|
||||
'net_perftests.ilk',
|
||||
'net_perftests.pdb'],
|
||||
['disk_cache/disk_cache_test_util.cc',
|
||||
'disk_cache/disk_cache_perftest.cc',
|
||||
'base/cookie_monster_perftest.cc',
|
||||
# TODO(sgk): avoid using .cc from base directly
|
||||
'$BASE_DIR/run_all_perftests$OBJSUFFIX',
|
||||
'$BASE_DIR/perftimer$OBJSUFFIX']
|
||||
)
|
||||
|
||||
|
||||
# Create install of tests.
|
||||
installed_tests = env.Install(
|
||||
'$TARGET_ROOT',
|
||||
net_unittests + stress_cache + crash_cache + net_perftests
|
||||
)
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
# This dat file needed by net_resources is generated.
|
||||
tld_names_clean = env_res.Command('net/effective_tld_names_clean.dat',
|
||||
['base/effective_tld_names.dat',
|
||||
'tools/tld_cleanup/tld_cleanup.exe'],
|
||||
'${SOURCES[1]} ${SOURCES[0]} $TARGET')
|
||||
rc = env_res.Command('net_resources.rc',
|
||||
'base/net_resources.rc',
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
net_resources = env_res.RES(rc)
|
||||
env_res.Depends(rc, tld_names_clean)
|
||||
|
||||
|
||||
sconscript_files = [
|
||||
'tools/tld_cleanup/SConscript',
|
||||
]
|
||||
|
||||
SConscript(sconscript_files, exports=['env'])
|
||||
|
||||
|
||||
# Setup alias for building all parts of net.
|
||||
env.Alias('net', ['.', installed_tests, '../icudt38.dll'])
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env_res = env.Clone()
|
||||
env_tests = env.Clone()
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ZLIB_DIR',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'base/address_list.cc',
|
||||
'base/auth_cache.cc',
|
||||
'base/base64.cc',
|
||||
'base/bzip2_filter.cc',
|
||||
'base/client_socket_factory.cc',
|
||||
'base/client_socket_handle.cc',
|
||||
'base/client_socket_pool.cc',
|
||||
'base/cookie_monster.cc',
|
||||
'base/cookie_policy.cc',
|
||||
'base/data_url.cc',
|
||||
'base/directory_lister.cc',
|
||||
'base/dns_resolution_observer.cc',
|
||||
'base/escape.cc',
|
||||
'base/ev_root_ca_metadata.cc',
|
||||
'base/filter.cc',
|
||||
'base/gzip_filter.cc',
|
||||
'base/gzip_header.cc',
|
||||
'base/host_resolver.cc',
|
||||
'base/listen_socket.cc',
|
||||
'base/mime_sniffer.cc',
|
||||
'base/mime_util.cc',
|
||||
'base/net_errors.cc',
|
||||
'base/net_module.cc',
|
||||
'base/net_util.cc',
|
||||
'base/platform_mime_util_win.cc',
|
||||
'base/registry_controlled_domain.cc',
|
||||
'base/ssl_client_socket.cc',
|
||||
'base/ssl_config_service.cc',
|
||||
'base/tcp_client_socket.cc',
|
||||
'base/telnet_server.cc',
|
||||
'base/upload_data.cc',
|
||||
'base/upload_data_stream.cc',
|
||||
'base/wininet_util.cc',
|
||||
'base/winsock_init.cc',
|
||||
'base/x509_certificate.cc',
|
||||
'disk_cache/backend_impl.cc',
|
||||
'disk_cache/block_files.cc',
|
||||
'disk_cache/entry_impl.cc',
|
||||
'disk_cache/file.cc',
|
||||
'disk_cache/file_lock.cc',
|
||||
'disk_cache/hash.cc',
|
||||
'disk_cache/mapped_file.cc',
|
||||
'disk_cache/mem_backend_impl.cc',
|
||||
'disk_cache/mem_entry_impl.cc',
|
||||
'disk_cache/mem_rankings.cc',
|
||||
'disk_cache/rankings.cc',
|
||||
'disk_cache/stats.cc',
|
||||
'disk_cache/trace.cc',
|
||||
'http/cert_status_cache.cc',
|
||||
'http/http_chunked_decoder.cc',
|
||||
'http/http_cache.cc',
|
||||
'http/http_network_layer.cc',
|
||||
'http/http_network_transaction.cc',
|
||||
'http/http_response_headers.cc',
|
||||
'http/http_transaction_winhttp.cc',
|
||||
'http/http_util.cc',
|
||||
'http/http_vary_data.cc',
|
||||
'http/winhttp_request_throttle.cc',
|
||||
'proxy/proxy_resolver_fixed.cc',
|
||||
'proxy/proxy_resolver_winhttp.cc',
|
||||
'proxy/proxy_service.cc',
|
||||
'url_request/mime_sniffer_proxy.cc',
|
||||
'url_request/url_request.cc',
|
||||
'url_request/url_request_about_job.cc',
|
||||
'url_request/url_request_error_job.cc',
|
||||
'url_request/url_request_file_dir_job.cc',
|
||||
'url_request/url_request_file_job.cc',
|
||||
'url_request/url_request_filter.cc',
|
||||
'url_request/url_request_ftp_job.cc',
|
||||
'url_request/url_request_http_job.cc',
|
||||
'url_request/url_request_inet_job.cc',
|
||||
'url_request/url_request_job.cc',
|
||||
'url_request/url_request_job_manager.cc',
|
||||
'url_request/url_request_job_metrics.cc',
|
||||
'url_request/url_request_job_tracker.cc',
|
||||
'url_request/url_request_simple_job.cc',
|
||||
'url_request/url_request_test_job.cc',
|
||||
'url_request/url_request_view_cache_job.cc',
|
||||
]
|
||||
|
||||
#env_p = env.Clone(
|
||||
# PCHSTOP='precompiled_net.h',
|
||||
# PDB = 'vc80.pdb',
|
||||
#)
|
||||
#pch, obj = env_p.PCH(['net.pch', 'precompiled_net.obj'], 'precompiled_net.cc')
|
||||
#env_p['PCH'] = pch
|
||||
|
||||
#env.ChromeStaticLibrary('net', input_files + [obj])
|
||||
|
||||
# TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
|
||||
# possibly only on incredibuild, scons doesn't know this.
|
||||
env_p = env.Clone()
|
||||
env_p.Append(CCFLAGS='/Ylnet')
|
||||
pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
|
||||
env['PCH'] = pch
|
||||
env['PCHSTOP'] = 'precompiled_net.h'
|
||||
env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
|
||||
|
||||
env.ChromeStaticLibrary('net', input_files + [obj])
|
||||
|
||||
|
||||
env_tests.Prepend(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
],
|
||||
CPPDEFINES = [
|
||||
'UNIT_TEST',
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
'_HAS_EXCEPTIONS=0',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'base',
|
||||
'gtest',
|
||||
'bzip2',
|
||||
'icuuc',
|
||||
'modp_b64',
|
||||
'zlib',
|
||||
'net',
|
||||
]
|
||||
)
|
||||
|
||||
env_tests.Prepend(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
LINKFLAGS = [
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
env_tests.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
unittest_files = [
|
||||
'base/auth_cache_unittest.cc',
|
||||
'base/base64_unittest.cc',
|
||||
'base/bzip2_filter_unittest.cc',
|
||||
'base/client_socket_pool_unittest.cc',
|
||||
'base/cookie_monster_unittest.cc',
|
||||
'base/cookie_policy_unittest.cc',
|
||||
'base/data_url_unittest.cc',
|
||||
'base/directory_lister_unittest.cc',
|
||||
'base/escape_unittest.cc',
|
||||
'base/gzip_filter_unittest.cc',
|
||||
'base/mime_sniffer_unittest.cc',
|
||||
'base/mime_util_unittest.cc',
|
||||
'base/net_util_unittest.cc',
|
||||
'base/registry_controlled_domain_unittest.cc',
|
||||
'base/ssl_config_service_unittest.cc',
|
||||
'base/ssl_client_socket_unittest.cc',
|
||||
'base/tcp_client_socket_unittest.cc',
|
||||
'base/wininet_util_unittest.cc',
|
||||
'disk_cache/addr_unittest.cc',
|
||||
'disk_cache/backend_unittest.cc',
|
||||
'disk_cache/block_files_unittest.cc',
|
||||
'disk_cache/disk_cache_test_base.cc',
|
||||
'disk_cache/disk_cache_test_util.cc',
|
||||
'disk_cache/entry_unittest.cc',
|
||||
'disk_cache/mapped_file_unittest.cc',
|
||||
'disk_cache/storage_block_unittest.cc',
|
||||
'http/http_cache_unittest.cc',
|
||||
'http/http_network_layer_unittest.cc',
|
||||
'http/http_network_transaction_unittest.cc',
|
||||
'http/http_response_headers_unittest.cc',
|
||||
'http/http_transaction_unittest.cc',
|
||||
'http/http_transaction_winhttp_unittest.cc',
|
||||
'http/http_util_unittest.cc',
|
||||
'http/http_vary_data_unittest.cc',
|
||||
'http/winhttp_request_throttle_unittest.cc',
|
||||
'url_request/url_request_unittest.cc',
|
||||
'$BASE_DIR/run_all_unittests.obj',
|
||||
]
|
||||
|
||||
net_unittests = env_tests.ChromeTestProgram(
|
||||
['net_unittests.exe',
|
||||
'net_unittests.ilk',
|
||||
'net_unittests.pdb'],
|
||||
unittest_files
|
||||
)
|
||||
|
||||
|
||||
|
||||
stress_cache = env_tests.ChromeTestProgram(
|
||||
['stress_cache.exe',
|
||||
'stress_cache.ilk',
|
||||
'stress_cache.pdb'],
|
||||
['disk_cache/stress_cache.cc',
|
||||
'disk_cache/disk_cache_test_util.cc']
|
||||
)
|
||||
|
||||
|
||||
crash_cache = env_tests.ChromeTestProgram(
|
||||
['crash_cache.exe',
|
||||
'crash_cache.ilk',
|
||||
'crash_cache.pdb'],
|
||||
['tools/crash_cache/crash_cache.cc',
|
||||
'disk_cache/disk_cache_test_util.cc']
|
||||
)
|
||||
|
||||
|
||||
net_perftests = env_tests.ChromeTestProgram(
|
||||
['net_perftests.exe',
|
||||
'net_perftests.ilk',
|
||||
'net_perftests.pdb'],
|
||||
['disk_cache/disk_cache_test_util.cc',
|
||||
'disk_cache/disk_cache_perftest.cc',
|
||||
'base/cookie_monster_perftest.cc',
|
||||
# TODO(sgk): avoid using .cc from base directly
|
||||
'$BASE_DIR/run_all_perftests$OBJSUFFIX',
|
||||
'$BASE_DIR/perftimer$OBJSUFFIX']
|
||||
)
|
||||
|
||||
|
||||
# Create install of tests.
|
||||
installed_tests = env.Install(
|
||||
'$TARGET_ROOT',
|
||||
net_unittests + stress_cache + crash_cache + net_perftests
|
||||
)
|
||||
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
'..',
|
||||
],
|
||||
RCFLAGS = [
|
||||
['/l', '0x409'],
|
||||
],
|
||||
)
|
||||
|
||||
# This dat file needed by net_resources is generated.
|
||||
tld_names_clean = env_res.Command('net/effective_tld_names_clean.dat',
|
||||
['base/effective_tld_names.dat',
|
||||
'tools/tld_cleanup/tld_cleanup.exe'],
|
||||
'${SOURCES[1]} ${SOURCES[0]} $TARGET')
|
||||
rc = env_res.Command('net_resources.rc',
|
||||
'base/net_resources.rc',
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
net_resources = env_res.RES(rc)
|
||||
env_res.Depends(rc, tld_names_clean)
|
||||
|
||||
|
||||
sconscript_files = [
|
||||
'tools/tld_cleanup/SConscript',
|
||||
]
|
||||
|
||||
SConscript(sconscript_files, exports=['env'])
|
||||
|
||||
|
||||
# Setup alias for building all parts of net.
|
||||
env.Alias('net', ['.', installed_tests, '../icudt38.dll'])
|
||||
|
||||
|
@ -1,79 +1,79 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../../..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
# We only need to link with net due to use precompiled_net.pch.
|
||||
'net',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/DEBUG',
|
||||
'/SUBSYSTEM:CONSOLE',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'tld_cleanup.cc',
|
||||
]
|
||||
|
||||
exe_targets = env.ChromeProgram(['tld_cleanup',
|
||||
'tld_cleanup.ilk',
|
||||
'tld_cleanup.pdb'],
|
||||
input_files)
|
||||
i = env.Install('$TARGET_ROOT', exe_targets)
|
||||
env.Alias('net', i)
|
||||
|
||||
env.Install('$TARGET_ROOT', exe_targets)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../../..',
|
||||
],
|
||||
LIBS = [
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
# We only need to link with net due to use precompiled_net.pch.
|
||||
'net',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
],
|
||||
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/DEBUG',
|
||||
'/SUBSYSTEM:CONSOLE',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'tld_cleanup.cc',
|
||||
]
|
||||
|
||||
exe_targets = env.ChromeProgram(['tld_cleanup',
|
||||
'tld_cleanup.ilk',
|
||||
'tld_cleanup.pdb'],
|
||||
input_files)
|
||||
i = env.Install('$TARGET_ROOT', exe_targets)
|
||||
env.Alias('net', i)
|
||||
|
||||
env.Install('$TARGET_ROOT', exe_targets)
|
||||
|
@ -1,34 +1,34 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.Install('$TARGET_ROOT',
|
||||
['binaries/rlz.dll',
|
||||
'binaries/rlz_dll.pdb'])
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.Install('$TARGET_ROOT',
|
||||
['binaries/rlz.dll',
|
||||
'binaries/rlz_dll.pdb'])
|
||||
|
@ -1,297 +1,297 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../..',
|
||||
],
|
||||
)
|
||||
|
||||
# Some of the sandbox sources include "gtest.h", so we need it
|
||||
# in the base env here, not just in env_tests.
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/WX', # treat warnings as errors
|
||||
'/Wp64', # warn about potential 64-bit problems
|
||||
],
|
||||
)
|
||||
|
||||
env_tests = env.Clone(
|
||||
TESTS_DIR = '../tests',
|
||||
INTEGRATION_TESTS_DIR = '$TESTS_DIR/integration_tests',
|
||||
UNIT_TESTS_DIR = '$TESTS_DIR/unit_tests',
|
||||
VALIDATION_TESTS_DIR = '$TESTS_DIR/validation_tests',
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'Wow64.cc',
|
||||
'acl.cc',
|
||||
'broker_services.cc',
|
||||
'crosscall_server.cc',
|
||||
'dep.cc',
|
||||
'eat_resolver.cc',
|
||||
'filesystem_dispatcher.cc',
|
||||
'filesystem_interception.cc',
|
||||
'filesystem_policy.cc',
|
||||
'interception.cc',
|
||||
'interception_agent.cc',
|
||||
'job.cc',
|
||||
'named_pipe_dispatcher.cc',
|
||||
'named_pipe_interception.cc',
|
||||
'named_pipe_policy.cc',
|
||||
'pe_image.cc',
|
||||
'policy_broker.cc',
|
||||
'policy_engine_opcodes.cc',
|
||||
'policy_engine_processor.cc',
|
||||
'policy_low_level.cc',
|
||||
'policy_target.cc',
|
||||
'process_thread_dispatcher.cc',
|
||||
'process_thread_interception.cc',
|
||||
'process_thread_policy.cc',
|
||||
'registry_dispatcher.cc',
|
||||
'registry_interception.cc',
|
||||
'registry_policy.cc',
|
||||
'resolver.cc',
|
||||
'restricted_token.cc',
|
||||
'restricted_token_utils.cc',
|
||||
'sandbox.cc',
|
||||
'sandbox_nt_util.cc',
|
||||
'sandbox_policy_base.cc',
|
||||
'sandbox_utils.cc',
|
||||
'service_resolver.cc',
|
||||
'shared_handles.cc',
|
||||
'sharedmem_ipc_client.cc',
|
||||
'sharedmem_ipc_server.cc',
|
||||
'sid.cc',
|
||||
'sidestep/ia32_modrm_map.cpp',
|
||||
'sidestep/ia32_opcode_map.cpp',
|
||||
'sidestep/mini_disassembler.cpp',
|
||||
'sidestep/preamble_patcher_with_stub.cpp',
|
||||
'sidestep_resolver.cc',
|
||||
'sync_dispatcher.cc',
|
||||
'sync_interception.cc',
|
||||
'sync_policy.cc',
|
||||
'target_interceptions.cc',
|
||||
'target_process.cc',
|
||||
'target_services.cc',
|
||||
'win2k_threadpool.cc',
|
||||
'win_utils.cc',
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates sandbox.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env.Clone()
|
||||
env_p.Append(CCFLAGS='/Ylsandbox')
|
||||
pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc')
|
||||
env['PCH'] = pch
|
||||
env['PCHSTOP'] = 'stdafx.h'
|
||||
env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
|
||||
env.ChromeStaticLibrary('sandbox', input_files + [obj])
|
||||
|
||||
|
||||
env_tests.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/DELAYLOAD:dwmapi.dll',
|
||||
'/DELAYLOAD:uxtheme.dll',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'gtest',
|
||||
'sandbox',
|
||||
],
|
||||
LIBPATH = [
|
||||
'.',
|
||||
'$BASE_DIR'
|
||||
],
|
||||
)
|
||||
|
||||
controller_obj = env_tests.StaticObject('$TESTS_DIR/common/controller.cc')
|
||||
|
||||
|
||||
# Unit Tests
|
||||
|
||||
env_unit_tests = env_tests.Clone()
|
||||
|
||||
unit_test_files = [
|
||||
'interception_unittest.cc',
|
||||
'ipc_unittest.cc',
|
||||
'job_unittest.cc',
|
||||
'pe_image_unittest.cc',
|
||||
'policy_engine_unittest.cc',
|
||||
'policy_low_level_unittest.cc',
|
||||
'policy_opcodes_unittest.cc',
|
||||
'restricted_token_unittest.cc',
|
||||
'service_resolver_unittest.cc',
|
||||
'sid_unittest.cc',
|
||||
'threadpool_unittest.cc',
|
||||
|
||||
'$UNIT_TESTS_DIR/unit_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env_unit_tests.Clone()
|
||||
pch, obj = env_p.PCH(['$UNIT_TESTS_DIR/unit_tests.pch',
|
||||
'$UNIT_TESTS_DIR/unit_tests.obj'],
|
||||
'$UNIT_TESTS_DIR/unit_tests.cc')
|
||||
env_unit_tests['PCH'] = pch
|
||||
env_unit_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_unit_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
|
||||
unit_tests = env_unit_tests.ChromeTestProgram(
|
||||
['../sbox_unittests.exe',
|
||||
'../sbox_unittests.ilk',
|
||||
'../sbox_unittests.pdb'],
|
||||
unit_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Integration Tests
|
||||
|
||||
env_integration_tests = env_tests.Clone()
|
||||
|
||||
integration_test_files = [
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests_test.cc',
|
||||
# 'dep_test.cc',
|
||||
'file_policy_test.cc',
|
||||
'integrity_level_test.cc',
|
||||
'ipc_ping_test.cc',
|
||||
'named_pipe_policy_test.cc',
|
||||
'policy_target_test.cc',
|
||||
'process_policy_test.cc',
|
||||
'registry_policy_test.cc',
|
||||
'sync_policy_test.cc',
|
||||
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates integration_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env_integration_tests.Clone()
|
||||
pch, obj = env_p.PCH(['$INTEGRATION_TESTS_DIR/integration_tests.pch',
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests.obj'],
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests.cc')
|
||||
env_integration_tests['PCH'] = pch
|
||||
env_integration_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_integration_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
integration_tests = env_integration_tests.ChromeTestProgram(
|
||||
['../sbox_integration_tests.exe',
|
||||
'../sbox_integration_tests.ilk',
|
||||
'../sbox_integration_tests.lib',
|
||||
'../sbox_integration_tests.exp',
|
||||
'../sbox_integration_tests.pdb'],
|
||||
integration_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Validation Tests #
|
||||
|
||||
env_validation_tests = env_tests.Clone()
|
||||
|
||||
env_validation_tests.Prepend(LIBS=['shlwapi.lib'])
|
||||
|
||||
validation_test_files = [
|
||||
'$VALIDATION_TESTS_DIR/suite.cc',
|
||||
'$VALIDATION_TESTS_DIR/commands.cc',
|
||||
'$VALIDATION_TESTS_DIR/unit_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
env_p = env_validation_tests.Clone()
|
||||
|
||||
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
pch, obj = env_p.PCH(['$VALIDATION_TESTS_DIR/unit_tests.pch',
|
||||
'$VALIDATION_TESTS_DIR/unit_tests.obj'],
|
||||
'$VALIDATION_TESTS_DIR/unit_tests.cc')
|
||||
env_validation_tests['PCH'] = pch
|
||||
env_validation_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_validation_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
validation_tests = env_validation_tests.ChromeTestProgram(
|
||||
['../sbox_validation_tests.exe',
|
||||
'../sbox_validation_tests.ilk',
|
||||
'../sbox_validation_tests.lib',
|
||||
'../sbox_validation_tests.exp',
|
||||
'../sbox_validation_tests.pdb'],
|
||||
validation_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Install tests to a path where they can find their inputs.
|
||||
installed_tests = env.Install('$OBJ_ROOT',
|
||||
unit_tests + validation_tests + integration_tests)
|
||||
|
||||
|
||||
# Setup alias for sandbox related targets.
|
||||
env.Alias('sandbox', ['.', installed_tests])
|
||||
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../..',
|
||||
],
|
||||
)
|
||||
|
||||
# Some of the sandbox sources include "gtest.h", so we need it
|
||||
# in the base env here, not just in env_tests.
|
||||
env.Append(
|
||||
CPPPATH = [
|
||||
'$GTEST_DIR/include',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/WX', # treat warnings as errors
|
||||
'/Wp64', # warn about potential 64-bit problems
|
||||
],
|
||||
)
|
||||
|
||||
env_tests = env.Clone(
|
||||
TESTS_DIR = '../tests',
|
||||
INTEGRATION_TESTS_DIR = '$TESTS_DIR/integration_tests',
|
||||
UNIT_TESTS_DIR = '$TESTS_DIR/unit_tests',
|
||||
VALIDATION_TESTS_DIR = '$TESTS_DIR/validation_tests',
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'Wow64.cc',
|
||||
'acl.cc',
|
||||
'broker_services.cc',
|
||||
'crosscall_server.cc',
|
||||
'dep.cc',
|
||||
'eat_resolver.cc',
|
||||
'filesystem_dispatcher.cc',
|
||||
'filesystem_interception.cc',
|
||||
'filesystem_policy.cc',
|
||||
'interception.cc',
|
||||
'interception_agent.cc',
|
||||
'job.cc',
|
||||
'named_pipe_dispatcher.cc',
|
||||
'named_pipe_interception.cc',
|
||||
'named_pipe_policy.cc',
|
||||
'pe_image.cc',
|
||||
'policy_broker.cc',
|
||||
'policy_engine_opcodes.cc',
|
||||
'policy_engine_processor.cc',
|
||||
'policy_low_level.cc',
|
||||
'policy_target.cc',
|
||||
'process_thread_dispatcher.cc',
|
||||
'process_thread_interception.cc',
|
||||
'process_thread_policy.cc',
|
||||
'registry_dispatcher.cc',
|
||||
'registry_interception.cc',
|
||||
'registry_policy.cc',
|
||||
'resolver.cc',
|
||||
'restricted_token.cc',
|
||||
'restricted_token_utils.cc',
|
||||
'sandbox.cc',
|
||||
'sandbox_nt_util.cc',
|
||||
'sandbox_policy_base.cc',
|
||||
'sandbox_utils.cc',
|
||||
'service_resolver.cc',
|
||||
'shared_handles.cc',
|
||||
'sharedmem_ipc_client.cc',
|
||||
'sharedmem_ipc_server.cc',
|
||||
'sid.cc',
|
||||
'sidestep/ia32_modrm_map.cpp',
|
||||
'sidestep/ia32_opcode_map.cpp',
|
||||
'sidestep/mini_disassembler.cpp',
|
||||
'sidestep/preamble_patcher_with_stub.cpp',
|
||||
'sidestep_resolver.cc',
|
||||
'sync_dispatcher.cc',
|
||||
'sync_interception.cc',
|
||||
'sync_policy.cc',
|
||||
'target_interceptions.cc',
|
||||
'target_process.cc',
|
||||
'target_services.cc',
|
||||
'win2k_threadpool.cc',
|
||||
'win_utils.cc',
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates sandbox.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env.Clone()
|
||||
env_p.Append(CCFLAGS='/Ylsandbox')
|
||||
pch, obj = env_p.PCH(['sandbox.pch', 'stdafx.obj'], 'stdafx.cc')
|
||||
env['PCH'] = pch
|
||||
env['PCHSTOP'] = 'stdafx.h'
|
||||
env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
|
||||
env.ChromeStaticLibrary('sandbox', input_files + [obj])
|
||||
|
||||
|
||||
env_tests.Prepend(
|
||||
LINKFLAGS = [
|
||||
'/DELAYLOAD:dwmapi.dll',
|
||||
'/DELAYLOAD:uxtheme.dll',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
],
|
||||
LIBS = [
|
||||
'base',
|
||||
'gtest',
|
||||
'sandbox',
|
||||
],
|
||||
LIBPATH = [
|
||||
'.',
|
||||
'$BASE_DIR'
|
||||
],
|
||||
)
|
||||
|
||||
controller_obj = env_tests.StaticObject('$TESTS_DIR/common/controller.cc')
|
||||
|
||||
|
||||
# Unit Tests
|
||||
|
||||
env_unit_tests = env_tests.Clone()
|
||||
|
||||
unit_test_files = [
|
||||
'interception_unittest.cc',
|
||||
'ipc_unittest.cc',
|
||||
'job_unittest.cc',
|
||||
'pe_image_unittest.cc',
|
||||
'policy_engine_unittest.cc',
|
||||
'policy_low_level_unittest.cc',
|
||||
'policy_opcodes_unittest.cc',
|
||||
'restricted_token_unittest.cc',
|
||||
'service_resolver_unittest.cc',
|
||||
'sid_unittest.cc',
|
||||
'threadpool_unittest.cc',
|
||||
|
||||
'$UNIT_TESTS_DIR/unit_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env_unit_tests.Clone()
|
||||
pch, obj = env_p.PCH(['$UNIT_TESTS_DIR/unit_tests.pch',
|
||||
'$UNIT_TESTS_DIR/unit_tests.obj'],
|
||||
'$UNIT_TESTS_DIR/unit_tests.cc')
|
||||
env_unit_tests['PCH'] = pch
|
||||
env_unit_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_unit_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
|
||||
unit_tests = env_unit_tests.ChromeTestProgram(
|
||||
['../sbox_unittests.exe',
|
||||
'../sbox_unittests.ilk',
|
||||
'../sbox_unittests.pdb'],
|
||||
unit_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Integration Tests
|
||||
|
||||
env_integration_tests = env_tests.Clone()
|
||||
|
||||
integration_test_files = [
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests_test.cc',
|
||||
# 'dep_test.cc',
|
||||
'file_policy_test.cc',
|
||||
'integrity_level_test.cc',
|
||||
'ipc_ping_test.cc',
|
||||
'named_pipe_policy_test.cc',
|
||||
'policy_target_test.cc',
|
||||
'process_policy_test.cc',
|
||||
'registry_policy_test.cc',
|
||||
'sync_policy_test.cc',
|
||||
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
|
||||
# TODO(bradnelson): This step generates integration_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
env_p = env_integration_tests.Clone()
|
||||
pch, obj = env_p.PCH(['$INTEGRATION_TESTS_DIR/integration_tests.pch',
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests.obj'],
|
||||
'$INTEGRATION_TESTS_DIR/integration_tests.cc')
|
||||
env_integration_tests['PCH'] = pch
|
||||
env_integration_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_integration_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
integration_tests = env_integration_tests.ChromeTestProgram(
|
||||
['../sbox_integration_tests.exe',
|
||||
'../sbox_integration_tests.ilk',
|
||||
'../sbox_integration_tests.lib',
|
||||
'../sbox_integration_tests.exp',
|
||||
'../sbox_integration_tests.pdb'],
|
||||
integration_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Validation Tests #
|
||||
|
||||
env_validation_tests = env_tests.Clone()
|
||||
|
||||
env_validation_tests.Prepend(LIBS=['shlwapi.lib'])
|
||||
|
||||
validation_test_files = [
|
||||
'$VALIDATION_TESTS_DIR/suite.cc',
|
||||
'$VALIDATION_TESTS_DIR/commands.cc',
|
||||
'$VALIDATION_TESTS_DIR/unit_tests$OBJSUFFIX',
|
||||
# The VisualStudio build link with the old gtest.obj file directly,
|
||||
# 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
|
||||
# all pass!), but we're leaving this here, commented out, just in case.
|
||||
#'$GTEST_DIR/src/gtest$OBJSUFFIX',
|
||||
controller_obj,
|
||||
]
|
||||
|
||||
env_p = env_validation_tests.Clone()
|
||||
|
||||
# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
|
||||
# SCons doesn't know.
|
||||
pch, obj = env_p.PCH(['$VALIDATION_TESTS_DIR/unit_tests.pch',
|
||||
'$VALIDATION_TESTS_DIR/unit_tests.obj'],
|
||||
'$VALIDATION_TESTS_DIR/unit_tests.cc')
|
||||
env_validation_tests['PCH'] = pch
|
||||
env_validation_tests['PCHSTOP'] = 'stdafx.h'
|
||||
env_validation_tests.Append(CCPCHFLAGS = ['/FIstdafx.h'])
|
||||
|
||||
validation_tests = env_validation_tests.ChromeTestProgram(
|
||||
['../sbox_validation_tests.exe',
|
||||
'../sbox_validation_tests.ilk',
|
||||
'../sbox_validation_tests.lib',
|
||||
'../sbox_validation_tests.exp',
|
||||
'../sbox_validation_tests.pdb'],
|
||||
validation_test_files,
|
||||
)
|
||||
|
||||
|
||||
# Install tests to a path where they can find their inputs.
|
||||
installed_tests = env.Install('$OBJ_ROOT',
|
||||
unit_tests + validation_tests + integration_tests)
|
||||
|
||||
|
||||
# Setup alias for sandbox related targets.
|
||||
env.Alias('sandbox', ['.', installed_tests])
|
||||
|
||||
|
||||
|
386
skia/SConscript
386
skia/SConscript
@ -1,193 +1,193 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'include',
|
||||
'include/corecg',
|
||||
'corecg',
|
||||
'sgl',
|
||||
'picture',
|
||||
'#..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'SKIA_DISABLE_SUPPORT_FOR_DECODERS',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4244',
|
||||
'/wd4267',
|
||||
'/wd4345',
|
||||
'/wd4390',
|
||||
'/wd4554',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'animator/SkTime.cpp',
|
||||
'corecg/Sk64.cpp',
|
||||
'corecg/SkBuffer.cpp',
|
||||
'corecg/SkChunkAlloc.cpp',
|
||||
'corecg/SkCordic.cpp',
|
||||
'corecg/SkDebug.cpp',
|
||||
'corecg/SkDebug_stdio.cpp',
|
||||
'corecg/SkFloat.cpp',
|
||||
'corecg/SkInterpolator.cpp',
|
||||
'corecg/SkMath.cpp',
|
||||
'corecg/SkMatrix.cpp',
|
||||
'corecg/SkMemory_stdlib.cpp',
|
||||
'corecg/SkPoint.cpp',
|
||||
'corecg/SkRect.cpp',
|
||||
'corecg/SkRegion.cpp',
|
||||
'effects/Sk1DPathEffect.cpp',
|
||||
'effects/Sk2DPathEffect.cpp',
|
||||
'effects/SkAvoidXfermode.cpp',
|
||||
'effects/SkBlurDrawLooper.cpp',
|
||||
'effects/SkBlurMask.cpp',
|
||||
'effects/SkBlurMaskFilter.cpp',
|
||||
'effects/SkCamera.cpp',
|
||||
'effects/SkColorFilters.cpp',
|
||||
'effects/SkColorMatrix.cpp',
|
||||
'effects/SkColorMatrixFilter.cpp',
|
||||
'effects/SkCornerPathEffect.cpp',
|
||||
'effects/SkCullPoints.cpp',
|
||||
'effects/SkDashPathEffect.cpp',
|
||||
'effects/SkDiscretePathEffect.cpp',
|
||||
'effects/SkEmbossMask.cpp',
|
||||
'effects/SkEmbossMaskFilter.cpp',
|
||||
'effects/SkGradientShader.cpp',
|
||||
'effects/SkKernel33MaskFilter.cpp',
|
||||
'effects/SkLayerRasterizer.cpp',
|
||||
'effects/SkPaintFlagsDrawFilter.cpp',
|
||||
'effects/SkPixelXorXfermode.cpp',
|
||||
'effects/SkShaderExtras.cpp',
|
||||
'effects/SkTransparentShader.cpp',
|
||||
'effects/SkUnitMappers.cpp',
|
||||
'images/SkImageDecoder.cpp',
|
||||
'images/SkImageRef.cpp',
|
||||
'images/SkStream.cpp',
|
||||
'images/SkStream.cpp',
|
||||
'picture/SkPictureFlat.cpp',
|
||||
'picture/SkPicturePlayback.cpp',
|
||||
'picture/SkPictureRecord.cpp',
|
||||
'ports/SkFontHost_none.cpp',
|
||||
'ports/SkGlobals_global.cpp',
|
||||
'ports/SkImageDecoder_Factory.cpp',
|
||||
'ports/SkOSFile_stdio.cpp',
|
||||
'ports/SkThread_win.cpp',
|
||||
'sgl/SkAlphaRuns.cpp',
|
||||
'sgl/SkBitmap.cpp',
|
||||
'sgl/SkBitmapProcShader.cpp',
|
||||
'sgl/SkBitmapProcState.cpp',
|
||||
'sgl/SkBitmapProcState_matrixProcs.cpp',
|
||||
'sgl/SkBitmapSampler.cpp',
|
||||
'sgl/SkBitmapShader.cpp',
|
||||
'sgl/SkBlitRow_D16.cpp',
|
||||
'sgl/SkBlitRow_D4444.cpp',
|
||||
'sgl/SkBlitter.cpp',
|
||||
'sgl/SkBlitter_4444.cpp',
|
||||
'sgl/SkBlitter_A1.cpp',
|
||||
'sgl/SkBlitter_A8.cpp',
|
||||
'sgl/SkBlitter_ARGB32.cpp',
|
||||
'sgl/SkBlitter_RGB16.cpp',
|
||||
'sgl/SkBlitter_Sprite.cpp',
|
||||
'sgl/SkCanvas.cpp',
|
||||
'sgl/SkColor.cpp',
|
||||
'sgl/SkColorFilter.cpp',
|
||||
'sgl/SkColorTable.cpp',
|
||||
'sgl/SkDeque.cpp',
|
||||
'sgl/SkDevice.cpp',
|
||||
'sgl/SkDither.cpp',
|
||||
'sgl/SkDraw.cpp',
|
||||
'sgl/SkEdge.cpp',
|
||||
'sgl/SkFilterProc.cpp',
|
||||
'sgl/SkFlattenable.cpp',
|
||||
'sgl/SkGeometry.cpp',
|
||||
'sgl/SkGlobals.cpp',
|
||||
'sgl/SkGlyphCache.cpp',
|
||||
'sgl/SkGraphics.cpp',
|
||||
'sgl/SkMask.cpp',
|
||||
'sgl/SkMaskFilter.cpp',
|
||||
'sgl/SkPackBits.cpp',
|
||||
'sgl/SkPaint.cpp',
|
||||
'sgl/SkPath.cpp',
|
||||
'sgl/SkPathEffect.cpp',
|
||||
'sgl/SkPathMeasure.cpp',
|
||||
'sgl/SkPicture.cpp',
|
||||
'sgl/SkPixelRef.cpp',
|
||||
'sgl/SkProcSpriteBlitter.cpp',
|
||||
'sgl/SkPtrRecorder.cpp',
|
||||
'sgl/SkRasterizer.cpp',
|
||||
'sgl/SkRefCnt.cpp',
|
||||
'sgl/SkRegion_path.cpp',
|
||||
'sgl/SkScalerContext.cpp',
|
||||
'sgl/SkScan.cpp',
|
||||
'sgl/SkScan_Antihair.cpp',
|
||||
'sgl/SkScan_AntiPath.cpp',
|
||||
'sgl/SkScan_Hairline.cpp',
|
||||
'sgl/SkScan_Path.cpp',
|
||||
'sgl/SkShader.cpp',
|
||||
'sgl/SkSpriteBlitter_ARGB32.cpp',
|
||||
'sgl/SkSpriteBlitter_RGB16.cpp',
|
||||
'sgl/SkString.cpp',
|
||||
'sgl/SkStroke.cpp',
|
||||
'sgl/SkStrokerPriv.cpp',
|
||||
'sgl/SkTSearch.cpp',
|
||||
'sgl/SkTypeface_fake.cpp',
|
||||
'sgl/SkUtils.cpp',
|
||||
'sgl/SkWriter32.cpp',
|
||||
'sgl/SkXfermode.cpp',
|
||||
]
|
||||
|
||||
env_p = env.Clone(
|
||||
PCHSTOP = 'SkTypes.h',
|
||||
PDB = 'vc80.pdb',
|
||||
)
|
||||
|
||||
# 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
|
||||
# in the skia directory.
|
||||
# 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
|
||||
# IncrediBuild installed on the build machine?
|
||||
pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc')
|
||||
env_p['PCH'] = pch
|
||||
|
||||
env.ChromeStaticLibrary('skia', input_files + [obj])
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'include',
|
||||
'include/corecg',
|
||||
'corecg',
|
||||
'sgl',
|
||||
'picture',
|
||||
'#..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'SKIA_DISABLE_SUPPORT_FOR_DECODERS',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4244',
|
||||
'/wd4267',
|
||||
'/wd4345',
|
||||
'/wd4390',
|
||||
'/wd4554',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'animator/SkTime.cpp',
|
||||
'corecg/Sk64.cpp',
|
||||
'corecg/SkBuffer.cpp',
|
||||
'corecg/SkChunkAlloc.cpp',
|
||||
'corecg/SkCordic.cpp',
|
||||
'corecg/SkDebug.cpp',
|
||||
'corecg/SkDebug_stdio.cpp',
|
||||
'corecg/SkFloat.cpp',
|
||||
'corecg/SkInterpolator.cpp',
|
||||
'corecg/SkMath.cpp',
|
||||
'corecg/SkMatrix.cpp',
|
||||
'corecg/SkMemory_stdlib.cpp',
|
||||
'corecg/SkPoint.cpp',
|
||||
'corecg/SkRect.cpp',
|
||||
'corecg/SkRegion.cpp',
|
||||
'effects/Sk1DPathEffect.cpp',
|
||||
'effects/Sk2DPathEffect.cpp',
|
||||
'effects/SkAvoidXfermode.cpp',
|
||||
'effects/SkBlurDrawLooper.cpp',
|
||||
'effects/SkBlurMask.cpp',
|
||||
'effects/SkBlurMaskFilter.cpp',
|
||||
'effects/SkCamera.cpp',
|
||||
'effects/SkColorFilters.cpp',
|
||||
'effects/SkColorMatrix.cpp',
|
||||
'effects/SkColorMatrixFilter.cpp',
|
||||
'effects/SkCornerPathEffect.cpp',
|
||||
'effects/SkCullPoints.cpp',
|
||||
'effects/SkDashPathEffect.cpp',
|
||||
'effects/SkDiscretePathEffect.cpp',
|
||||
'effects/SkEmbossMask.cpp',
|
||||
'effects/SkEmbossMaskFilter.cpp',
|
||||
'effects/SkGradientShader.cpp',
|
||||
'effects/SkKernel33MaskFilter.cpp',
|
||||
'effects/SkLayerRasterizer.cpp',
|
||||
'effects/SkPaintFlagsDrawFilter.cpp',
|
||||
'effects/SkPixelXorXfermode.cpp',
|
||||
'effects/SkShaderExtras.cpp',
|
||||
'effects/SkTransparentShader.cpp',
|
||||
'effects/SkUnitMappers.cpp',
|
||||
'images/SkImageDecoder.cpp',
|
||||
'images/SkImageRef.cpp',
|
||||
'images/SkStream.cpp',
|
||||
'images/SkStream.cpp',
|
||||
'picture/SkPictureFlat.cpp',
|
||||
'picture/SkPicturePlayback.cpp',
|
||||
'picture/SkPictureRecord.cpp',
|
||||
'ports/SkFontHost_none.cpp',
|
||||
'ports/SkGlobals_global.cpp',
|
||||
'ports/SkImageDecoder_Factory.cpp',
|
||||
'ports/SkOSFile_stdio.cpp',
|
||||
'ports/SkThread_win.cpp',
|
||||
'sgl/SkAlphaRuns.cpp',
|
||||
'sgl/SkBitmap.cpp',
|
||||
'sgl/SkBitmapProcShader.cpp',
|
||||
'sgl/SkBitmapProcState.cpp',
|
||||
'sgl/SkBitmapProcState_matrixProcs.cpp',
|
||||
'sgl/SkBitmapSampler.cpp',
|
||||
'sgl/SkBitmapShader.cpp',
|
||||
'sgl/SkBlitRow_D16.cpp',
|
||||
'sgl/SkBlitRow_D4444.cpp',
|
||||
'sgl/SkBlitter.cpp',
|
||||
'sgl/SkBlitter_4444.cpp',
|
||||
'sgl/SkBlitter_A1.cpp',
|
||||
'sgl/SkBlitter_A8.cpp',
|
||||
'sgl/SkBlitter_ARGB32.cpp',
|
||||
'sgl/SkBlitter_RGB16.cpp',
|
||||
'sgl/SkBlitter_Sprite.cpp',
|
||||
'sgl/SkCanvas.cpp',
|
||||
'sgl/SkColor.cpp',
|
||||
'sgl/SkColorFilter.cpp',
|
||||
'sgl/SkColorTable.cpp',
|
||||
'sgl/SkDeque.cpp',
|
||||
'sgl/SkDevice.cpp',
|
||||
'sgl/SkDither.cpp',
|
||||
'sgl/SkDraw.cpp',
|
||||
'sgl/SkEdge.cpp',
|
||||
'sgl/SkFilterProc.cpp',
|
||||
'sgl/SkFlattenable.cpp',
|
||||
'sgl/SkGeometry.cpp',
|
||||
'sgl/SkGlobals.cpp',
|
||||
'sgl/SkGlyphCache.cpp',
|
||||
'sgl/SkGraphics.cpp',
|
||||
'sgl/SkMask.cpp',
|
||||
'sgl/SkMaskFilter.cpp',
|
||||
'sgl/SkPackBits.cpp',
|
||||
'sgl/SkPaint.cpp',
|
||||
'sgl/SkPath.cpp',
|
||||
'sgl/SkPathEffect.cpp',
|
||||
'sgl/SkPathMeasure.cpp',
|
||||
'sgl/SkPicture.cpp',
|
||||
'sgl/SkPixelRef.cpp',
|
||||
'sgl/SkProcSpriteBlitter.cpp',
|
||||
'sgl/SkPtrRecorder.cpp',
|
||||
'sgl/SkRasterizer.cpp',
|
||||
'sgl/SkRefCnt.cpp',
|
||||
'sgl/SkRegion_path.cpp',
|
||||
'sgl/SkScalerContext.cpp',
|
||||
'sgl/SkScan.cpp',
|
||||
'sgl/SkScan_Antihair.cpp',
|
||||
'sgl/SkScan_AntiPath.cpp',
|
||||
'sgl/SkScan_Hairline.cpp',
|
||||
'sgl/SkScan_Path.cpp',
|
||||
'sgl/SkShader.cpp',
|
||||
'sgl/SkSpriteBlitter_ARGB32.cpp',
|
||||
'sgl/SkSpriteBlitter_RGB16.cpp',
|
||||
'sgl/SkString.cpp',
|
||||
'sgl/SkStroke.cpp',
|
||||
'sgl/SkStrokerPriv.cpp',
|
||||
'sgl/SkTSearch.cpp',
|
||||
'sgl/SkTypeface_fake.cpp',
|
||||
'sgl/SkUtils.cpp',
|
||||
'sgl/SkWriter32.cpp',
|
||||
'sgl/SkXfermode.cpp',
|
||||
]
|
||||
|
||||
env_p = env.Clone(
|
||||
PCHSTOP = 'SkTypes.h',
|
||||
PDB = 'vc80.pdb',
|
||||
)
|
||||
|
||||
# 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
|
||||
# in the skia directory.
|
||||
# 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
|
||||
# IncrediBuild installed on the build machine?
|
||||
pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc')
|
||||
env_p['PCH'] = pch
|
||||
|
||||
env.ChromeStaticLibrary('skia', input_files + [obj])
|
||||
|
106
third_party/bsdiff/SConscript
vendored
106
third_party/bsdiff/SConscript
vendored
@ -1,53 +1,53 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../bspatch',
|
||||
]
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
"mbsdiff.cc",
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bsdiff', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'../bspatch',
|
||||
]
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
"mbsdiff.cc",
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bsdiff', input_files)
|
||||
|
120
third_party/bspatch/SConscript
vendored
120
third_party/bspatch/SConscript
vendored
@ -1,60 +1,60 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../third_party/lzma_sdk/',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_LZMA_IN_CB',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'mbspatch.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bspatch', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../third_party/lzma_sdk/',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_LZMA_IN_CB',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'mbspatch.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bspatch', input_files)
|
||||
|
120
third_party/bzip2/SConscript
vendored
120
third_party/bzip2/SConscript
vendored
@ -1,60 +1,60 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4996',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'BZ_NO_STDIO',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'blocksort.c',
|
||||
'bzlib.c',
|
||||
'compress.c',
|
||||
'crctable.c',
|
||||
'decompress.c',
|
||||
'huffman.c',
|
||||
'randtable.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bzip2', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4996',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'BZ_NO_STDIO',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'blocksort.c',
|
||||
'bzlib.c',
|
||||
'compress.c',
|
||||
'crctable.c',
|
||||
'decompress.c',
|
||||
'huffman.c',
|
||||
'randtable.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('bzip2', input_files)
|
||||
|
190
third_party/libjpeg/SConscript
vendored
190
third_party/libjpeg/SConscript
vendored
@ -1,95 +1,95 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'jcapimin.c',
|
||||
'jcapistd.c',
|
||||
'jccoefct.c',
|
||||
'jccolor.c',
|
||||
'jcdctmgr.c',
|
||||
'jchuff.c',
|
||||
'jcinit.c',
|
||||
'jcmainct.c',
|
||||
'jcmarker.c',
|
||||
'jcmaster.c',
|
||||
'jcomapi.c',
|
||||
'jcparam.c',
|
||||
'jcphuff.c',
|
||||
'jcprepct.c',
|
||||
'jcsample.c',
|
||||
'jdapimin.c',
|
||||
'jdapistd.c',
|
||||
'jdatadst.c',
|
||||
'jdatasrc.c',
|
||||
'jdcoefct.c',
|
||||
'jdcolor.c',
|
||||
'jddctmgr.c',
|
||||
'jdhuff.c',
|
||||
'jdinput.c',
|
||||
'jdmainct.c',
|
||||
'jdmarker.c',
|
||||
'jdmaster.c',
|
||||
'jdmerge.c',
|
||||
'jdphuff.c',
|
||||
'jdpostct.c',
|
||||
'jdsample.c',
|
||||
'jerror.c',
|
||||
'jfdctflt.c',
|
||||
'jfdctfst.c',
|
||||
'jfdctint.c',
|
||||
'jidctflt.c',
|
||||
'jidctfst.c',
|
||||
'jidctint.c',
|
||||
'jmemmgr.c',
|
||||
'jmemnobs.c',
|
||||
'jquant1.c',
|
||||
'jquant2.c',
|
||||
'jutils.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libjpeg', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'jcapimin.c',
|
||||
'jcapistd.c',
|
||||
'jccoefct.c',
|
||||
'jccolor.c',
|
||||
'jcdctmgr.c',
|
||||
'jchuff.c',
|
||||
'jcinit.c',
|
||||
'jcmainct.c',
|
||||
'jcmarker.c',
|
||||
'jcmaster.c',
|
||||
'jcomapi.c',
|
||||
'jcparam.c',
|
||||
'jcphuff.c',
|
||||
'jcprepct.c',
|
||||
'jcsample.c',
|
||||
'jdapimin.c',
|
||||
'jdapistd.c',
|
||||
'jdatadst.c',
|
||||
'jdatasrc.c',
|
||||
'jdcoefct.c',
|
||||
'jdcolor.c',
|
||||
'jddctmgr.c',
|
||||
'jdhuff.c',
|
||||
'jdinput.c',
|
||||
'jdmainct.c',
|
||||
'jdmarker.c',
|
||||
'jdmaster.c',
|
||||
'jdmerge.c',
|
||||
'jdphuff.c',
|
||||
'jdpostct.c',
|
||||
'jdsample.c',
|
||||
'jerror.c',
|
||||
'jfdctflt.c',
|
||||
'jfdctfst.c',
|
||||
'jfdctint.c',
|
||||
'jidctflt.c',
|
||||
'jidctfst.c',
|
||||
'jidctint.c',
|
||||
'jmemmgr.c',
|
||||
'jmemnobs.c',
|
||||
'jquant1.c',
|
||||
'jquant2.c',
|
||||
'jutils.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libjpeg', input_files)
|
||||
|
154
third_party/libpng/SConscript
vendored
154
third_party/libpng/SConscript
vendored
@ -1,77 +1,77 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../third_party/zlib',
|
||||
'#../',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'png.c',
|
||||
'pngwutil.c',
|
||||
'pngwtran.c',
|
||||
'pngwrite.c',
|
||||
'pngwio.c',
|
||||
'pngvcrd.c',
|
||||
'pngtrans.c',
|
||||
'pngset.c',
|
||||
'pngrutil.c',
|
||||
'pngrtran.c',
|
||||
'pngrio.c',
|
||||
'pngread.c',
|
||||
'pngpread.c',
|
||||
'pngmem.c',
|
||||
'pngget.c',
|
||||
'pnggccrd.c',
|
||||
'pngerror.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libpng', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#../third_party/zlib',
|
||||
'#../',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'png.c',
|
||||
'pngwutil.c',
|
||||
'pngwtran.c',
|
||||
'pngwrite.c',
|
||||
'pngwio.c',
|
||||
'pngvcrd.c',
|
||||
'pngtrans.c',
|
||||
'pngset.c',
|
||||
'pngrutil.c',
|
||||
'pngrtran.c',
|
||||
'pngrio.c',
|
||||
'pngread.c',
|
||||
'pngpread.c',
|
||||
'pngmem.c',
|
||||
'pngget.c',
|
||||
'pnggccrd.c',
|
||||
'pngerror.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libpng', input_files)
|
||||
|
308
third_party/libxml/SConscript
vendored
308
third_party/libxml/SConscript
vendored
@ -1,154 +1,154 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/18n',
|
||||
'$ZLIB_DIR',
|
||||
'scons',
|
||||
'scons/include',
|
||||
'include',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_REENTRANT',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'c14n.c',
|
||||
'catalog.c',
|
||||
'chvalid.c',
|
||||
'debugXML.c',
|
||||
'dict.c',
|
||||
'DOCBparser.c',
|
||||
'encoding.c',
|
||||
'entities.c',
|
||||
'error.c',
|
||||
'globals.c',
|
||||
'hash.c',
|
||||
'HTMLparser.c',
|
||||
'HTMLtree.c',
|
||||
'legacy.c',
|
||||
'list.c',
|
||||
'nanoftp.c',
|
||||
'nanohttp.c',
|
||||
'parser.c',
|
||||
'parserInternals.c',
|
||||
'pattern.c',
|
||||
'relaxng.c',
|
||||
'SAX.c',
|
||||
'SAX2.c',
|
||||
'schematron.c',
|
||||
'threads.c',
|
||||
'tree.c',
|
||||
'uri.c',
|
||||
'valid.c',
|
||||
'xinclude.c',
|
||||
'xlink.c',
|
||||
'xmlIO.c',
|
||||
'xmlmemory.c',
|
||||
'xmlmodule.c',
|
||||
'xmlreader.c',
|
||||
'xmlregexp.c',
|
||||
'xmlsave.c',
|
||||
'xmlschemas.c',
|
||||
'xmlschemastypes.c',
|
||||
'xmlstring.c',
|
||||
'xmlunicode.c',
|
||||
'xmlwriter.c',
|
||||
'xpath.c',
|
||||
'xpointer.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libxml', input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
config_files = [
|
||||
# The configure.js script must be first in this list; the
|
||||
# env.Command() call below executes the first list element.
|
||||
|
||||
'win32/configure.js',
|
||||
'win32/Makefile.msvc',
|
||||
|
||||
'config.h.in',
|
||||
'configure.in',
|
||||
'libxml-2.0-uninstalled.pc.in',
|
||||
'libxml-2.0.pc.in',
|
||||
'libxml.spec.in',
|
||||
'xml2-config.in',
|
||||
'xml2Conf.sh.in',
|
||||
|
||||
'include/libxml/xmlversion.h.in',
|
||||
'include/win32config.h',
|
||||
]
|
||||
|
||||
copied_files = []
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
|
||||
copied_files.extend(result)
|
||||
|
||||
env.Command(['scons/config.h', 'scons/include/libxml/xmlversion.h'],
|
||||
copied_files,
|
||||
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
|
||||
CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes')
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
config_files = [
|
||||
'config.h',
|
||||
'include/libxml/xmlversion.h',
|
||||
'xml2-config',
|
||||
]
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, 'linux/' + cf,
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/18n',
|
||||
'$ZLIB_DIR',
|
||||
'scons',
|
||||
'scons/include',
|
||||
'include',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_REENTRANT',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'c14n.c',
|
||||
'catalog.c',
|
||||
'chvalid.c',
|
||||
'debugXML.c',
|
||||
'dict.c',
|
||||
'DOCBparser.c',
|
||||
'encoding.c',
|
||||
'entities.c',
|
||||
'error.c',
|
||||
'globals.c',
|
||||
'hash.c',
|
||||
'HTMLparser.c',
|
||||
'HTMLtree.c',
|
||||
'legacy.c',
|
||||
'list.c',
|
||||
'nanoftp.c',
|
||||
'nanohttp.c',
|
||||
'parser.c',
|
||||
'parserInternals.c',
|
||||
'pattern.c',
|
||||
'relaxng.c',
|
||||
'SAX.c',
|
||||
'SAX2.c',
|
||||
'schematron.c',
|
||||
'threads.c',
|
||||
'tree.c',
|
||||
'uri.c',
|
||||
'valid.c',
|
||||
'xinclude.c',
|
||||
'xlink.c',
|
||||
'xmlIO.c',
|
||||
'xmlmemory.c',
|
||||
'xmlmodule.c',
|
||||
'xmlreader.c',
|
||||
'xmlregexp.c',
|
||||
'xmlsave.c',
|
||||
'xmlschemas.c',
|
||||
'xmlschemastypes.c',
|
||||
'xmlstring.c',
|
||||
'xmlunicode.c',
|
||||
'xmlwriter.c',
|
||||
'xpath.c',
|
||||
'xpointer.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libxml', input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
config_files = [
|
||||
# The configure.js script must be first in this list; the
|
||||
# env.Command() call below executes the first list element.
|
||||
|
||||
'win32/configure.js',
|
||||
'win32/Makefile.msvc',
|
||||
|
||||
'config.h.in',
|
||||
'configure.in',
|
||||
'libxml-2.0-uninstalled.pc.in',
|
||||
'libxml-2.0.pc.in',
|
||||
'libxml.spec.in',
|
||||
'xml2-config.in',
|
||||
'xml2Conf.sh.in',
|
||||
|
||||
'include/libxml/xmlversion.h.in',
|
||||
'include/win32config.h',
|
||||
]
|
||||
|
||||
copied_files = []
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
|
||||
copied_files.extend(result)
|
||||
|
||||
env.Command(['scons/config.h', 'scons/include/libxml/xmlversion.h'],
|
||||
copied_files,
|
||||
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
|
||||
CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes')
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
config_files = [
|
||||
'config.h',
|
||||
'include/libxml/xmlversion.h',
|
||||
'xml2-config',
|
||||
]
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, 'linux/' + cf,
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
|
262
third_party/libxslt/SConscript
vendored
262
third_party/libxslt/SConscript
vendored
@ -1,131 +1,131 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/18n',
|
||||
'$ZLIB_DIR',
|
||||
'scons',
|
||||
'.',
|
||||
'../',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
'LIBXSLT_STATIC',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'libxslt/attributes.c',
|
||||
'libxslt/attrvt.c',
|
||||
'libxslt/documents.c',
|
||||
'libxslt/extensions.c',
|
||||
'libxslt/extra.c',
|
||||
'libxslt/functions.c',
|
||||
'libxslt/imports.c',
|
||||
'libxslt/keys.c',
|
||||
'libxslt/namespaces.c',
|
||||
'libxslt/numbers.c',
|
||||
'libxslt/pattern.c',
|
||||
'libxslt/preproc.c',
|
||||
'libxslt/security.c',
|
||||
'libxslt/templates.c',
|
||||
'libxslt/transform.c',
|
||||
'libxslt/variables.c',
|
||||
'libxslt/xslt.c',
|
||||
'libxslt/xsltutils.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libxslt', input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
config_files = [
|
||||
# The configure.js script must be first in this list; the
|
||||
# env.Command() call below executes the first list element.
|
||||
|
||||
'win32/configure.js',
|
||||
'win32/Makefile.msvc',
|
||||
|
||||
'config.h.in',
|
||||
'configure.in',
|
||||
'libexslt.pc.in',
|
||||
'libxslt.pc.in',
|
||||
'libxslt.spec.in',
|
||||
'xslt-config.in',
|
||||
'xsltConf.sh.in',
|
||||
|
||||
'libexslt/exsltconfig.h.in',
|
||||
|
||||
'libxslt/xsltconfig.h.in',
|
||||
'libxslt/xsltwin32config.h.in',
|
||||
'libxslt/win32config.h',
|
||||
]
|
||||
|
||||
copied_sources = []
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
|
||||
copied_sources.extend(result)
|
||||
|
||||
env.Command(['scons/config.h'],
|
||||
copied_sources,
|
||||
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
|
||||
CONFIG_OPTIONS='compiler=msvc')
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
config_files = [
|
||||
'config.h',
|
||||
'xslt-config',
|
||||
'libexslt/exsltconfig.h',
|
||||
'libxslt/xsltconfig.h',
|
||||
'libxslt/xsltwin32config.h',
|
||||
]
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, 'linux/' + cf,
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/18n',
|
||||
'$ZLIB_DIR',
|
||||
'scons',
|
||||
'.',
|
||||
'../',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
'LIBXSLT_STATIC',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
input_files = [
|
||||
'libxslt/attributes.c',
|
||||
'libxslt/attrvt.c',
|
||||
'libxslt/documents.c',
|
||||
'libxslt/extensions.c',
|
||||
'libxslt/extra.c',
|
||||
'libxslt/functions.c',
|
||||
'libxslt/imports.c',
|
||||
'libxslt/keys.c',
|
||||
'libxslt/namespaces.c',
|
||||
'libxslt/numbers.c',
|
||||
'libxslt/pattern.c',
|
||||
'libxslt/preproc.c',
|
||||
'libxslt/security.c',
|
||||
'libxslt/templates.c',
|
||||
'libxslt/transform.c',
|
||||
'libxslt/variables.c',
|
||||
'libxslt/xslt.c',
|
||||
'libxslt/xsltutils.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('libxslt', input_files)
|
||||
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
config_files = [
|
||||
# The configure.js script must be first in this list; the
|
||||
# env.Command() call below executes the first list element.
|
||||
|
||||
'win32/configure.js',
|
||||
'win32/Makefile.msvc',
|
||||
|
||||
'config.h.in',
|
||||
'configure.in',
|
||||
'libexslt.pc.in',
|
||||
'libxslt.pc.in',
|
||||
'libxslt.spec.in',
|
||||
'xslt-config.in',
|
||||
'xsltConf.sh.in',
|
||||
|
||||
'libexslt/exsltconfig.h.in',
|
||||
|
||||
'libxslt/xsltconfig.h.in',
|
||||
'libxslt/xsltwin32config.h.in',
|
||||
'libxslt/win32config.h',
|
||||
]
|
||||
|
||||
copied_sources = []
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE'))
|
||||
copied_sources.extend(result)
|
||||
|
||||
env.Command(['scons/config.h'],
|
||||
copied_sources,
|
||||
'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS',
|
||||
CONFIG_OPTIONS='compiler=msvc')
|
||||
elif env['PLATFORM'] == 'posix':
|
||||
config_files = [
|
||||
'config.h',
|
||||
'xslt-config',
|
||||
'libexslt/exsltconfig.h',
|
||||
'libxslt/xsltconfig.h',
|
||||
'libxslt/xsltwin32config.h',
|
||||
]
|
||||
for cf in config_files:
|
||||
result = env.Command('scons/' + cf, 'linux/' + cf,
|
||||
Copy('$TARGET', '$SOURCE'))
|
||||
|
||||
|
144
third_party/lzma_sdk/SConscript
vendored
144
third_party/lzma_sdk/SConscript
vendored
@ -1,72 +1,72 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'../../',
|
||||
]
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_LZMA_PROB32',
|
||||
'_LZMA_IN_CB',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'7zCrc.c',
|
||||
'Archive/7z/7zAlloc.c',
|
||||
'Archive/7z/7zBuffer.c',
|
||||
'Archive/7z/7zDecode.c',
|
||||
'Archive/7z/7zExtract.c',
|
||||
'Archive/7z/7zHeader.c',
|
||||
'Archive/7z/7zIn.c',
|
||||
'Archive/7z/7zItem.c',
|
||||
'Archive/7z/7zMethodID.c',
|
||||
'Compress/Branch/BranchX86.c',
|
||||
'Compress/Branch/BranchX86_2.c',
|
||||
'Compress/Lzma/LzmaDecode.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('lzma_sdk', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'.',
|
||||
'../../',
|
||||
]
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'_LZMA_PROB32',
|
||||
'_LZMA_IN_CB',
|
||||
],
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'7zCrc.c',
|
||||
'Archive/7z/7zAlloc.c',
|
||||
'Archive/7z/7zBuffer.c',
|
||||
'Archive/7z/7zDecode.c',
|
||||
'Archive/7z/7zExtract.c',
|
||||
'Archive/7z/7zHeader.c',
|
||||
'Archive/7z/7zIn.c',
|
||||
'Archive/7z/7zItem.c',
|
||||
'Archive/7z/7zMethodID.c',
|
||||
'Compress/Branch/BranchX86.c',
|
||||
'Compress/Branch/BranchX86_2.c',
|
||||
'Compress/Lzma/LzmaDecode.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('lzma_sdk', input_files)
|
||||
|
92
third_party/modp_b64/SConscript
vendored
92
third_party/modp_b64/SConscript
vendored
@ -1,46 +1,46 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
PDB = 'vc80.pdb',
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'modp_b64.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('modp_b64', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone(
|
||||
PDB = 'vc80.pdb',
|
||||
)
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'modp_b64.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('modp_b64', input_files)
|
||||
|
116
third_party/zlib/SConscript
vendored
116
third_party/zlib/SConscript
vendored
@ -1,58 +1,58 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'adler32.c',
|
||||
'compress.c',
|
||||
'crc32.c',
|
||||
'deflate.c',
|
||||
'gzio.c',
|
||||
'infback.c',
|
||||
'inffast.c',
|
||||
'inflate.c',
|
||||
'inftrees.c',
|
||||
'trees.c',
|
||||
'uncompr.c',
|
||||
'zutil.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('zlib', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TC',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'adler32.c',
|
||||
'compress.c',
|
||||
'crc32.c',
|
||||
'deflate.c',
|
||||
'gzio.c',
|
||||
'infback.c',
|
||||
'inffast.c',
|
||||
'inflate.c',
|
||||
'inftrees.c',
|
||||
'trees.c',
|
||||
'uncompr.c',
|
||||
'zutil.c',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('zlib', input_files)
|
||||
|
@ -1,207 +1,207 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import os
|
||||
|
||||
Import(['env'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env.Clone()
|
||||
|
||||
|
||||
port_dir = env.Dir('#/$BUILD_TYPE/webkit/port')
|
||||
|
||||
port_dir.addRepository(env.Dir('#/../webkit/port'))
|
||||
port_dir.addRepository(env.Dir('#/../third_party/WebKit/WebCore'))
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$WEBKIT_DIR/build/JSConfig/obj/WebCore',
|
||||
'$WEBKIT_DIR/build/WebCore',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$NPAPI_DIR',
|
||||
'$V8_DIR/src/api',
|
||||
'$V8_DIR/public',
|
||||
'$WEBKIT_DIR/V8Bindings/DerivedSources',
|
||||
'$WEBKIT_DIR/V8Bindings/SharedSources',
|
||||
'$WEBKIT_DIR/port/bindings/v8',
|
||||
'$WEBKIT_DIR/WebCore',
|
||||
'$WEBKIT_DIR/WebCore/JavaScriptHeaders',
|
||||
'$WEBKIT_DIR/WebCore/JavaScriptHeaders/JavaScriptCore',
|
||||
'$WEBKIT_DIR/pending',
|
||||
'$WEBKIT_DIR/pending/kjs',
|
||||
'$WEBKIT_DIR/pending/wtf',
|
||||
'$WEBKIT_DIR/port/bridge',
|
||||
'$WEBKIT_DIR/port/css',
|
||||
'$WEBKIT_DIR/port/dom',
|
||||
'$WEBKIT_DIR/port/editing',
|
||||
'$WEBKIT_DIR/port/history',
|
||||
'$WEBKIT_DIR/port/html',
|
||||
'$WEBKIT_DIR/port/loader',
|
||||
'$WEBKIT_DIR/port/loader/icon',
|
||||
'$WEBKIT_DIR/port/page',
|
||||
'$WEBKIT_DIR/port/platform',
|
||||
'$WEBKIT_DIR/port/platform/network',
|
||||
'$WEBKIT_DIR/port/platform/text',
|
||||
'$WEBKIT_DIR/port/plugins',
|
||||
'$WEBKIT_DIR/port/rendering',
|
||||
'#/',
|
||||
'.',
|
||||
|
||||
'$WEBKIT_DIR/port/platform/image-decoders',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/bmp',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/gif',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/ico',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/jpeg',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/png',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/xbm',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/zlib',
|
||||
|
||||
'$WEBKIT_DIR/port/platform/graphics',
|
||||
|
||||
'$WEBKIT_DIR/port/svg/graphics',
|
||||
'$WEBKIT_DIR/port/platform/network',
|
||||
'$WEBKIT_DIR/port/platform/sql',
|
||||
'$WEBKIT_DIR/port/platform/network/win',
|
||||
'$WEBKIT_DIR/port/rendering',
|
||||
'$WEBKIT_DIR/port/storage',
|
||||
'$WEBKIT_DIR/port/xml',
|
||||
'$WEBKIT_DIR/port',
|
||||
'$WEBKIT_DIR/port/os-win32',
|
||||
'$WEBKIT_DIR/port/wtf',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/wtf',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/os-win32',
|
||||
'$WEBKIT_DIR/port/svg',
|
||||
'$WEBKIT_DIR/port/svg/graphics/filters',
|
||||
'$WEBKIT_DIR/port/plugins',
|
||||
'$LIBXSLT_DIR/scons',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$LIBJPEG_DIR',
|
||||
'$WEBKIT_DIR/DerivedSources',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
WEBCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/WebCore",
|
||||
PENDING_DIR = "$WEBKIT_DIR/pending",
|
||||
PORT_DIR = "$WEBKIT_DIR/port",
|
||||
|
||||
JAVASCRIPTCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore",
|
||||
WTF_DIR = "$JAVASCRIPTCORE_DIR/wtf",
|
||||
KJS_DIR = "$JAVASCRIPTCORE_DIR/kjs",
|
||||
PCRE_DIR = "$JAVASCRIPTCORE_DIR/pcre",
|
||||
|
||||
V8BINDINGS_DIR = "$WEBKIT_DIR/V8Bindings",
|
||||
DERIVED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/DerivedSources"),
|
||||
SHARED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/SharedSources"),
|
||||
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION'
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
'_CRT_NONSTDC_NO_WARNINGS',
|
||||
'_CRT_NONSTDC_NO_DEPRECATE',
|
||||
'_SCL_SECURE_NO_DEPRECATE',
|
||||
'_SCL_SECURE_NO_WARNINGS',
|
||||
['CRASH', '__debugbreak'],
|
||||
['ENABLE_CROSS_DOCUMENT_MESSAGING', '1'],
|
||||
['ENABLE_XSLT', '1'],
|
||||
['ENABLE_XPATH', '1'],
|
||||
['ENABLE_SVG', '1'],
|
||||
['ENABLE_SVG_AS_IMAGE', '1'],
|
||||
['ENABLE_SVG_USE', '1'],
|
||||
['ENABLE_SVG_FOREIGN_OBJECT', '1'],
|
||||
['ENABLE_SVG_FONTS', '1'],
|
||||
['ANDROID_CANVAS_IMPL', '1'],
|
||||
['WEBCORE_NAVIGATOR_PLATFORM', '"\\"Win32\\""'],
|
||||
'USE_GOOGLE_URL_LIBRARY',
|
||||
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
['__PRETTY_FUNCTION__', '__FUNCTION__'],
|
||||
'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2',
|
||||
|
||||
'HAVE_CONFIG_H',
|
||||
'__STD_C',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
sconscript_dirs = [
|
||||
'SConscript.port',
|
||||
'SConscript.javascriptcore_pcre',
|
||||
'activex_shim/SConscript',
|
||||
'activex_shim_dll/SConscript',
|
||||
'build/JSConfig/SConscript',
|
||||
'build/JavaScriptCore/SConscript',
|
||||
'build/localized_strings/SConscript',
|
||||
'build/port/SConscript',
|
||||
'build/V8Bindings/SConscript',
|
||||
'build/WebCore/SConscript',
|
||||
'default_plugin/SConscript',
|
||||
'glue/SConscript',
|
||||
'glue/plugins/test/SConscript',
|
||||
'tools/npapi_layout_test_plugin/SConscript',
|
||||
'tools/test_shell/SConscript',
|
||||
'tools/test_shell/resources/fonts/SConscript',
|
||||
]
|
||||
|
||||
env.SConscript(sconscript_dirs, exports=['env', 'env_res'])
|
||||
|
||||
# Setup alias for all webkit related targets.
|
||||
# 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
|
||||
# directory tree as a huge content-signature string.
|
||||
# Instead we're going to let all the subsidiary SConscript files
|
||||
# add their own individual targets to the 'webkit' Alias.
|
||||
#env.Alias('webkit', ['.', '../icudt38.dll'])
|
||||
env.Alias('webkit', ['../icudt38.dll'])
|
||||
|
||||
|
||||
version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h',
|
||||
['$WEBCORE_DIR/Configurations/Version.xcconfig',
|
||||
'#/../webkit/build/webkit_version.py'],
|
||||
"$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}")
|
||||
env.AlwaysBuild(version)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import os
|
||||
|
||||
Import(['env'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env.Clone()
|
||||
|
||||
|
||||
port_dir = env.Dir('#/$BUILD_TYPE/webkit/port')
|
||||
|
||||
port_dir.addRepository(env.Dir('#/../webkit/port'))
|
||||
port_dir.addRepository(env.Dir('#/../third_party/WebKit/WebCore'))
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$WEBKIT_DIR/build/localized_strings',
|
||||
'$WEBKIT_DIR/build/JSConfig/obj/WebCore',
|
||||
'$WEBKIT_DIR/build/WebCore',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$SKIA_DIR/include',
|
||||
'$SKIA_DIR/include/corecg',
|
||||
'$SKIA_DIR/platform',
|
||||
'$NPAPI_DIR',
|
||||
'$V8_DIR/src/api',
|
||||
'$V8_DIR/public',
|
||||
'$WEBKIT_DIR/V8Bindings/DerivedSources',
|
||||
'$WEBKIT_DIR/V8Bindings/SharedSources',
|
||||
'$WEBKIT_DIR/port/bindings/v8',
|
||||
'$WEBKIT_DIR/WebCore',
|
||||
'$WEBKIT_DIR/WebCore/JavaScriptHeaders',
|
||||
'$WEBKIT_DIR/WebCore/JavaScriptHeaders/JavaScriptCore',
|
||||
'$WEBKIT_DIR/pending',
|
||||
'$WEBKIT_DIR/pending/kjs',
|
||||
'$WEBKIT_DIR/pending/wtf',
|
||||
'$WEBKIT_DIR/port/bridge',
|
||||
'$WEBKIT_DIR/port/css',
|
||||
'$WEBKIT_DIR/port/dom',
|
||||
'$WEBKIT_DIR/port/editing',
|
||||
'$WEBKIT_DIR/port/history',
|
||||
'$WEBKIT_DIR/port/html',
|
||||
'$WEBKIT_DIR/port/loader',
|
||||
'$WEBKIT_DIR/port/loader/icon',
|
||||
'$WEBKIT_DIR/port/page',
|
||||
'$WEBKIT_DIR/port/platform',
|
||||
'$WEBKIT_DIR/port/platform/network',
|
||||
'$WEBKIT_DIR/port/platform/text',
|
||||
'$WEBKIT_DIR/port/plugins',
|
||||
'$WEBKIT_DIR/port/rendering',
|
||||
'#/',
|
||||
'.',
|
||||
|
||||
'$WEBKIT_DIR/port/platform/image-decoders',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/bmp',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/gif',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/ico',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/jpeg',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/png',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/xbm',
|
||||
'$WEBKIT_DIR/port/platform/image-decoders/zlib',
|
||||
|
||||
'$WEBKIT_DIR/port/platform/graphics',
|
||||
|
||||
'$WEBKIT_DIR/port/svg/graphics',
|
||||
'$WEBKIT_DIR/port/platform/network',
|
||||
'$WEBKIT_DIR/port/platform/sql',
|
||||
'$WEBKIT_DIR/port/platform/network/win',
|
||||
'$WEBKIT_DIR/port/rendering',
|
||||
'$WEBKIT_DIR/port/storage',
|
||||
'$WEBKIT_DIR/port/xml',
|
||||
'$WEBKIT_DIR/port',
|
||||
'$WEBKIT_DIR/port/os-win32',
|
||||
'$WEBKIT_DIR/port/wtf',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/wtf',
|
||||
'$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore/os-win32',
|
||||
'$WEBKIT_DIR/port/svg',
|
||||
'$WEBKIT_DIR/port/svg/graphics/filters',
|
||||
'$WEBKIT_DIR/port/plugins',
|
||||
'$LIBXSLT_DIR/scons',
|
||||
'$LIBXSLT_DIR',
|
||||
'$LIBXML_DIR/scons/include',
|
||||
'$LIBXML_DIR/include',
|
||||
'$LIBPNG_DIR',
|
||||
'$ZLIB_DIR',
|
||||
'$LIBJPEG_DIR',
|
||||
'$WEBKIT_DIR/DerivedSources',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
WEBCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/WebCore",
|
||||
PENDING_DIR = "$WEBKIT_DIR/pending",
|
||||
PORT_DIR = "$WEBKIT_DIR/port",
|
||||
|
||||
JAVASCRIPTCORE_DIR = "$THIRD_PARTY_WEBKIT_DIR/JavaScriptCore",
|
||||
WTF_DIR = "$JAVASCRIPTCORE_DIR/wtf",
|
||||
KJS_DIR = "$JAVASCRIPTCORE_DIR/kjs",
|
||||
PCRE_DIR = "$JAVASCRIPTCORE_DIR/pcre",
|
||||
|
||||
V8BINDINGS_DIR = "$WEBKIT_DIR/V8Bindings",
|
||||
DERIVED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/DerivedSources"),
|
||||
SHARED_DIR = env.Dir("$WEBKIT_DIR/V8Bindings/SharedSources"),
|
||||
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION'
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
'_CRT_NONSTDC_NO_WARNINGS',
|
||||
'_CRT_NONSTDC_NO_DEPRECATE',
|
||||
'_SCL_SECURE_NO_DEPRECATE',
|
||||
'_SCL_SECURE_NO_WARNINGS',
|
||||
['CRASH', '__debugbreak'],
|
||||
['ENABLE_CROSS_DOCUMENT_MESSAGING', '1'],
|
||||
['ENABLE_XSLT', '1'],
|
||||
['ENABLE_XPATH', '1'],
|
||||
['ENABLE_SVG', '1'],
|
||||
['ENABLE_SVG_AS_IMAGE', '1'],
|
||||
['ENABLE_SVG_USE', '1'],
|
||||
['ENABLE_SVG_FOREIGN_OBJECT', '1'],
|
||||
['ENABLE_SVG_FONTS', '1'],
|
||||
['ANDROID_CANVAS_IMPL', '1'],
|
||||
['WEBCORE_NAVIGATOR_PLATFORM', '"\\"Win32\\""'],
|
||||
'USE_GOOGLE_URL_LIBRARY',
|
||||
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
|
||||
'LIBXSLT_STATIC',
|
||||
'LIBXML_STATIC',
|
||||
'PNG_USER_CONFIG',
|
||||
'CHROME_PNG_WRITE_SUPPORT',
|
||||
['__PRETTY_FUNCTION__', '__FUNCTION__'],
|
||||
'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2',
|
||||
|
||||
'HAVE_CONFIG_H',
|
||||
'__STD_C',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
sconscript_dirs = [
|
||||
'SConscript.port',
|
||||
'SConscript.javascriptcore_pcre',
|
||||
'activex_shim/SConscript',
|
||||
'activex_shim_dll/SConscript',
|
||||
'build/JSConfig/SConscript',
|
||||
'build/JavaScriptCore/SConscript',
|
||||
'build/localized_strings/SConscript',
|
||||
'build/port/SConscript',
|
||||
'build/V8Bindings/SConscript',
|
||||
'build/WebCore/SConscript',
|
||||
'default_plugin/SConscript',
|
||||
'glue/SConscript',
|
||||
'glue/plugins/test/SConscript',
|
||||
'tools/npapi_layout_test_plugin/SConscript',
|
||||
'tools/test_shell/SConscript',
|
||||
'tools/test_shell/resources/fonts/SConscript',
|
||||
]
|
||||
|
||||
env.SConscript(sconscript_dirs, exports=['env', 'env_res'])
|
||||
|
||||
# Setup alias for all webkit related targets.
|
||||
# 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
|
||||
# directory tree as a huge content-signature string.
|
||||
# Instead we're going to let all the subsidiary SConscript files
|
||||
# add their own individual targets to the 'webkit' Alias.
|
||||
#env.Alias('webkit', ['.', '../icudt38.dll'])
|
||||
env.Alias('webkit', ['../icudt38.dll'])
|
||||
|
||||
|
||||
version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h',
|
||||
['$WEBCORE_DIR/Configurations/Version.xcconfig',
|
||||
'#/../webkit/build/webkit_version.py'],
|
||||
"$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}")
|
||||
env.AlwaysBuild(version)
|
||||
|
@ -1,68 +1,68 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'TRACK_INTERFACE',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
# TODO(bradnelson): Scons should really have a way to handle this.
|
||||
ARFLAGS = [
|
||||
'/LIBPATH:$PLATFORMSDK_VISTA_REL', 'Urlmon.Lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_plugin.cc',
|
||||
'activex_shared.cc',
|
||||
'activex_util.cc',
|
||||
'dispatch_object.cc',
|
||||
'npn_scripting.cc',
|
||||
'npp_impl.cc',
|
||||
'web_activex_container.cc',
|
||||
'web_activex_site.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('activex_shim', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'TRACK_INTERFACE',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
# TODO(bradnelson): Scons should really have a way to handle this.
|
||||
ARFLAGS = [
|
||||
'/LIBPATH:$PLATFORMSDK_VISTA_REL', 'Urlmon.Lib',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_plugin.cc',
|
||||
'activex_shared.cc',
|
||||
'activex_util.cc',
|
||||
'dispatch_object.cc',
|
||||
'npn_scripting.cc',
|
||||
'npp_impl.cc',
|
||||
'web_activex_container.cc',
|
||||
'web_activex_site.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('activex_shim', input_files)
|
||||
|
@ -1,73 +1,73 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'activex_shim',
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_shim_dll.cc',
|
||||
'activex_shim_dll.def',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary('npaxshim', input_files)
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('webkit', i)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'$NPAPI_DIR',
|
||||
'#/..',
|
||||
],
|
||||
LIBS = [
|
||||
'activex_shim',
|
||||
'googleurl',
|
||||
'icuuc',
|
||||
'base',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
LINKFLAGS = [
|
||||
'/INCREMENTAL',
|
||||
|
||||
'/MANIFEST',
|
||||
'/DELAYLOAD:"dwmapi.dll"',
|
||||
'/DELAYLOAD:"uxtheme.dll"',
|
||||
'/MACHINE:X86',
|
||||
'/FIXED:No',
|
||||
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/nxcompat',
|
||||
|
||||
'/DEBUG',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_shim_dll.cc',
|
||||
'activex_shim_dll.def',
|
||||
]
|
||||
|
||||
dll = env.ChromeSharedLibrary('npaxshim', input_files)
|
||||
i = env.Install('$TARGET_ROOT', dll)
|
||||
env.Alias('webkit', i)
|
||||
|
@ -1,39 +1,39 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
# TODO(bradnelson): very bad, calls batch, calls sh, deps all wrong
|
||||
env.Append(ENV = {"OS" : "Windows_NT"})
|
||||
env.Command("obj/WebCore/config.h",
|
||||
["prebuild.bat", "../../config.h.in"],
|
||||
"cd ${SOURCE.dir} && ${SOURCE.file} ${JSCONFIG_DIR.abspath} v8",
|
||||
JSCONFIG_DIR = env.Dir('$WEBKIT_DIR/build/JSConfig'))
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
# TODO(bradnelson): very bad, calls batch, calls sh, deps all wrong
|
||||
env.Append(ENV = {"OS" : "Windows_NT"})
|
||||
env.Command("obj/WebCore/config.h",
|
||||
["prebuild.bat", "../../config.h.in"],
|
||||
"cd ${SOURCE.dir} && ${SOURCE.file} ${JSCONFIG_DIR.abspath} v8",
|
||||
JSCONFIG_DIR = env.Dir('$WEBKIT_DIR/build/JSConfig'))
|
||||
|
@ -1,170 +1,170 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
cygwin = Dir('#../third_party/cygwin/bin')
|
||||
cygwin_posix = cygwin.abspath.replace('\\', '/')
|
||||
env.PrependENVPath('PATH', '../third_party/cygwin/bin')
|
||||
|
||||
|
||||
hash_table_cmd = '$PERL $CREATE_HASH_TABLE $SOURCE $CREATE_HASH_TABLE_FLAGS > $TARGET'
|
||||
|
||||
env.Replace(
|
||||
CREATE_HASH_TABLE_COM = hash_table_cmd,
|
||||
CREATE_HASH_TABLE = env.File('#/../third_party/WebKit/JavascriptCore/kjs/create_hash_table'),
|
||||
CREATE_HASH_TABLE_FLAGS = '-i',
|
||||
)
|
||||
|
||||
env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM',
|
||||
suffix = '.lut.h',
|
||||
src_suffix = '.cpp')
|
||||
|
||||
|
||||
inputs = [
|
||||
'array_object',
|
||||
'date_object',
|
||||
'math_object',
|
||||
'number_object',
|
||||
'regexp_object',
|
||||
'string_object',
|
||||
]
|
||||
|
||||
for i in inputs:
|
||||
env.Lookup_Table_h(i, '$KJS_DIR/%s.cpp' % i)
|
||||
|
||||
env.Lookup_Table_h('lexer', '$KJS_DIR/keywords.table',
|
||||
CREATE_HASH_TABLE_FLAGS='')
|
||||
|
||||
# TODO(bradnelson): sucks, needs relative path
|
||||
env.Command('$WEBKIT_DIR/port/JavaScriptCore/chartables.c',
|
||||
'$PCRE_DIR/dftables',
|
||||
'$PERL ../third_party/WebKit/JavaScriptCore/pcre/dftables ' + \
|
||||
'${TARGET.posix}')
|
||||
|
||||
# We'd like to do this as follows:
|
||||
#env.CXXFile('grammar.cpp', '$KJS_DIR/grammar.y')
|
||||
# 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
|
||||
cpp = env.Command(['grammar.cpp', 'grammar.h'],
|
||||
'$KJS_DIR/grammar.y',
|
||||
'$YACCCOM',
|
||||
YACCCOM = '$YACC $YACCFLAGS -o $TARGET $SOURCES',
|
||||
YACCFLAGS = '-d -p kjsyy')
|
||||
env.AddPostAction(cpp, Move('${TARGETS[1]}', '${TARGET.dir}/grammar.hpp'))
|
||||
|
||||
copies = [
|
||||
'API/APICast.h',
|
||||
'API/JSBase.h',
|
||||
'API/JSValueRef.h',
|
||||
'API/JSObjectRef.h',
|
||||
'API/JSRetainPtr.h',
|
||||
'API/JSContextRef.h',
|
||||
'API/JSStringRef.h',
|
||||
'API/JSStringRefCF.h',
|
||||
'API/JSStringRefBSTR.h',
|
||||
'API/JavaScriptCore.h',
|
||||
'bindings/npruntime.h',
|
||||
'bindings/runtime.h',
|
||||
'bindings/np_jsobject.h',
|
||||
'bindings/npruntime_internal.h',
|
||||
'bindings/npruntime_impl.h',
|
||||
'bindings/runtime_object.h',
|
||||
'bindings/runtime_root.h',
|
||||
'kjs/JSLock.h',
|
||||
'kjs/interpreter.h',
|
||||
'wtf/HashCountedSet.h',
|
||||
]
|
||||
|
||||
JSCORE_OUT = '$WEBKIT_DIR/scons/WebCore/JavaScriptCore'
|
||||
|
||||
for c in copies:
|
||||
i = env.Install(JSCORE_OUT, '$JAVASCRIPTCORE_DIR/' + c)
|
||||
env.Alias('webkit', i)
|
||||
|
||||
i = env.Install(JSCORE_OUT, '../../pending/kjs/collector.h')
|
||||
env.Alias('webkit', i)
|
||||
|
||||
|
||||
# Stuff for WTF
|
||||
env = env.Clone(
|
||||
CPPPATH = [
|
||||
'$WEBKIT_DIR/build/JavaScriptCore',
|
||||
'$JAVASCRIPTCORE_DIR',
|
||||
'$JAVASCRIPTCORE_DIR/os-win32',
|
||||
'$JAVASCRIPTCORE_DIR/kjs',
|
||||
'$WTF_DIR',
|
||||
'$JAVASCRIPTCORE_DIR/API',
|
||||
'$JAVASCRIPTCORE_DIR/bindings',
|
||||
'$JAVASCRIPTCORE_DIR/bindings/c',
|
||||
'$JAVASCRIPTCORE_DIR/bindings/jni',
|
||||
'$WEBKIT_DIR/pending',
|
||||
'$WEBKIT_DIR/pending/wtf',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$WEBKIT_DIR',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'HAVE_CONFIG_H',
|
||||
'__STD_C',
|
||||
'CRASH=__debugbreak',
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
|
||||
'/wd4127',
|
||||
'/wd4355',
|
||||
'/wd4510',
|
||||
'/wd4512',
|
||||
'/wd4610',
|
||||
'/wd4706',
|
||||
],
|
||||
)
|
||||
|
||||
wtf_inputs = [
|
||||
'$WTF_DIR/Assertions.cpp',
|
||||
'$WTF_DIR/unicode/UTF8.cpp',
|
||||
'$WTF_DIR/TCSystemAlloc.cpp',
|
||||
'$WTF_DIR/HashTable.cpp',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('WTF', wtf_inputs)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
cygwin = Dir('#../third_party/cygwin/bin')
|
||||
cygwin_posix = cygwin.abspath.replace('\\', '/')
|
||||
env.PrependENVPath('PATH', '../third_party/cygwin/bin')
|
||||
|
||||
|
||||
hash_table_cmd = '$PERL $CREATE_HASH_TABLE $SOURCE $CREATE_HASH_TABLE_FLAGS > $TARGET'
|
||||
|
||||
env.Replace(
|
||||
CREATE_HASH_TABLE_COM = hash_table_cmd,
|
||||
CREATE_HASH_TABLE = env.File('#/../third_party/WebKit/JavascriptCore/kjs/create_hash_table'),
|
||||
CREATE_HASH_TABLE_FLAGS = '-i',
|
||||
)
|
||||
|
||||
env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM',
|
||||
suffix = '.lut.h',
|
||||
src_suffix = '.cpp')
|
||||
|
||||
|
||||
inputs = [
|
||||
'array_object',
|
||||
'date_object',
|
||||
'math_object',
|
||||
'number_object',
|
||||
'regexp_object',
|
||||
'string_object',
|
||||
]
|
||||
|
||||
for i in inputs:
|
||||
env.Lookup_Table_h(i, '$KJS_DIR/%s.cpp' % i)
|
||||
|
||||
env.Lookup_Table_h('lexer', '$KJS_DIR/keywords.table',
|
||||
CREATE_HASH_TABLE_FLAGS='')
|
||||
|
||||
# TODO(bradnelson): sucks, needs relative path
|
||||
env.Command('$WEBKIT_DIR/port/JavaScriptCore/chartables.c',
|
||||
'$PCRE_DIR/dftables',
|
||||
'$PERL ../third_party/WebKit/JavaScriptCore/pcre/dftables ' + \
|
||||
'${TARGET.posix}')
|
||||
|
||||
# We'd like to do this as follows:
|
||||
#env.CXXFile('grammar.cpp', '$KJS_DIR/grammar.y')
|
||||
# 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
|
||||
cpp = env.Command(['grammar.cpp', 'grammar.h'],
|
||||
'$KJS_DIR/grammar.y',
|
||||
'$YACCCOM',
|
||||
YACCCOM = '$YACC $YACCFLAGS -o $TARGET $SOURCES',
|
||||
YACCFLAGS = '-d -p kjsyy')
|
||||
env.AddPostAction(cpp, Move('${TARGETS[1]}', '${TARGET.dir}/grammar.hpp'))
|
||||
|
||||
copies = [
|
||||
'API/APICast.h',
|
||||
'API/JSBase.h',
|
||||
'API/JSValueRef.h',
|
||||
'API/JSObjectRef.h',
|
||||
'API/JSRetainPtr.h',
|
||||
'API/JSContextRef.h',
|
||||
'API/JSStringRef.h',
|
||||
'API/JSStringRefCF.h',
|
||||
'API/JSStringRefBSTR.h',
|
||||
'API/JavaScriptCore.h',
|
||||
'bindings/npruntime.h',
|
||||
'bindings/runtime.h',
|
||||
'bindings/np_jsobject.h',
|
||||
'bindings/npruntime_internal.h',
|
||||
'bindings/npruntime_impl.h',
|
||||
'bindings/runtime_object.h',
|
||||
'bindings/runtime_root.h',
|
||||
'kjs/JSLock.h',
|
||||
'kjs/interpreter.h',
|
||||
'wtf/HashCountedSet.h',
|
||||
]
|
||||
|
||||
JSCORE_OUT = '$WEBKIT_DIR/scons/WebCore/JavaScriptCore'
|
||||
|
||||
for c in copies:
|
||||
i = env.Install(JSCORE_OUT, '$JAVASCRIPTCORE_DIR/' + c)
|
||||
env.Alias('webkit', i)
|
||||
|
||||
i = env.Install(JSCORE_OUT, '../../pending/kjs/collector.h')
|
||||
env.Alias('webkit', i)
|
||||
|
||||
|
||||
# Stuff for WTF
|
||||
env = env.Clone(
|
||||
CPPPATH = [
|
||||
'$WEBKIT_DIR/build/JavaScriptCore',
|
||||
'$JAVASCRIPTCORE_DIR',
|
||||
'$JAVASCRIPTCORE_DIR/os-win32',
|
||||
'$JAVASCRIPTCORE_DIR/kjs',
|
||||
'$WTF_DIR',
|
||||
'$JAVASCRIPTCORE_DIR/API',
|
||||
'$JAVASCRIPTCORE_DIR/bindings',
|
||||
'$JAVASCRIPTCORE_DIR/bindings/c',
|
||||
'$JAVASCRIPTCORE_DIR/bindings/jni',
|
||||
'$WEBKIT_DIR/pending',
|
||||
'$WEBKIT_DIR/pending/wtf',
|
||||
'$ICU38_DIR/public/common',
|
||||
'$ICU38_DIR/public/i18n',
|
||||
'$WEBKIT_DIR',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'HAVE_CONFIG_H',
|
||||
'__STD_C',
|
||||
'CRASH=__debugbreak',
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'WINVER=0x0600',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
|
||||
'/wd4127',
|
||||
'/wd4355',
|
||||
'/wd4510',
|
||||
'/wd4512',
|
||||
'/wd4610',
|
||||
'/wd4706',
|
||||
],
|
||||
)
|
||||
|
||||
wtf_inputs = [
|
||||
'$WTF_DIR/Assertions.cpp',
|
||||
'$WTF_DIR/unicode/UTF8.cpp',
|
||||
'$WTF_DIR/TCSystemAlloc.cpp',
|
||||
'$WTF_DIR/HashTable.cpp',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('WTF', wtf_inputs)
|
||||
|
@ -1,325 +1,325 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPDEFINES = [
|
||||
'NOGDI',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4291',
|
||||
'/wd4099',
|
||||
'/wd4996',
|
||||
'/wd4521',
|
||||
'/wd4244',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
inputs = [
|
||||
'$DERIVED_DIR/V8MimeType.cpp',
|
||||
'$DERIVED_DIR/V8MimeTypeArray.cpp',
|
||||
'$PORT_DIR/bridge/V8Bridge.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_vectornodelist.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_proxy.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_nodefilter.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_index.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_events.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_custom.cpp',
|
||||
'$PORT_DIR/bindings/v8/JSXPathNSResolver.cpp',
|
||||
'$PORT_DIR/page/inspector/InspectorController.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_npobject.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_np_utils.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_helpers.cpp',
|
||||
'$PORT_DIR/bindings/v8/npruntime.cpp',
|
||||
'$PORT_DIR/bindings/v8/np_v8object.cpp',
|
||||
'$PORT_DIR/page/Navigator.cpp',
|
||||
'$PORT_DIR/page/Location.cpp',
|
||||
'$SHARED_DIR/PausedTimeouts.cpp',
|
||||
'$DERIVED_DIR/XPathGrammar.cpp',
|
||||
'$DERIVED_DIR/CSSGrammar.cpp',
|
||||
'$DERIVED_DIR/XMLNames.cpp',
|
||||
'$DERIVED_DIR/XLinkNames.cpp',
|
||||
'$DERIVED_DIR/V8XSLTProcessor.cpp',
|
||||
'$DERIVED_DIR/V8XPathResult.cpp',
|
||||
'$DERIVED_DIR/V8XPathNSResolver.cpp',
|
||||
'$DERIVED_DIR/V8XPathExpression.cpp',
|
||||
'$DERIVED_DIR/V8XPathException.cpp',
|
||||
'$DERIVED_DIR/V8XPathEvaluator.cpp',
|
||||
'$DERIVED_DIR/V8XMLSerializer.cpp',
|
||||
'$DERIVED_DIR/V8XMLHttpRequestException.cpp',
|
||||
'$DERIVED_DIR/V8XMLHttpRequest.cpp',
|
||||
'$DERIVED_DIR/V8WheelEvent.cpp',
|
||||
'$DERIVED_DIR/V8UndetectableHTMLCollection.cpp',
|
||||
'$DERIVED_DIR/V8UIEvent.cpp',
|
||||
'$DERIVED_DIR/V8TreeWalker.cpp',
|
||||
'$DERIVED_DIR/V8TextEvent.cpp',
|
||||
'$DERIVED_DIR/V8Text.cpp',
|
||||
'$DERIVED_DIR/V8SVGZoomEvent.cpp',
|
||||
'$DERIVED_DIR/V8SVGViewElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGUseElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGURIReference.cpp',
|
||||
'$DERIVED_DIR/V8SVGUnitTypes.cpp',
|
||||
'$DERIVED_DIR/V8SVGTSpanElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTRefElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTransformList.cpp',
|
||||
'$DERIVED_DIR/V8SVGTransform.cpp',
|
||||
'$DERIVED_DIR/V8SVGTitleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextPositioningElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextContentElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSymbolElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSwitchElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSVGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGStyleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGStringList.cpp',
|
||||
'$DERIVED_DIR/V8SVGStopElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGScriptElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGRenderingIntent.cpp',
|
||||
'$DERIVED_DIR/V8SVGRectElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGRect.cpp',
|
||||
'$DERIVED_DIR/V8SVGRadialGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPreserveAspectRatio.cpp',
|
||||
'$DERIVED_DIR/V8SVGPolylineElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPolygonElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPointList.cpp',
|
||||
'$DERIVED_DIR/V8SVGPoint.cpp',
|
||||
'$DERIVED_DIR/V8SVGPatternElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegMovetoRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegMovetoAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegList.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegClosePath.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegArcRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegArcAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSeg.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPaint.cpp',
|
||||
'$DERIVED_DIR/V8SVGNumberList.cpp',
|
||||
'$DERIVED_DIR/V8SVGNumber.cpp',
|
||||
'$DERIVED_DIR/V8SVGMetadataElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGMatrix.cpp',
|
||||
'$DERIVED_DIR/V8SVGMaskElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGMarkerElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLineElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLinearGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLengthList.cpp',
|
||||
'$DERIVED_DIR/V8SVGLength.cpp',
|
||||
'$DERIVED_DIR/V8SVGImageElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGForeignObjectElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceUriElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceSrcElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceNameElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceFormatElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGException.cpp',
|
||||
'$DERIVED_DIR/V8SVGEllipseElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGElementInstanceList.cpp',
|
||||
'$DERIVED_DIR/V8SVGElementInstance.cpp',
|
||||
'$DERIVED_DIR/V8SVGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDocument.cpp',
|
||||
'$DERIVED_DIR/V8SVGDescElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDefsElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDefinitionSrcElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGCursorElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGColor.cpp',
|
||||
'$DERIVED_DIR/V8SVGClipPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGCircleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedTransformList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedString.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedRect.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedPreserveAspectRatio.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedPoints.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedNumberList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedNumber.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedLengthList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedLength.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedInteger.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedEnumeration.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedBoolean.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedAngle.cpp',
|
||||
'$DERIVED_DIR/V8SVGAngle.cpp',
|
||||
'$DERIVED_DIR/V8SVGAElement.cpp',
|
||||
'$DERIVED_DIR/V8StyleSheetList.cpp',
|
||||
'$DERIVED_DIR/V8StyleSheet.cpp',
|
||||
'$DERIVED_DIR/V8Screen.cpp',
|
||||
'$DERIVED_DIR/V8RGBColor.cpp',
|
||||
'$DERIVED_DIR/V8Rect.cpp',
|
||||
'$DERIVED_DIR/V8RangeException.cpp',
|
||||
'$DERIVED_DIR/V8Range.cpp',
|
||||
'$DERIVED_DIR/V8ProgressEvent.cpp',
|
||||
'$DERIVED_DIR/V8ProcessingInstruction.cpp',
|
||||
'$DERIVED_DIR/V8PluginArray.cpp',
|
||||
'$DERIVED_DIR/V8Plugin.cpp',
|
||||
'$DERIVED_DIR/V8OverflowEvent.cpp',
|
||||
'$DERIVED_DIR/V8Notation.cpp',
|
||||
'$DERIVED_DIR/V8NodeList.cpp',
|
||||
'$DERIVED_DIR/V8NodeIterator.cpp',
|
||||
'$DERIVED_DIR/V8NodeFilter.cpp',
|
||||
'$DERIVED_DIR/V8Node.cpp',
|
||||
'$DERIVED_DIR/V8Navigator.cpp',
|
||||
'$DERIVED_DIR/V8NamedNodeMap.cpp',
|
||||
'$DERIVED_DIR/V8MutationEvent.cpp',
|
||||
'$DERIVED_DIR/V8MouseEvent.cpp',
|
||||
'$DERIVED_DIR/V8MessageEvent.cpp',
|
||||
'$DERIVED_DIR/V8MediaList.cpp',
|
||||
'$DERIVED_DIR/V8Location.cpp',
|
||||
'$DERIVED_DIR/V8KeyboardEvent.cpp',
|
||||
'$DERIVED_DIR/V8InspectorController.cpp',
|
||||
'$DERIVED_DIR/V8HTMLUListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTitleElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTextAreaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableSectionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableRowElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableColElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableCellElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableCaptionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLStyleElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLSelectionInputElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLSelectElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLScriptElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLQuoteElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLPreElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLParamElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLParagraphElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptionsCollection.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptGroupElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLObjectElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLModElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMetaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMenuElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMarqueeElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMapElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLinkElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLIElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLegendElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLabelElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLIsIndexElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLInputElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLImageElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLIFrameElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHtmlElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHRElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHeadingElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHeadElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFrameSetElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFrameElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFormElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFontElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFieldSetElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLEmbedElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDocument.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDivElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDirectoryElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLCollection.cpp',
|
||||
'$DERIVED_DIR/V8HTMLCanvasElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLButtonElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBRElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBodyElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBlockquoteElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBaseFontElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBaseElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAreaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAppletElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAnchorElement.cpp',
|
||||
'$DERIVED_DIR/V8History.cpp',
|
||||
'$DERIVED_DIR/V8EventTargetNode.cpp',
|
||||
'$DERIVED_DIR/V8EventException.cpp',
|
||||
'$DERIVED_DIR/V8Event.cpp',
|
||||
'$DERIVED_DIR/V8EntityReference.cpp',
|
||||
'$DERIVED_DIR/V8Entity.cpp',
|
||||
'$DERIVED_DIR/V8Element.cpp',
|
||||
'$DERIVED_DIR/V8DOMWindow.cpp',
|
||||
'$DERIVED_DIR/V8DOMSelection.cpp',
|
||||
'$DERIVED_DIR/V8DOMParser.cpp',
|
||||
'$DERIVED_DIR/V8DOMImplementation.cpp',
|
||||
'$DERIVED_DIR/V8DOMCoreException.cpp',
|
||||
'$DERIVED_DIR/V8DocumentType.cpp',
|
||||
'$DERIVED_DIR/V8DocumentFragment.cpp',
|
||||
'$DERIVED_DIR/V8Document.cpp',
|
||||
'$DERIVED_DIR/V8CSSValueList.cpp',
|
||||
'$DERIVED_DIR/V8CSSValue.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleSheet.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleDeclaration.cpp',
|
||||
'$DERIVED_DIR/V8CSSRuleList.cpp',
|
||||
'$DERIVED_DIR/V8CSSRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSPrimitiveValue.cpp',
|
||||
'$DERIVED_DIR/V8CSSPageRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSMediaRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSImportRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSFontFaceRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSCharsetRule.cpp',
|
||||
'$DERIVED_DIR/V8Counter.cpp',
|
||||
'$DERIVED_DIR/V8Console.cpp',
|
||||
'$DERIVED_DIR/V8Comment.cpp',
|
||||
'$DERIVED_DIR/V8Clipboard.cpp',
|
||||
'$DERIVED_DIR/V8CharacterData.cpp',
|
||||
'$DERIVED_DIR/V8CDATASection.cpp',
|
||||
'$DERIVED_DIR/V8CanvasRenderingContext2D.cpp',
|
||||
'$DERIVED_DIR/V8CanvasPattern.cpp',
|
||||
'$DERIVED_DIR/V8CanvasGradient.cpp',
|
||||
'$DERIVED_DIR/V8BarInfo.cpp',
|
||||
'$DERIVED_DIR/V8Attr.cpp',
|
||||
'$DERIVED_DIR/UserAgentStyleSheetsData.cpp',
|
||||
'$DERIVED_DIR/SVGNames.cpp',
|
||||
'$DERIVED_DIR/SVGElementFactory.cpp',
|
||||
'$DERIVED_DIR/HTMLNames.cpp',
|
||||
]
|
||||
|
||||
|
||||
env.ChromeStaticLibrary('V8Bindings', inputs)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
||||
env.Prepend(
|
||||
CPPDEFINES = [
|
||||
'NOGDI',
|
||||
],
|
||||
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/wd4291',
|
||||
'/wd4099',
|
||||
'/wd4996',
|
||||
'/wd4521',
|
||||
'/wd4244',
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
inputs = [
|
||||
'$DERIVED_DIR/V8MimeType.cpp',
|
||||
'$DERIVED_DIR/V8MimeTypeArray.cpp',
|
||||
'$PORT_DIR/bridge/V8Bridge.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_vectornodelist.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_proxy.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_nodefilter.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_index.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_events.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_custom.cpp',
|
||||
'$PORT_DIR/bindings/v8/JSXPathNSResolver.cpp',
|
||||
'$PORT_DIR/page/inspector/InspectorController.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_npobject.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_np_utils.cpp',
|
||||
'$PORT_DIR/bindings/v8/v8_helpers.cpp',
|
||||
'$PORT_DIR/bindings/v8/npruntime.cpp',
|
||||
'$PORT_DIR/bindings/v8/np_v8object.cpp',
|
||||
'$PORT_DIR/page/Navigator.cpp',
|
||||
'$PORT_DIR/page/Location.cpp',
|
||||
'$SHARED_DIR/PausedTimeouts.cpp',
|
||||
'$DERIVED_DIR/XPathGrammar.cpp',
|
||||
'$DERIVED_DIR/CSSGrammar.cpp',
|
||||
'$DERIVED_DIR/XMLNames.cpp',
|
||||
'$DERIVED_DIR/XLinkNames.cpp',
|
||||
'$DERIVED_DIR/V8XSLTProcessor.cpp',
|
||||
'$DERIVED_DIR/V8XPathResult.cpp',
|
||||
'$DERIVED_DIR/V8XPathNSResolver.cpp',
|
||||
'$DERIVED_DIR/V8XPathExpression.cpp',
|
||||
'$DERIVED_DIR/V8XPathException.cpp',
|
||||
'$DERIVED_DIR/V8XPathEvaluator.cpp',
|
||||
'$DERIVED_DIR/V8XMLSerializer.cpp',
|
||||
'$DERIVED_DIR/V8XMLHttpRequestException.cpp',
|
||||
'$DERIVED_DIR/V8XMLHttpRequest.cpp',
|
||||
'$DERIVED_DIR/V8WheelEvent.cpp',
|
||||
'$DERIVED_DIR/V8UndetectableHTMLCollection.cpp',
|
||||
'$DERIVED_DIR/V8UIEvent.cpp',
|
||||
'$DERIVED_DIR/V8TreeWalker.cpp',
|
||||
'$DERIVED_DIR/V8TextEvent.cpp',
|
||||
'$DERIVED_DIR/V8Text.cpp',
|
||||
'$DERIVED_DIR/V8SVGZoomEvent.cpp',
|
||||
'$DERIVED_DIR/V8SVGViewElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGUseElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGURIReference.cpp',
|
||||
'$DERIVED_DIR/V8SVGUnitTypes.cpp',
|
||||
'$DERIVED_DIR/V8SVGTSpanElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTRefElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTransformList.cpp',
|
||||
'$DERIVED_DIR/V8SVGTransform.cpp',
|
||||
'$DERIVED_DIR/V8SVGTitleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextPositioningElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGTextContentElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSymbolElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSwitchElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGSVGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGStyleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGStringList.cpp',
|
||||
'$DERIVED_DIR/V8SVGStopElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGScriptElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGRenderingIntent.cpp',
|
||||
'$DERIVED_DIR/V8SVGRectElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGRect.cpp',
|
||||
'$DERIVED_DIR/V8SVGRadialGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPreserveAspectRatio.cpp',
|
||||
'$DERIVED_DIR/V8SVGPolylineElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPolygonElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPointList.cpp',
|
||||
'$DERIVED_DIR/V8SVGPoint.cpp',
|
||||
'$DERIVED_DIR/V8SVGPatternElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegMovetoRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegMovetoAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegList.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoVerticalAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoHorizontalAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegLinetoAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegCurvetoCubicAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegClosePath.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegArcRel.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSegArcAbs.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathSeg.cpp',
|
||||
'$DERIVED_DIR/V8SVGPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGPaint.cpp',
|
||||
'$DERIVED_DIR/V8SVGNumberList.cpp',
|
||||
'$DERIVED_DIR/V8SVGNumber.cpp',
|
||||
'$DERIVED_DIR/V8SVGMetadataElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGMatrix.cpp',
|
||||
'$DERIVED_DIR/V8SVGMaskElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGMarkerElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLineElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLinearGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGLengthList.cpp',
|
||||
'$DERIVED_DIR/V8SVGLength.cpp',
|
||||
'$DERIVED_DIR/V8SVGImageElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGGradientElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGForeignObjectElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceUriElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceSrcElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceNameElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceFormatElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGFontFaceElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGException.cpp',
|
||||
'$DERIVED_DIR/V8SVGEllipseElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGElementInstanceList.cpp',
|
||||
'$DERIVED_DIR/V8SVGElementInstance.cpp',
|
||||
'$DERIVED_DIR/V8SVGElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDocument.cpp',
|
||||
'$DERIVED_DIR/V8SVGDescElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDefsElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGDefinitionSrcElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGCursorElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGColor.cpp',
|
||||
'$DERIVED_DIR/V8SVGClipPathElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGCircleElement.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedTransformList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedString.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedRect.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedPreserveAspectRatio.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedPoints.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedNumberList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedNumber.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedLengthList.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedLength.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedInteger.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedEnumeration.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedBoolean.cpp',
|
||||
'$DERIVED_DIR/V8SVGAnimatedAngle.cpp',
|
||||
'$DERIVED_DIR/V8SVGAngle.cpp',
|
||||
'$DERIVED_DIR/V8SVGAElement.cpp',
|
||||
'$DERIVED_DIR/V8StyleSheetList.cpp',
|
||||
'$DERIVED_DIR/V8StyleSheet.cpp',
|
||||
'$DERIVED_DIR/V8Screen.cpp',
|
||||
'$DERIVED_DIR/V8RGBColor.cpp',
|
||||
'$DERIVED_DIR/V8Rect.cpp',
|
||||
'$DERIVED_DIR/V8RangeException.cpp',
|
||||
'$DERIVED_DIR/V8Range.cpp',
|
||||
'$DERIVED_DIR/V8ProgressEvent.cpp',
|
||||
'$DERIVED_DIR/V8ProcessingInstruction.cpp',
|
||||
'$DERIVED_DIR/V8PluginArray.cpp',
|
||||
'$DERIVED_DIR/V8Plugin.cpp',
|
||||
'$DERIVED_DIR/V8OverflowEvent.cpp',
|
||||
'$DERIVED_DIR/V8Notation.cpp',
|
||||
'$DERIVED_DIR/V8NodeList.cpp',
|
||||
'$DERIVED_DIR/V8NodeIterator.cpp',
|
||||
'$DERIVED_DIR/V8NodeFilter.cpp',
|
||||
'$DERIVED_DIR/V8Node.cpp',
|
||||
'$DERIVED_DIR/V8Navigator.cpp',
|
||||
'$DERIVED_DIR/V8NamedNodeMap.cpp',
|
||||
'$DERIVED_DIR/V8MutationEvent.cpp',
|
||||
'$DERIVED_DIR/V8MouseEvent.cpp',
|
||||
'$DERIVED_DIR/V8MessageEvent.cpp',
|
||||
'$DERIVED_DIR/V8MediaList.cpp',
|
||||
'$DERIVED_DIR/V8Location.cpp',
|
||||
'$DERIVED_DIR/V8KeyboardEvent.cpp',
|
||||
'$DERIVED_DIR/V8InspectorController.cpp',
|
||||
'$DERIVED_DIR/V8HTMLUListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTitleElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTextAreaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableSectionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableRowElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableColElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableCellElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLTableCaptionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLStyleElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLSelectionInputElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLSelectElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLScriptElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLQuoteElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLPreElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLParamElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLParagraphElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptionsCollection.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptionElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOptGroupElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLOListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLObjectElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLModElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMetaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMenuElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMarqueeElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLMapElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLinkElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLIElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLegendElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLLabelElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLIsIndexElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLInputElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLImageElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLIFrameElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHtmlElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHRElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHeadingElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLHeadElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFrameSetElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFrameElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFormElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFontElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLFieldSetElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLEmbedElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDocument.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDListElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDivElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLDirectoryElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLCollection.cpp',
|
||||
'$DERIVED_DIR/V8HTMLCanvasElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLButtonElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBRElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBodyElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBlockquoteElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBaseFontElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLBaseElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAreaElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAppletElement.cpp',
|
||||
'$DERIVED_DIR/V8HTMLAnchorElement.cpp',
|
||||
'$DERIVED_DIR/V8History.cpp',
|
||||
'$DERIVED_DIR/V8EventTargetNode.cpp',
|
||||
'$DERIVED_DIR/V8EventException.cpp',
|
||||
'$DERIVED_DIR/V8Event.cpp',
|
||||
'$DERIVED_DIR/V8EntityReference.cpp',
|
||||
'$DERIVED_DIR/V8Entity.cpp',
|
||||
'$DERIVED_DIR/V8Element.cpp',
|
||||
'$DERIVED_DIR/V8DOMWindow.cpp',
|
||||
'$DERIVED_DIR/V8DOMSelection.cpp',
|
||||
'$DERIVED_DIR/V8DOMParser.cpp',
|
||||
'$DERIVED_DIR/V8DOMImplementation.cpp',
|
||||
'$DERIVED_DIR/V8DOMCoreException.cpp',
|
||||
'$DERIVED_DIR/V8DocumentType.cpp',
|
||||
'$DERIVED_DIR/V8DocumentFragment.cpp',
|
||||
'$DERIVED_DIR/V8Document.cpp',
|
||||
'$DERIVED_DIR/V8CSSValueList.cpp',
|
||||
'$DERIVED_DIR/V8CSSValue.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleSheet.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSStyleDeclaration.cpp',
|
||||
'$DERIVED_DIR/V8CSSRuleList.cpp',
|
||||
'$DERIVED_DIR/V8CSSRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSPrimitiveValue.cpp',
|
||||
'$DERIVED_DIR/V8CSSPageRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSMediaRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSImportRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSFontFaceRule.cpp',
|
||||
'$DERIVED_DIR/V8CSSCharsetRule.cpp',
|
||||
'$DERIVED_DIR/V8Counter.cpp',
|
||||
'$DERIVED_DIR/V8Console.cpp',
|
||||
'$DERIVED_DIR/V8Comment.cpp',
|
||||
'$DERIVED_DIR/V8Clipboard.cpp',
|
||||
'$DERIVED_DIR/V8CharacterData.cpp',
|
||||
'$DERIVED_DIR/V8CDATASection.cpp',
|
||||
'$DERIVED_DIR/V8CanvasRenderingContext2D.cpp',
|
||||
'$DERIVED_DIR/V8CanvasPattern.cpp',
|
||||
'$DERIVED_DIR/V8CanvasGradient.cpp',
|
||||
'$DERIVED_DIR/V8BarInfo.cpp',
|
||||
'$DERIVED_DIR/V8Attr.cpp',
|
||||
'$DERIVED_DIR/UserAgentStyleSheetsData.cpp',
|
||||
'$DERIVED_DIR/SVGNames.cpp',
|
||||
'$DERIVED_DIR/SVGElementFactory.cpp',
|
||||
'$DERIVED_DIR/HTMLNames.cpp',
|
||||
]
|
||||
|
||||
|
||||
env.ChromeStaticLibrary('V8Bindings', inputs)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,58 +1,58 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import(['env', 'env_res'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
".",
|
||||
#"#/../chrome/Debug/obj/chrome_dll",
|
||||
"#/..",
|
||||
#"#/../chrome/Debug/obj",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(Dir('#/../tools/grit').abspath)
|
||||
env_grd = env.Clone()
|
||||
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
|
||||
# This dummy target (webkit_strings) is used to tell the emitter where
|
||||
# to put the target files.
|
||||
generated = env_grd.GRIT('webkit_strings',
|
||||
'#/../webkit/glue/webkit_strings.grd')
|
||||
for g in [ g for g in generated if str(g).endswith('.rc') ]:
|
||||
env_res.RES(g)
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import(['env', 'env_res'])
|
||||
|
||||
env = env.Clone()
|
||||
env_res = env_res.Clone()
|
||||
|
||||
env_res.Append(
|
||||
CPPPATH = [
|
||||
".",
|
||||
#"#/../chrome/Debug/obj/chrome_dll",
|
||||
"#/..",
|
||||
#"#/../chrome/Debug/obj",
|
||||
],
|
||||
RCFLAGS = [
|
||||
["/l", "0x409"],
|
||||
],
|
||||
)
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(Dir('#/../tools/grit').abspath)
|
||||
env_grd = env.Clone()
|
||||
env_grd.Tool('scons', toolpath=['#/../tools/grit/grit'])
|
||||
# This dummy target (webkit_strings) is used to tell the emitter where
|
||||
# to put the target files.
|
||||
generated = env_grd.GRIT('webkit_strings',
|
||||
'#/../webkit/glue/webkit_strings.grd')
|
||||
for g in [ g for g in generated if str(g).endswith('.rc') ]:
|
||||
env_res.RES(g)
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,68 +1,68 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/../webkit/glue',
|
||||
'$ICU38/public/common',
|
||||
'$ICU38/public/i18n',
|
||||
'#/../third_party/libxml/include',
|
||||
'#/../third_party/npapi',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_installer.cc',
|
||||
'default_plugin.cc',
|
||||
'plugin_main.cc',
|
||||
'plugin_impl.cc',
|
||||
'plugin_database_handler.cc',
|
||||
'plugin_install_job_monitor.cc',
|
||||
'install_dialog.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('default_plugin', input_files)
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH = [
|
||||
'#/../webkit/glue',
|
||||
'$ICU38/public/common',
|
||||
'$ICU38/public/i18n',
|
||||
'#/../third_party/libxml/include',
|
||||
'#/../third_party/npapi',
|
||||
'#/..',
|
||||
],
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES = [
|
||||
'U_STATIC_IMPLEMENTATION',
|
||||
'LIBXML_STATIC',
|
||||
],
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
'/Wp64',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'activex_installer.cc',
|
||||
'default_plugin.cc',
|
||||
'plugin_main.cc',
|
||||
'plugin_impl.cc',
|
||||
'plugin_database_handler.cc',
|
||||
'plugin_install_job_monitor.cc',
|
||||
'install_dialog.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('default_plugin', input_files)
|
||||
|
@ -1,107 +1,107 @@
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$PENDING_DIR/AccessibleBase.cpp',
|
||||
'$PENDING_DIR/AccessibleDocument.cpp',
|
||||
'alt_404_page_resource_fetcher.cc',
|
||||
'alt_error_page_resource_fetcher.cc',
|
||||
'autocomplete_input_listener.cc',
|
||||
'cache_manager.cc',
|
||||
'chrome_client_impl.cc',
|
||||
'context_menu_client_impl.cc',
|
||||
'cpp_binding_example.cc',
|
||||
'cpp_bound_class.cc',
|
||||
'cpp_variant.cc',
|
||||
'debugger.cc',
|
||||
'dom_operations.cc',
|
||||
'dom_serializer.cc',
|
||||
'dragclient_impl.cc',
|
||||
'editor_client_impl.cc',
|
||||
'entity_map.cc',
|
||||
'event_conversion.cc',
|
||||
'feed_preview.cc',
|
||||
'glue_serialize.cc',
|
||||
'glue_util.cc',
|
||||
'image_decoder.cc',
|
||||
'image_resource_fetcher.cc',
|
||||
'inspector_client_impl.cc',
|
||||
'localized_strings.cc',
|
||||
'multipart_response_delegate.cc',
|
||||
'npruntime_util.cc',
|
||||
'password_autocomplete_listener.cc',
|
||||
'password_form_dom_manager.cc',
|
||||
'plugins/mozilla_extensions.cc',
|
||||
'plugins/plugin_data_stream.cc',
|
||||
'plugins/plugin_host.cc',
|
||||
'plugins/plugin_instance.cc',
|
||||
'plugins/plugin_lib.cc',
|
||||
'plugins/plugin_list.cc',
|
||||
'plugins/plugin_stream.cc',
|
||||
'plugins/plugin_stream_url.cc',
|
||||
'plugins/plugin_string_stream.cc',
|
||||
'plugins/webplugin_delegate_impl.cc',
|
||||
'resource_fetcher.cc',
|
||||
'resource_handle_win.cc',
|
||||
'searchable_form_data.cc',
|
||||
'simple_clipboard_impl.cc',
|
||||
'webcursor.cc',
|
||||
'webdatasource_impl.cc',
|
||||
'webdocumentloader_impl.cc',
|
||||
'webdropdata.cc',
|
||||
'weberror_impl.cc',
|
||||
'webframe_impl.cc',
|
||||
'webframeloaderclient_impl.cc',
|
||||
'webhistoryitem_impl.cc',
|
||||
'webinputevent.cc',
|
||||
'webkit_glue.cc',
|
||||
'webplugin_impl.cc',
|
||||
'webtextinput_impl.cc',
|
||||
'weburlrequest_impl.cc',
|
||||
'webview_impl.cc',
|
||||
'webwidget_impl.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('Glue', input_files)
|
||||
|
||||
|
||||
# Copyright 2008, Google Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following disclaimer
|
||||
# in the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# * Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Append(
|
||||
CCFLAGS = [
|
||||
'/TP',
|
||||
|
||||
'/WX',
|
||||
|
||||
'/wd4800',
|
||||
],
|
||||
)
|
||||
|
||||
input_files = [
|
||||
'$PENDING_DIR/AccessibleBase.cpp',
|
||||
'$PENDING_DIR/AccessibleDocument.cpp',
|
||||
'alt_404_page_resource_fetcher.cc',
|
||||
'alt_error_page_resource_fetcher.cc',
|
||||
'autocomplete_input_listener.cc',
|
||||
'cache_manager.cc',
|
||||
'chrome_client_impl.cc',
|
||||
'context_menu_client_impl.cc',
|
||||
'cpp_binding_example.cc',
|
||||
'cpp_bound_class.cc',
|
||||
'cpp_variant.cc',
|
||||
'debugger.cc',
|
||||
'dom_operations.cc',
|
||||
'dom_serializer.cc',
|
||||
'dragclient_impl.cc',
|
||||
'editor_client_impl.cc',
|
||||
'entity_map.cc',
|
||||
'event_conversion.cc',
|
||||
'feed_preview.cc',
|
||||
'glue_serialize.cc',
|
||||
'glue_util.cc',
|
||||
'image_decoder.cc',
|
||||
'image_resource_fetcher.cc',
|
||||
'inspector_client_impl.cc',
|
||||
'localized_strings.cc',
|
||||
'multipart_response_delegate.cc',
|
||||
'npruntime_util.cc',
|
||||
'password_autocomplete_listener.cc',
|
||||
'password_form_dom_manager.cc',
|
||||
'plugins/mozilla_extensions.cc',
|
||||
'plugins/plugin_data_stream.cc',
|
||||
'plugins/plugin_host.cc',
|
||||
'plugins/plugin_instance.cc',
|
||||
'plugins/plugin_lib.cc',
|
||||
'plugins/plugin_list.cc',
|
||||
'plugins/plugin_stream.cc',
|
||||
'plugins/plugin_stream_url.cc',
|
||||
'plugins/plugin_string_stream.cc',
|
||||
'plugins/webplugin_delegate_impl.cc',
|
||||
'resource_fetcher.cc',
|
||||
'resource_handle_win.cc',
|
||||
'searchable_form_data.cc',
|
||||
'simple_clipboard_impl.cc',
|
||||
'webcursor.cc',
|
||||
'webdatasource_impl.cc',
|
||||
'webdocumentloader_impl.cc',
|
||||
'webdropdata.cc',
|
||||
'weberror_impl.cc',
|
||||
'webframe_impl.cc',
|
||||
'webframeloaderclient_impl.cc',
|
||||
'webhistoryitem_impl.cc',
|
||||
'webinputevent.cc',
|
||||
'webkit_glue.cc',
|
||||
'webplugin_impl.cc',
|
||||
'webtextinput_impl.cc',
|
||||
'weburlrequest_impl.cc',
|
||||
'webview_impl.cc',
|
||||
'webwidget_impl.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('Glue', input_files)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user