<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[183475] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/183475">183475</a></dd>
<dt>Author</dt> <dd>ossy@webkit.org</dd>
<dt>Date</dt> <dd>2015-04-28 08:11:54 -0700 (Tue, 28 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove make-file-arrays.py
https://bugs.webkit.org/show_bug.cgi?id=144324

Reviewed by Gyuyoung Kim.

* make-file-arrays.py: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoremakefilearrayspy">trunk/Source/WebCore/make-file-arrays.py</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183474 => 183475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-04-28 15:03:06 UTC (rev 183474)
+++ trunk/Source/WebCore/ChangeLog        2015-04-28 15:11:54 UTC (rev 183475)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-04-28  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
+
+        Remove make-file-arrays.py
+        https://bugs.webkit.org/show_bug.cgi?id=144324
+
+        Reviewed by Gyuyoung Kim.
+
+        * make-file-arrays.py: Removed.
+
</ins><span class="cx"> 2015-04-28  Antti Koivisto  &lt;antti@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Build fix.
</span></span></pre></div>
<a id="trunkSourceWebCoremakefilearrayspy"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/make-file-arrays.py (183474 => 183475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/make-file-arrays.py        2015-04-28 15:03:06 UTC (rev 183474)
+++ trunk/Source/WebCore/make-file-arrays.py        2015-04-28 15:11:54 UTC (rev 183475)
</span><span class="lines">@@ -1,136 +0,0 @@
</span><del>-#!/usr/bin/env python
-# Copyright (C) 2012 Google Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-#     * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#     * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following disclaimer
-# in the documentation and/or other materials provided with the
-# distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Usage: make-file-arrays.py [--condition=condition-string] --out-h=&lt;header-file-name&gt; --out-cpp=&lt;cpp-file-name&gt; &lt;input-file&gt;...
-
-import os.path
-import re
-import sys
-from optparse import OptionParser
-
-
-def make_variable_name_and_read(file_name):
-    result = re.match(r&quot;([\w\d_]+)\.([\w\d_]+)&quot;, os.path.basename(file_name))
-    if not result:
-        print &quot;Invalid input file name:&quot;, os.path.basename(file_name)
-        sys.exit(1)
-    variable_name = result.group(1)[0].lower() + result.group(1)[1:] + result.group(2).capitalize()
-    file = open(file_name, &quot;rb&quot;)
-    content = file.read()
-    file.close()
-    return (variable_name, content)
-
-
-def strip_whitespace_and_comments(file_name, content):
-    result = re.match(r&quot;.*\.([^.]+)&quot;, file_name)
-    if not result:
-        print &quot;The file name has no extension:&quot;, file_name
-        sys.exit(1)
-    extension = result.group(1).lower()
-    multi_line_comment = re.compile(r&quot;/\*.*?\*/&quot;, re.MULTILINE | re.DOTALL)
-    single_line_comment = re.compile(r&quot;//.*$&quot;, re.MULTILINE)
-    repeating_space = re.compile(r&quot;[ \t]+&quot;, re.MULTILINE)
-    leading_space = re.compile(r&quot;^[ \t]+&quot;, re.MULTILINE)
-    trailing_space = re.compile(r&quot;[ \t]+$&quot;, re.MULTILINE)
-    empty_line = re.compile(r&quot;\n+&quot;)
-    if extension == &quot;js&quot;:
-        content = multi_line_comment.sub(&quot;&quot;, content)
-        content = single_line_comment.sub(&quot;&quot;, content)
-        content = repeating_space.sub(&quot; &quot;, content)
-        content = leading_space.sub(&quot;&quot;, content)
-        content = trailing_space.sub(&quot;&quot;, content)
-        content = empty_line.sub(&quot;\n&quot;, content)
-    elif extension == &quot;css&quot;:
-        content = multi_line_comment.sub(&quot;&quot;, content)
-        content = repeating_space.sub(&quot; &quot;, content)
-        content = leading_space.sub(&quot;&quot;, content)
-        content = trailing_space.sub(&quot;&quot;, content)
-        content = empty_line.sub(&quot;\n&quot;, content)
-    return content
-
-
-def main():
-    parser = OptionParser()
-    parser.add_option(&quot;--out-h&quot;, dest=&quot;out_header&quot;)
-    parser.add_option(&quot;--out-cpp&quot;, dest=&quot;out_cpp&quot;)
-    parser.add_option(&quot;--condition&quot;, dest=&quot;flag&quot;)
-    (options, args) = parser.parse_args()
-    if len(args) &lt; 1:
-        parser.error(&quot;Need one or more input files&quot;)
-    if not options.out_header:
-        parser.error(&quot;Need to specify --out-h=filename&quot;)
-    if not options.out_cpp:
-        parser.error(&quot;Need to specify --out-cpp=filename&quot;)
-
-    if options.flag:
-        options.flag = options.flag.replace(&quot; AND &quot;, &quot; &amp;&amp; &quot;)
-        options.flag = options.flag.replace(&quot; OR &quot;, &quot; || &quot;)
-
-    header_file = open(options.out_header, &quot;w&quot;)
-    if options.flag:
-        header_file.write(&quot;#if &quot; + options.flag + &quot;\n&quot;)
-    header_file.write(&quot;namespace WebCore {\n&quot;)
-
-    cpp_file = open(options.out_cpp, &quot;w&quot;)
-    cpp_file.write(&quot;#include \&quot;config.h\&quot;\n&quot;)
-    cpp_file.write(&quot;#include \&quot;&quot; + os.path.basename(options.out_header) + &quot;\&quot;\n&quot;)
-    if options.flag:
-        cpp_file.write(&quot;#if &quot; + options.flag + &quot;\n&quot;)
-    cpp_file.write(&quot;namespace WebCore {\n&quot;)
-
-    for file_name in args:
-        (variable_name, content) = make_variable_name_and_read(file_name)
-        content = strip_whitespace_and_comments(file_name, content)
-        size = len(content)
-        header_file.write(&quot;extern const char %s[%d];\n&quot; % (variable_name, size))
-        cpp_file.write(&quot;const char %s[%d] = {\n&quot; % (variable_name, size))
-        for index in range(size):
-            char_code = ord(content[index])
-            if char_code &lt; 128:
-                cpp_file.write(&quot;%d&quot; % char_code)
-            else:
-                cpp_file.write(&quot;'\\x%02x'&quot; % char_code)
-            cpp_file.write(&quot;,&quot; if index != len(content) - 1 else &quot;};\n&quot;)
-            if index % 20 == 19:
-                cpp_file.write(&quot;\n&quot;)
-        cpp_file.write(&quot;\n&quot;)
-
-    header_file.write(&quot;}\n&quot;)
-    if options.flag:
-        header_file.write(&quot;#endif\n&quot;)
-    header_file.close()
-
-    cpp_file.write(&quot;}\n&quot;)
-    if options.flag:
-        cpp_file.write(&quot;#endif\n&quot;)
-    cpp_file.close()
-
-
-if __name__ == &quot;__main__&quot;:
-    main()
</del></span></pre>
</div>
</div>

</body>
</html>