Closed Bug 1235748 Opened 8 years ago Closed 8 years ago

Stop doing post-processing on include flags for CompileDB and codecomplete

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8702840 [details] [diff] [review]
Stop post-processing include flags for CompileDB and codecomplete

Review of attachment 8702840 [details] [diff] [review]:
-----------------------------------------------------------------

::: python/mozbuild/mozbuild/compilation/codecomplete.py
@@ +15,5 @@
>  )
>  
>  from mozbuild.base import MachCommandBase
>  from mozbuild.shellutil import quote as shell_quote
> +from mozbuild.shellutil import split as shell_split

You can combine this into a single statement:

from mozbuild.shellutil import (
    quote as shell_quote,
    split as shell_split,
)

::: python/mozbuild/mozbuild/compilation/database.py
@@ +15,5 @@
>      UnifiedSources,
>      GeneratedSources,
>  )
>  from mozbuild.shellutil import quote as shell_quote
> +from mozbuild.shellutil import split as shell_split

Ditto.
Attachment #8702840 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/300fa08da26b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: