<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>249718</bug_id>
          
          <creation_ts>2022-12-21 08:43:56 -0800</creation_ts>
          <short_desc>Unify more of xcconfig content across projects</short_desc>
          <delta_ts>2022-12-30 18:46:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=249963</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>emw</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1921089</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-12-21 08:43:56 -0800</bug_when>
    <thetext>Move more common variables from individual projects&apos; xcconfigs to a central location, refactoring where they diverged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921090</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-21 08:44:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/103600264&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921097</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-12-21 09:13:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7958</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921101</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-12-21 09:16:29 -0800</bug_when>
    <thetext>The configs are still far from what I&apos;d consider nicely organized. My goal here was to move as much as possible, reducing the amount of almost-duplicated code with subtle differences. This will make it possible to have verifiably correct PRs for further cleanup.

Some TODOs that I wrote down while working on this:

- Update TARGET_MAC_OS_X_VERSION_MAJOR (and delete TARGET_MACOS_LEGACY_VERSION_IDENTIFIER)

- Clean up SEARCH_PATHS, they generally make no sense
    - split them by production (deployment_location?) vs. engineering 

- Is SUPPORTED_PLATFORMS needed anywhere?

- Eliminate WK_WHICH_BUILD_SYSTEM

- DumpRenderTree.app - skip install on macOS (unsure about Catalyst)

- Normalize prefixing search paths with SDK_DIR/SDKROOT (should be consistent, and maybe neither is needed)
    - Full path is currently needed when makefiles use the variable

- Normalize when we use $(inherited), and when we don&apos;t.

- _PATH vs. _DIR naming - which are full file system paths? Which ones end with a slash? Should we have something like _IF_NEEDED on those that are empty when unused?

- What is COPY_STAGED_FRAMEWORKS_TO_SECONDARY_PATH? Why do we ever need to copy during build?

- Use actual names for cryptexes etc. in variables, not the confusing &quot;override/alternative&quot; naming.

- libANGLE-shared.dylib and libwebrtc.dylib LC_ID_DYLIB&apos;s are inconsistent in STP (one is loader path relative, another is absolute).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921541</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-22 16:00:38 -0800</bug_when>
    <thetext>Committed 258266@main (e31966cc25b1): &lt;https://commits.webkit.org/258266@main&gt;

Reviewed commits have been landed. Closing PR #7958 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>