WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178361
[Settings] Generate Settings.h/cpp
https://bugs.webkit.org/show_bug.cgi?id=178361
Summary
[Settings] Generate Settings.h/cpp
Sam Weinig
Reported
2017-10-16 15:21:55 PDT
[Settings] Generate Settings.h/cpp
Attachments
Patch
(44.27 KB, patch)
2017-10-16 15:26 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(44.53 KB, patch)
2017-10-16 17:14 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(46.32 KB, patch)
2017-10-17 08:35 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(46.34 KB, patch)
2017-10-17 09:12 PDT
,
Sam Weinig
dino
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2017-10-16 15:26:52 PDT
Created
attachment 323948
[details]
Patch
Sam Weinig
Comment 2
2017-10-16 17:14:01 PDT
Created
attachment 323960
[details]
Patch
Sam Weinig
Comment 3
2017-10-16 20:11:02 PDT
My initial guess for what's going wrong with the GTK and WPE builds is that the forwarding header for WebCore/Settings.h is not being regenerated for its new location as a derived source. Not sure how to address this yet.
Sam Weinig
Comment 4
2017-10-17 08:35:29 PDT
Created
attachment 324016
[details]
Patch
Sam Weinig
Comment 5
2017-10-17 09:12:59 PDT
Created
attachment 324018
[details]
Patch
Konstantin Tokarev
Comment 6
2017-10-17 09:28:02 PDT
Comment on
attachment 324018
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=324018&action=review
> Source/WebKit/PlatformGTK.cmake:26 > +file(REMOVE "${FORWARDING_HEADERS_DIR}/WebCore/Settings.h")
Please remove this now
> Source/WebKit/PlatformWPE.cmake:18 > +file(REMOVE "${FORWARDING_HEADERS_DIR}/WebCore/Settings.h")
and this
Sam Weinig
Comment 7
2017-10-17 09:41:25 PDT
(In reply to Konstantin Tokarev from
comment #6
)
> Comment on
attachment 324018
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=324018&action=review
> > > Source/WebKit/PlatformGTK.cmake:26 > > +file(REMOVE "${FORWARDING_HEADERS_DIR}/WebCore/Settings.h") > > Please remove this now > > > Source/WebKit/PlatformWPE.cmake:18 > > +file(REMOVE "${FORWARDING_HEADERS_DIR}/WebCore/Settings.h") > > and this
Pretty sure they will be necessary to build without a clean build. What do you propose I replace them with?
Dean Jackson
Comment 8
2017-10-17 13:35:43 PDT
Comment on
attachment 324018
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=324018&action=review
> Source/WebCore/Scripts/GenerateSettings/GenerateSettingsHeaderFile.py:31 > + > + > +def generateSettingsHeaderFile(outputDirectory, settings):
Nit: Too/two many blank lines.
> Source/WebCore/Scripts/GenerateSettings/GenerateSettingsHeaderFile.py:43 > + outputFile.write("#pragma once\n\n") > + > + outputFile.write("#include \"SettingsBase.h\"\n") > + outputFile.write("#include \"SettingsMacros.h\"\n") > + outputFile.write("#include <wtf/RefCounted.h>\n\n") > + > + outputFile.write("namespace WebCore {\n\n") > +
All this stuff might work better as a """ string, to avoid multiple write lines. But no biggy.
WebKit Commit Bot
Comment 9
2017-10-17 13:37:04 PDT
Comment on
attachment 324018
[details]
Patch Rejecting
attachment 324018
[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', 'validate-changelog', '--check-oops', '--non-interactive', 324018, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit /Volumes/Data/EWS/WebKit/Source/WebKit/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://webkit-queues.webkit.org/results/4888683
Sam Weinig
Comment 10
2017-10-17 13:45:38 PDT
Committed
r223574
: <
https://trac.webkit.org/changeset/223574
>
Radar WebKit Bug Importer
Comment 11
2017-10-17 13:46:30 PDT
<
rdar://problem/35037049
>
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