Closed
Bug 1399878
Opened 7 years ago
Closed 7 years ago
Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox57 fixed)
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(1 file)
I'm not sure why these moz.build files are written this way, but a few moz.build files under media/ set include paths by doing things like `CFLAGS += [ '-I%s/media/libaom/config/win/x64/' % TOPSRCDIR ]`. These are easily translated to `LOCAL_INCLUDES`, which is more sensible and doesn't break my WSL build with absolute Posix paths being passed to cl.exe.
Assignee | ||
Comment 1•7 years ago
|
||
I meant to link the moz.build files in question: https://dxr.mozilla.org/mozilla-central/rev/f9a5e9ed62103c84e4cde915f4d08f1ce71be83e/media/libaom/moz.build https://dxr.mozilla.org/mozilla-central/rev/f9a5e9ed62103c84e4cde915f4d08f1ce71be83e/media/libvpx/moz.build
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8908151 [details] bug 1399878 - Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files. https://reviewboard.mozilla.org/r/179834/#review185572 Weird. A potential follow-up would be to lint the value of CFLAGS and cousins and reject anti-patterns like this.
Attachment #8908151 -
Flags: review?(gps) → review+
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/305e742634e5 Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files. r=gps
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6cde1d8f17ad Fix case of LOCAL_INCLUDES; r=me
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/305e742634e5 https://hg.mozilla.org/mozilla-central/rev/6cde1d8f17ad
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•