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

Side by Side Diff: Source/core/css/makeprop.pl

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu Created 7 years, 8 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 | « Source/core/css/WebKitCSSShaderValue.cpp ('k') | Source/core/css/makevalues.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /usr/bin/perl 1 #! /usr/bin/perl
2 # 2 #
3 # This file is part of the WebKit project 3 # This file is part of the WebKit project
4 # 4 #
5 # Copyright (C) 1999 Waldo Bastian (bastian@kde.org) 5 # Copyright (C) 1999 Waldo Bastian (bastian@kde.org)
6 # Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. 6 # Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved.
7 # Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 7 # Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
8 # Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeg ed 8 # Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeg ed
9 # 9 #
10 # This library is free software; you can redistribute it and/or 10 # This library is free software; you can redistribute it and/or
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 if (@duplicates > 0) { 59 if (@duplicates > 0) {
60 die 'Duplicate CSS property names: ', join(', ', @duplicates) . "\n"; 60 die 'Duplicate CSS property names: ', join(', ', @duplicates) . "\n";
61 } 61 }
62 62
63 open GPERF, ">CSSPropertyNames.gperf" || die "Could not open CSSPropertyNames.gp erf for writing"; 63 open GPERF, ">CSSPropertyNames.gperf" || die "Could not open CSSPropertyNames.gp erf for writing";
64 print GPERF << "EOF"; 64 print GPERF << "EOF";
65 %{ 65 %{
66 /* This file is automatically generated from CSSPropertyNames.in by makeprop, do not edit */ 66 /* This file is automatically generated from CSSPropertyNames.in by makeprop, do not edit */
67 #include "config.h" 67 #include "config.h"
68 #include \"CSSPropertyNames.h\" 68 #include \"CSSPropertyNames.h\"
69 #include \"HashTools.h\" 69 #include \"core/platform/HashTools.h\"
70 #include <string.h> 70 #include <string.h>
71 71
72 #include <wtf/ASCIICType.h> 72 #include <wtf/ASCIICType.h>
73 #include <wtf/text/AtomicString.h> 73 #include <wtf/text/AtomicString.h>
74 #include <wtf/text/WTFString.h> 74 #include <wtf/text/WTFString.h>
75 75
76 namespace WebCore { 76 namespace WebCore {
77 EOF 77 EOF
78 78
79 print GPERF "const char* const propertyNameStrings[numCSSProperties] = {\n"; 79 print GPERF "const char* const propertyNameStrings[numCSSProperties] = {\n";
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 } 248 }
249 249
250 #endif // CSSPropertyNames_h 250 #endif // CSSPropertyNames_h
251 251
252 EOF 252 EOF
253 253
254 close HEADER; 254 close HEADER;
255 255
256 my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; 256 my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf";
257 system("\"$gperf\" --key-positions=\"*\" -D -n -s 2 CSSPropertyNames.gperf --out put-file=CSSPropertyNames.cpp") == 0 || die "calling gperf failed: $?"; 257 system("\"$gperf\" --key-positions=\"*\" -D -n -s 2 CSSPropertyNames.gperf --out put-file=CSSPropertyNames.cpp") == 0 || die "calling gperf failed: $?";
OLDNEW
« no previous file with comments | « Source/core/css/WebKitCSSShaderValue.cpp ('k') | Source/core/css/makevalues.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698