Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: webkit/build/port/SConscript

Issue 7847: Using $CHROME_SRC_DIR in place of hash/..... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/build/localized_strings/SConscript ('k') | webkit/default_plugin/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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('#../third_party/WebKit/WebCore') 10 webcore = env.Dir('#../third_party/WebKit/WebCore')
(...skipping 24 matching lines...) Expand all
35 env = env.Clone( 35 env = env.Clone(
36 WEBCORE = webcore, 36 WEBCORE = webcore,
37 PENDING = pending, 37 PENDING = pending,
38 PORTROOT = portroot, 38 PORTROOT = portroot,
39 WEBKIT_BUILD = webkit_build, 39 WEBKIT_BUILD = webkit_build,
40 40
41 BINDINGS_SCRIPTS_DIR = '$WEBKIT_DIR/port/bindings/scripts', 41 BINDINGS_SCRIPTS_DIR = '$WEBKIT_DIR/port/bindings/scripts',
42 BINDINGS_SCRIPT = '$BINDINGS_SCRIPTS_DIR/generate-bindings.pl', 42 BINDINGS_SCRIPT = '$BINDINGS_SCRIPTS_DIR/generate-bindings.pl',
43 43
44 PERL_INCLUDE_PATH = ['$BINDINGS_SCRIPTS_DIR', 44 PERL_INCLUDE_PATH = ['$BINDINGS_SCRIPTS_DIR',
45 '#/../third_party/WebKit/WebCore/bindings/scripts'], 45 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/bindings/sc ripts'],
46 46
47 WEBKIT_PORT_DIR = '$WEBKIT_DIR/port', 47 WEBKIT_PORT_DIR = '$WEBKIT_DIR/port',
48 48
49 FEATURE_DEFINES = [ 49 FEATURE_DEFINES = [
50 'ENABLE_CROSS_DOCUMENT_MESSAGING', 50 'ENABLE_CROSS_DOCUMENT_MESSAGING',
51 'ENABLE_XSLT', 51 'ENABLE_XSLT',
52 'ENABLE_XPATH', 52 'ENABLE_XPATH',
53 'ENABLE_SVG', 53 'ENABLE_SVG',
54 'ENABLE_SVG_ANIMATION', 54 'ENABLE_SVG_ANIMATION',
55 'ENABLE_SVG_AS_IMAGE', 55 'ENABLE_SVG_AS_IMAGE',
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 'xml/XPathException.idl', 476 'xml/XPathException.idl',
477 'xml/XPathExpression.idl', 477 'xml/XPathExpression.idl',
478 'xml/XPathNSResolver.idl', 478 'xml/XPathNSResolver.idl',
479 'xml/XPathResult.idl', 479 'xml/XPathResult.idl',
480 'xml/XSLTProcessor.idl', 480 'xml/XSLTProcessor.idl',
481 ] 481 ]
482 482
483 for subdir in set([os.path.dirname(n) for n in idl_files]): 483 for subdir in set([os.path.dirname(n) for n in idl_files]):
484 dir = env.Dir('$OBJ_ROOT/webkit/port/' + subdir) 484 dir = env.Dir('$OBJ_ROOT/webkit/port/' + subdir)
485 485
486 dir.addRepository(env.Dir('#/../webkit/pending')) 486 dir.addRepository(env.Dir('$CHROME_SRC_DIR/webkit/pending'))
487 dir.addRepository(env.Dir('#/../webkit/port/' + subdir)) 487 dir.addRepository(env.Dir('$CHROME_SRC_DIR/webkit/port/' + subdir))
488 dir.addRepository(env.Dir('#/../third_party/WebKit/WebCore/' + subdir)) 488 dir.addRepository(env.Dir('$CHROME_SRC_DIR/third_party/WebKit/WebCore/' + subd ir))
489 489
490 for name in idl_files: 490 for name in idl_files:
491 env.Bindings('$WEBKIT_DIR/port/' + name) 491 env.Bindings('$WEBKIT_DIR/port/' + name)
492 492
493 493
494 # copy over some files 494 # copy over some files
495 i = env.Install('$SHARED_DIR', 495 i = env.Install('$SHARED_DIR',
496 ['$WEBKIT_PORT_DIR/bindings/js/PausedTimeouts.h', 496 ['$WEBKIT_PORT_DIR/bindings/js/PausedTimeouts.h',
497 '$WEBKIT_PORT_DIR/bindings/js/PausedTimeouts.cpp']) 497 '$WEBKIT_PORT_DIR/bindings/js/PausedTimeouts.cpp'])
498 env.Alias('webkit', i) 498 env.Alias('webkit', i)
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 env.Command('$DERIVED_DIR/HTMLEntityCodes.c', 657 env.Command('$DERIVED_DIR/HTMLEntityCodes.c',
658 '$WEBKIT_PORT_DIR/html/HTMLEntityNames.gperf', 658 '$WEBKIT_PORT_DIR/html/HTMLEntityNames.gperf',
659 'perl $WEBKIT_BUILD/WebCore/generate_entitycodes.pl ' + \ 659 'perl $WEBKIT_BUILD/WebCore/generate_entitycodes.pl ' + \
660 '$SOURCE > $TARGET') 660 '$SOURCE > $TARGET')
661 661
662 # CSS tokenizer 662 # CSS tokenizer
663 env.Command('$DERIVED_DIR/tokenizer.cpp', 663 env.Command('$DERIVED_DIR/tokenizer.cpp',
664 ['$WEBKIT_PORT_DIR/css/tokenizer.flex', 664 ['$WEBKIT_PORT_DIR/css/tokenizer.flex',
665 '$WEBKIT_PORT_DIR/css/maketokenizer'], 665 '$WEBKIT_PORT_DIR/css/maketokenizer'],
666 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET') 666 'flex --nowarn -t $SOURCE | perl ${SOURCES[1]} > $TARGET')
OLDNEW
« no previous file with comments | « webkit/build/localized_strings/SConscript ('k') | webkit/default_plugin/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698