| OLD | NEW |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os.path | 5 import os.path |
| 6 import re | 6 import re |
| 7 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 webcore = env.Dir('$CHROME_SRC_DIR/third_party/WebKit/WebCore') | 10 webcore = env.Dir('$CHROME_SRC_DIR/third_party/WebKit/WebCore') |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 elif True: | 143 elif True: |
| 144 env['BINDINGSPREFIX'] = 'V8' | 144 env['BINDINGSPREFIX'] = 'V8' |
| 145 env['BINDINGS_GENERATOR_ARG'] = 'V8' | 145 env['BINDINGS_GENERATOR_ARG'] = 'V8' |
| 146 env['BINDINGS_LANGUAGE'] = 'LANGUAGE_JAVASCRIPT V8_BINDING' | 146 env['BINDINGS_LANGUAGE'] = 'LANGUAGE_JAVASCRIPT V8_BINDING' |
| 147 env.Prepend(PERL_INCLUDE_PATH = [ '$PORTROOT/bindings/scripts' ]) | 147 env.Prepend(PERL_INCLUDE_PATH = [ '$PORTROOT/bindings/scripts' ]) |
| 148 else: | 148 else: |
| 149 print 'I am not going to generate bindings for you!' | 149 print 'I am not going to generate bindings for you!' |
| 150 | 150 |
| 151 | 151 |
| 152 idl_files = [ | 152 idl_files = [ |
| 153 'bindings/v8/CanvasPixelArray.idl', |
| 153 'bindings/v8/UndetectableHTMLCollection.idl', | 154 'bindings/v8/UndetectableHTMLCollection.idl', |
| 154 | 155 |
| 155 'css/Counter.idl', | 156 'css/Counter.idl', |
| 156 'css/CSSCharsetRule.idl', | 157 'css/CSSCharsetRule.idl', |
| 157 'css/CSSFontFaceRule.idl', | 158 'css/CSSFontFaceRule.idl', |
| 158 'css/CSSImportRule.idl', | 159 'css/CSSImportRule.idl', |
| 159 'css/CSSMediaRule.idl', | 160 'css/CSSMediaRule.idl', |
| 160 'css/CSSPageRule.idl', | 161 'css/CSSPageRule.idl', |
| 161 'css/CSSPrimitiveValue.idl', | 162 'css/CSSPrimitiveValue.idl', |
| 162 'css/CSSRule.idl', | 163 'css/CSSRule.idl', |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 env.Command('$DERIVED_DIR/HTMLEntityNames.c', | 638 env.Command('$DERIVED_DIR/HTMLEntityNames.c', |
| 638 '$PORT_DIR/html/HTMLEntityNames.gperf', | 639 '$PORT_DIR/html/HTMLEntityNames.gperf', |
| 639 'gperf -a -L ANSI-C -C -G -c -o -t -k "*" -N findEntity ' + \ | 640 'gperf -a -L ANSI-C -C -G -c -o -t -k "*" -N findEntity ' + \ |
| 640 '-D -s 2 $SOURCE > $TARGET') | 641 '-D -s 2 $SOURCE > $TARGET') |
| 641 | 642 |
| 642 # CSS tokenizer | 643 # CSS tokenizer |
| 643 env.Command('$DERIVED_DIR/tokenizer.cpp', | 644 env.Command('$DERIVED_DIR/tokenizer.cpp', |
| 644 ['$PORT_DIR/css/tokenizer.flex', | 645 ['$PORT_DIR/css/tokenizer.flex', |
| 645 '$PORT_DIR/css/maketokenizer'], | 646 '$PORT_DIR/css/maketokenizer'], |
| 646 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET') | 647 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET') |
| OLD | NEW |