[webkit-changes] [WebKit/WebKit] acbbcc: gperf generated files include absolute path to Xcode

Elliott Williams noreply at github.com
Wed Jun 28 18:16:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: acbbcc88d48b140a185ec4b9302840a1879cfafe
      https://github.com/WebKit/WebKit/commit/acbbcc88d48b140a185ec4b9302840a1879cfafe
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Scripts/generate-derived-sources.sh

  Log Message:
  -----------
  gperf generated files include absolute path to Xcode
https://bugs.webkit.org/show_bug.cgi?id=258634
rdar://111130168

Reviewed by Alexey Proskuryakov.

Invoke gperf through a symlink, so that it's argv[0] doesn't contain an
absolute path. This works towards making WebCore's generated sources
fully reproducible across machines.

* Source/WebCore/DerivedSources.make: Always use $(GPERF) as the path to
  gperf, instead of sometimes relying on PATH-based lookup.
* Source/WebCore/Scripts/generate-derived-sources.sh: Create a ./gperf
  symlink in DerivedSources directory, similar to what we already do for
  SRCROOT.

Canonical link: https://commits.webkit.org/265608@main




More information about the webkit-changes mailing list