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

Elliott Williams noreply at github.com
Mon Jul 10 14:56:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d2ddeedb04db56ffb5e5b8b825e7c65ba91be69
      https://github.com/WebKit/WebKit/commit/4d2ddeedb04db56ffb5e5b8b825e7c65ba91be69
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-07-10 (Mon, 10 Jul 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/265919@main




More information about the webkit-changes mailing list