WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
207155
Centralize Cocoa ENABLES (Part 1): Move trivial definitions from FeatureDefines.xcconfig to PlatformEnableCocoa.h
https://bugs.webkit.org/show_bug.cgi?id=207155
Summary
Centralize Cocoa ENABLES (Part 1): Move trivial definitions from FeatureDefin...
Sam Weinig
Reported
2020-02-03 15:16:52 PST
Move trivial definitions from FeatureDefines.xcconfig to PlatformEnableCocoa.h
Attachments
Patch
(112.69 KB, patch)
2020-02-03 16:22 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(121.19 KB, patch)
2020-02-03 20:20 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(125.78 KB, patch)
2020-02-03 20:53 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(131.89 KB, patch)
2020-02-04 20:26 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(137.49 KB, patch)
2020-02-05 14:49 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(135.19 KB, patch)
2020-02-05 17:09 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(135.20 KB, patch)
2020-02-06 07:00 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(136.90 KB, patch)
2020-02-06 16:15 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(137.07 KB, patch)
2020-02-06 17:00 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(136.84 KB, patch)
2020-02-06 22:04 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(139.11 KB, patch)
2020-02-07 08:31 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(150.12 KB, patch)
2020-02-08 09:40 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(148.25 KB, patch)
2020-02-11 21:48 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(148.25 KB, patch)
2020-02-12 13:19 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(148.36 KB, patch)
2020-02-21 11:18 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(148.48 KB, patch)
2020-02-21 18:14 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(148.58 KB, patch)
2020-02-21 18:45 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(16)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2020-02-03 16:22:00 PST
Comment hidden (obsolete)
Created
attachment 389594
[details]
Patch
Sam Weinig
Comment 2
2020-02-03 20:20:34 PST
Comment hidden (obsolete)
Created
attachment 389621
[details]
Patch
Sam Weinig
Comment 3
2020-02-03 20:53:50 PST
Comment hidden (obsolete)
Created
attachment 389623
[details]
Patch
Sam Weinig
Comment 4
2020-02-04 20:26:54 PST
Comment hidden (obsolete)
Created
attachment 389763
[details]
Patch
Tim Horton
Comment 5
2020-02-05 13:50:13 PST
Comment on
attachment 389763
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=389763&action=review
> Source/WebCore/DerivedSources.make:1506 > HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0
Confused, why is this a 0
Sam Weinig
Comment 6
2020-02-05 13:55:06 PST
(In reply to Tim Horton from
comment #5
)
> Comment on
attachment 389763
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=389763&action=review
> > > Source/WebCore/DerivedSources.make:1506 > > HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0 > > Confused, why is this a 0
Wasn't it already 0? It does seem wrong though.
Tim Horton
Comment 7
2020-02-05 13:57:17 PST
Twas, but it's very confusing
Sam Weinig
Comment 8
2020-02-05 14:49:31 PST
Comment hidden (obsolete)
Created
attachment 389871
[details]
Patch
Sam Weinig
Comment 9
2020-02-05 17:09:25 PST
Comment hidden (obsolete)
Created
attachment 389904
[details]
Patch
Sam Weinig
Comment 10
2020-02-06 07:00:30 PST
Comment hidden (obsolete)
Created
attachment 389952
[details]
Patch
Sam Weinig
Comment 11
2020-02-06 16:15:55 PST
Comment hidden (obsolete)
Created
attachment 390021
[details]
Patch
Sam Weinig
Comment 12
2020-02-06 17:00:22 PST
Comment hidden (obsolete)
Created
attachment 390031
[details]
Patch
Sam Weinig
Comment 13
2020-02-06 22:04:01 PST
Comment hidden (obsolete)
Created
attachment 390056
[details]
Patch
Sam Weinig
Comment 14
2020-02-07 08:31:44 PST
Created
attachment 390085
[details]
Patch
WebKit Commit Bot
Comment 15
2020-02-07 12:22:20 PST
Comment on
attachment 390085
[details]
Patch Rejecting
attachment 390085
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 390085, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 5000 characters of output: it/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Tim Horton']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 25 diffs from patch file(s). patching file Source/JavaScriptCore/ChangeLog patching file Source/JavaScriptCore/DerivedSources.make patching file Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig.rej patching file Source/WTF/ChangeLog patching file Source/WTF/wtf/PlatformEnable.h patching file Source/WTF/wtf/PlatformEnableCocoa.h patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/DerivedSources.make patching file Source/WebCore/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Source/WebCore/Configurations/FeatureDefines.xcconfig.rej patching file Source/WebCore/Configurations/WebCore.xcconfig patching file Source/WebCore/PAL/ChangeLog patching file Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig.rej patching file Source/WebCore/PAL/Configurations/PAL.xcconfig patching file Source/WebCore/Scripts/generate-unified-sources.sh patching file Source/WebKit/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit/DerivedSources.make patching file Source/WebKit/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Source/WebKit/Configurations/FeatureDefines.xcconfig.rej patching file Source/WebKit/Scripts/generate-unified-sources.sh patching file Source/WebKitLegacy/ChangeLog patching file Source/WebKitLegacy/mac/ChangeLog patching file Source/WebKitLegacy/mac/MigrateHeaders.make patching file Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig.rej patching file Source/WebKitLegacy/scripts/generate-unified-sources.sh patching file Tools/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig Hunk #2 succeeded at 61 with fuzz 2 (offset 6 lines). Hunk #3 succeeded at 71 (offset 6 lines). Hunk #4 succeeded at 83 (offset 6 lines). Hunk #5 succeeded at 125 (offset 6 lines). Hunk #6 succeeded at 152 (offset 6 lines). Hunk #7 succeeded at 184 (offset 6 lines). Hunk #8 succeeded at 208 (offset 6 lines). Hunk #9 succeeded at 253 (offset 6 lines). Hunk #10 succeeded at 268 (offset 6 lines). Hunk #11 FAILED at 290. 1 out of 11 hunks FAILED -- saving rejects to file Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Tim Horton']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
https://webkit-queues.webkit.org/results/13318684
Sam Weinig
Comment 16
2020-02-07 12:42:03 PST
Committed
r256051
: <
https://trac.webkit.org/changeset/256051
>
Radar WebKit Bug Importer
Comment 17
2020-02-07 12:43:17 PST
<
rdar://problem/59269578
>
Ryan Haddad
Comment 18
2020-02-07 14:50:04 PST
Reverted
r256051
for reason: Broke internal builds. Committed
r256066
: <
https://trac.webkit.org/changeset/256066
>
Sam Weinig
Comment 19
2020-02-07 15:39:23 PST
(In reply to Ryan Haddad from
comment #18
)
> Reverted
r256051
for reason: > > Broke internal builds. > > Committed
r256066
: <
https://trac.webkit.org/changeset/256066
>
Want to give me a hint as to what broke?
Ryan Haddad
Comment 20
2020-02-07 15:56:19 PST
(In reply to Sam Weinig from
comment #19
)
> (In reply to Ryan Haddad from
comment #18
) > > Reverted
r256051
for reason: > > > > Broke internal builds. > > > > Committed
r256066
: <
https://trac.webkit.org/changeset/256066
> > > Want to give me a hint as to what broke?
The build log is in the radar.
Sam Weinig
Comment 21
2020-02-08 09:40:54 PST
Created
attachment 390172
[details]
Patch
WebKit Commit Bot
Comment 22
2020-02-08 10:29:44 PST
Comment on
attachment 390172
[details]
Patch Clearing flags on attachment: 390172 Committed
r256091
: <
https://trac.webkit.org/changeset/256091
>
WebKit Commit Bot
Comment 23
2020-02-08 10:29:46 PST
All reviewed patches have been landed. Closing bug.
Truitt Savell
Comment 24
2020-02-10 09:28:36 PST
Reverted
r256091
for reason: Broke internal builds Committed
r256184
: <
https://trac.webkit.org/changeset/256184
>
Alexey Proskuryakov
Comment 25
2020-02-10 17:11:51 PST
This also makes the build ~5% slower. Need to find a way to avoid that before re-landing.
Sam Weinig
Comment 26
2020-02-10 19:29:10 PST
(In reply to Alexey Proskuryakov from
comment #25
)
> This also makes the build ~5% slower. Need to find a way to avoid that > before re-landing.
5% slower doing what? Clean build? Building which port?
Sam Weinig
Comment 27
2020-02-10 19:47:27 PST
(In reply to Sam Weinig from
comment #26
)
> (In reply to Alexey Proskuryakov from
comment #25
) > > This also makes the build ~5% slower. Need to find a way to avoid that > > before re-landing. > > 5% slower doing what? Clean build? Building which port?
I mean whatever it was, yowzers. Obviously needs to be fixed. Can't quite imagine what I did yet though.
Alexey Proskuryakov
Comment 28
2020-02-10 19:52:52 PST
Internal Mac production build was a where I saw it. Probably same thing with a clean release build.
Tim Horton
Comment 29
2020-02-10 19:54:37 PST
Regression seems to be all in WebCore (~30%)
Sam Weinig
Comment 30
2020-02-11 10:33:02 PST
Going to take a different approach, and not move any of the ENABLE_* flags that are used by scripts for now. Eventually, we should also consider fixing the scripts not to rely on ENABLE_* flags at all, but that will take time.
Sam Weinig
Comment 31
2020-02-11 21:48:42 PST
Created
attachment 390492
[details]
Patch
Sam Weinig
Comment 32
2020-02-12 13:19:04 PST
Created
attachment 390550
[details]
Patch
Sam Weinig
Comment 33
2020-02-21 11:18:20 PST
Created
attachment 391413
[details]
Patch
Sam Weinig
Comment 34
2020-02-21 18:14:15 PST
Created
attachment 391439
[details]
Patch
Sam Weinig
Comment 35
2020-02-21 18:45:32 PST
Created
attachment 391441
[details]
Patch
Darin Adler
Comment 36
2020-05-27 18:22:30 PDT
I’m tackling these problems in
bug 212451
,
bug 212389
,
bug 212418
.
Sam Weinig
Comment 37
2020-09-04 10:25:16 PDT
Darin completed this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug