summaryrefslogtreecommitdiffstats
path: root/webkit/build
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-01 23:20:38 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-01 23:20:38 +0000
commit58cfa44c0acaa816621b49753aba8345ecb8c876 (patch)
tree61c3791d72c6205106af176fddbc4d868f40ab0c /webkit/build
parent84658a60566f556b4053215439608e1dd07b96fb (diff)
downloadchromium_src-58cfa44c0acaa816621b49753aba8345ecb8c876.zip
chromium_src-58cfa44c0acaa816621b49753aba8345ecb8c876.tar.gz
chromium_src-58cfa44c0acaa816621b49753aba8345ecb8c876.tar.bz2
* Get linux building with the merge branch
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build')
-rw-r--r--webkit/build/JavaScriptCore/SConscript23
-rw-r--r--webkit/build/port/SConscript16
2 files changed, 22 insertions, 17 deletions
diff --git a/webkit/build/JavaScriptCore/SConscript b/webkit/build/JavaScriptCore/SConscript
index ba5cb99..97534f7 100644
--- a/webkit/build/JavaScriptCore/SConscript
+++ b/webkit/build/JavaScriptCore/SConscript
@@ -20,11 +20,17 @@ env.Replace(
CREATE_HASH_TABLE_FLAGS = '-i',
)
+# TODO(erg): Temporarily disabling JSC building since it's changed heavily
+# during the merge; I am also not sure we want/need to build it when building
+# V8...
+#
+# We still need to build the pieces of pcre so we can't just drop this
+# SConscript file though... <http://crbug.com/3043>
+"""
env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM',
suffix = '.lut.h',
src_suffix = '.cpp')
-
inputs = [
'array_object',
'date_object',
@@ -39,6 +45,7 @@ for i in inputs:
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',
@@ -68,13 +75,13 @@ copies = [
'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',
+ '../WebCore/bridge/npruntime.h',
+ '../WebCore/bridge/runtime.h',
+ '../WebCore/bridge/NP_jsobject.h',
+ '../WebCore/bridge/npruntime_internal.h',
+ '../WebCore/bridge/npruntime_impl.h',
+ '../WebCore/bridge/runtime_object.h',
+ '../WebCore/bridge/runtime_root.h',
'kjs/collector.h',
'kjs/JSLock.h',
'kjs/interpreter.h',
diff --git a/webkit/build/port/SConscript b/webkit/build/port/SConscript
index ca73194..73d225a 100644
--- a/webkit/build/port/SConscript
+++ b/webkit/build/port/SConscript
@@ -42,7 +42,7 @@ env = env.Clone(
BINDINGS_SCRIPTS_DIR = '$WEBKIT_DIR/port/bindings/scripts',
BINDINGS_SCRIPT = '$BINDINGS_SCRIPTS_DIR/generate-bindings.pl',
- PERL_INCLUDE_PATH = ['$BINDINGS_SCRIPTS_DIR',
+ PERL_INCLUDE_PATH = ['$BINDINGS_SCRIPTS_DIR',
'#/../third_party/WebKit/WebCore/bindings/scripts'],
WEBKIT_PORT_DIR = '$WEBKIT_DIR/port',
@@ -477,15 +477,13 @@ i = env.Install('$SHARED_DIR',
'$WEBKIT_PORT_DIR/bindings/js/PausedTimeouts.cpp'])
env.Alias('webkit', i)
-
-
# HTML tag and attribute names
env.Command(['$DERIVED_DIR/HTMLNames.cpp',
'$DERIVED_DIR/HTMLNames.h'],
['$WEBKIT_PORT_DIR/dom/make_names.pl',
'$WEBKIT_PORT_DIR/html/HTMLTagNames.in',
'$WEBKIT_PORT_DIR/html/HTMLAttributeNames.in'],
- '$PERL ${SOURCES[0].posix} ' + \
+ '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' + \
'--tags ${SOURCES[1].posix} ' + \
'--attrs ${SOURCES[2].posix} ' + \
'--namespace HTML --namespacePrefix xhtml ' + \
@@ -497,7 +495,7 @@ env.Command(['$DERIVED_DIR/XMLNames.cpp',
'$DERIVED_DIR/XMLNames.h'],
['$WEBKIT_PORT_DIR/dom/make_names.pl',
'$WEBKIT_PORT_DIR/xml/xmlattrs.in'],
- '$PERL ${SOURCES[0].posix} ' + \
+ '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' + \
'--attrs ${SOURCES[1].posix} ' + \
'--namespace XML --cppNamespace WebCore ' + \
'--namespaceURI "http://www.w3.org/XML/1998/namespace" ' + \
@@ -510,7 +508,7 @@ env.Command(['$DERIVED_DIR/SVGElementFactory.cpp',
['$WEBKIT_PORT_DIR/dom/make_names.pl',
'$WEBKIT_PORT_DIR/svg/svgtags.in',
'$WEBKIT_PORT_DIR/svg/svgattrs.in'],
- '$PERL ${SOURCES[0].posix} ' + \
+ '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' + \
'--tags ${SOURCES[1].posix} ' + \
'--attrs ${SOURCES[2].posix} ' + \
'--extraDefines "$SVG_FLAGS" ' + \
@@ -522,7 +520,7 @@ env.Command(['$DERIVED_DIR/XLinkNames.cpp',
'$DERIVED_DIR/XLinkNames.h'],
['$WEBKIT_PORT_DIR/dom/make_names.pl',
'$WEBKIT_PORT_DIR/svg/xlinkattrs.in'],
- '$PERL ${SOURCES[0].posix} ' + \
+ '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' + \
'--attrs ${SOURCES[1].posix} ' + \
'--namespace XLink --cppNamespace WebCore ' + \
'--namespaceURI "http://www.w3.org/1999/xlink" ' + \
@@ -611,7 +609,7 @@ env.Command(['$DERIVED_DIR/CSSValueKeywords.c',
Move('${TARGETS[1]}', '${SOURCES[1].dir}/${TARGETS[1].file}'),
])
-env.Command(['$DERIVED_DIR/CSSPropertyNames.c',
+env.Command(['$DERIVED_DIR/CSSPropertyNames.cpp',
'$DERIVED_DIR/CSSPropertyNames.h'],
['$WEBKIT_PORT_DIR/css/makeprop.pl',
'$WEBKIT_PORT_DIR/css/CSSPropertyNames.in'],
@@ -649,4 +647,4 @@ env.Command('$DERIVED_DIR/HTMLEntityCodes.c',
env.Command('$DERIVED_DIR/tokenizer.cpp',
['$WEBKIT_PORT_DIR/css/tokenizer.flex',
'$WEBKIT_PORT_DIR/css/maketokenizer'],
- 'flex -t $SOURCE | perl ${SOURCES[1]} > $TARGET')
+ 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET')