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

Side by Side Diff: Source/build/scripts/StaticString.pm

Issue 26414004: Move core/scripts to build/scripts so that platform can use them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
1 # Copyright (C) 2013 Google, Inc. All Rights Reserved. 1 # Copyright (C) 2013 Google, Inc. All Rights Reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions 4 # modification, are permitted provided that the following conditions
5 # are met: 5 # are met:
6 # 1. Redistributions of source code must retain the above copyright 6 # 1. Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright 8 # 2. Redistributions in binary form must reproduce the above copyright
9 # notice, this list of conditions and the following disclaimer in the 9 # notice, this list of conditions and the following disclaimer in the
10 # documentation and/or other materials provided with the distribution. 10 # documentation and/or other materials provided with the distribution.
(...skipping 29 matching lines...) Expand all
40 my $hash = Hasher::GenerateHashValue($value); 40 my $hash = Hasher::GenerateHashValue($value);
41 push(@result, " StringImpl* ${name}Impl = StringImpl::createStatic(\" $value\", $length, $hash);\n"); 41 push(@result, " StringImpl* ${name}Impl = StringImpl::createStatic(\" $value\", $length, $hash);\n");
42 } 42 }
43 43
44 push(@result, "\n"); 44 push(@result, "\n");
45 45
46 return join "", @result; 46 return join "", @result;
47 } 47 }
48 48
49 1; 49 1;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698