<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION(r178955): Touching Settings.in doesn't cause JSInternalSettingsGenerated.cpp to be updated on first build"
   href="https://bugs.webkit.org/show_bug.cgi?id=166814">166814</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>REGRESSION(r178955): Touching Settings.in doesn't cause JSInternalSettingsGenerated.cpp to be updated on first build
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Bindings
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mmaxfield&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>cdumez&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>To reproduce on an OpenSource build:

1. Perform a full, clean build
2. Add or remove an item from Settings.in
3. In a terminal:
$ cd ~/Build/Products/Debug/DerivedSources/WebCore
$ export WebCore=&quot;WebCore&quot;
$ export JavaScriptCore_SCRIPTS_DIR=&quot;JavaScriptCorePrivateHeaders&quot;
$ export CC=&quot;`xcrun -find clang`&quot;
$ export GPERF=&quot;`xcrun -find gperf`&quot;
$ export WEBKITADDITIONS_HEADER_SEARCH_PATHS=&quot;${HOME}/Build/Products/Debug/usr/local/include/WebKitAdditions /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/local/include/WebKitAdditions&quot;
$ export MAKEFILE_INCLUDE_FLAGS=$(echo &quot;${WEBKITADDITIONS_HEADER_SEARCH_PATHS}&quot; | perl -e 'print &quot;-I&quot; . join(&quot; -I&quot;, split(&quot; &quot;, &lt;&gt;));')
$ make -n --no-builtin-rules ${MAKEFILE_INCLUDE_FLAGS} -f &quot;WebCore/DerivedSources.make&quot; SDKROOT=&quot;${SDKROOT}&quot;

The &quot;-n&quot; will cause make to only print the commands it would have run. Notice that there is no generate-bindings.pl invocation in the result for InternalSettingsGenerated.idl

However, if you run the make command again (with the -n flag), there is a generate-bindings.pl invocation in the result for InternalSettingsGenerated.idl

If you run these same steps again, but you revert the last part of <a href="https://trac.webkit.org/changeset/178955/trunk/Source/WebCore/DerivedSources.make">https://trac.webkit.org/changeset/178955/trunk/Source/WebCore/DerivedSources.make</a> where make_settings.pl is linked to an .INTERMEDIATE rule, both make invocations list a generate-bindings.pl invocation for InternalSettingsGenerated.idl</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>