| 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 492 |
| 493 # copy over some files | 493 # copy over some files |
| 494 # TODO(eroman): can probably get rid of this. | 494 # TODO(eroman): can probably get rid of this. |
| 495 i = env.Install('$SHARED_DIR', []) | 495 i = env.Install('$SHARED_DIR', []) |
| 496 env.Alias('webkit', i) | 496 env.Alias('webkit', i) |
| 497 | 497 |
| 498 # HTML tag and attribute names | 498 # HTML tag and attribute names |
| 499 # If we add ENABLE_ flags via HTML_FLAGS, we need to pass in | 499 # If we add ENABLE_ flags via HTML_FLAGS, we need to pass in |
| 500 # --extraDefines $HTML_FLAGS. | 500 # --extraDefines $HTML_FLAGS. |
| 501 env.Command(['$DERIVED_DIR/HTMLNames.cpp', | 501 env.Command(['$DERIVED_DIR/HTMLNames.cpp', |
| 502 '$DERIVED_DIR/HTMLNames.h'], | 502 '$DERIVED_DIR/HTMLNames.h', |
| 503 '$DERIVED_DIR/HTMLElementFactory.cpp', |
| 504 '$DERIVED_DIR/HTMLElementFactory.h'], |
| 503 ['$PORT_DIR/dom/make_names.pl', | 505 ['$PORT_DIR/dom/make_names.pl', |
| 504 '$PORT_DIR/html/HTMLTagNames.in', | 506 '$PORT_DIR/html/HTMLTagNames.in', |
| 505 '$PORT_DIR/html/HTMLAttributeNames.in'], | 507 '$PORT_DIR/html/HTMLAttributeNames.in'], |
| 506 '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' | 508 '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' |
| 507 '--tags ${SOURCES[1].posix} ' | 509 '--tags ${SOURCES[1].posix} ' |
| 508 '--attrs ${SOURCES[2].posix} ' | 510 '--attrs ${SOURCES[2].posix} ' |
| 511 '--factory ' |
| 509 '--wrapperFactory ' | 512 '--wrapperFactory ' |
| 510 '--outputDir $DERIVED_DIR') | 513 '--outputDir $DERIVED_DIR') |
| 511 | 514 |
| 512 env.Command(['$DERIVED_DIR/XMLNames.cpp', | 515 env.Command(['$DERIVED_DIR/XMLNames.cpp', |
| 513 '$DERIVED_DIR/XMLNames.h'], | 516 '$DERIVED_DIR/XMLNames.h'], |
| 514 ['$PORT_DIR/dom/make_names.pl', | 517 ['$PORT_DIR/dom/make_names.pl', |
| 515 '$PORT_DIR/xml/xmlattrs.in'], | 518 '$PORT_DIR/xml/xmlattrs.in'], |
| 516 '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' | 519 '$PERL $_PERL_INCLUDE_FLAGS ${SOURCES[0].posix} ' |
| 517 '--attrs ${SOURCES[1].posix} ' | 520 '--attrs ${SOURCES[1].posix} ' |
| 518 '--outputDir $DERIVED_DIR') | 521 '--outputDir $DERIVED_DIR') |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 env.Command('$DERIVED_DIR/HTMLEntityNames.c', | 647 env.Command('$DERIVED_DIR/HTMLEntityNames.c', |
| 645 '$PORT_DIR/html/HTMLEntityNames.gperf', | 648 '$PORT_DIR/html/HTMLEntityNames.gperf', |
| 646 'gperf -a -L ANSI-C -C -G -c -o -t -k "*" -N findEntity ' + \ | 649 'gperf -a -L ANSI-C -C -G -c -o -t -k "*" -N findEntity ' + \ |
| 647 '-D -s 2 $SOURCE > $TARGET') | 650 '-D -s 2 $SOURCE > $TARGET') |
| 648 | 651 |
| 649 # CSS tokenizer | 652 # CSS tokenizer |
| 650 env.Command('$DERIVED_DIR/tokenizer.cpp', | 653 env.Command('$DERIVED_DIR/tokenizer.cpp', |
| 651 ['$PORT_DIR/css/tokenizer.flex', | 654 ['$PORT_DIR/css/tokenizer.flex', |
| 652 '$PORT_DIR/css/maketokenizer'], | 655 '$PORT_DIR/css/maketokenizer'], |
| 653 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET') | 656 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET') |
| OLD | NEW |