Closed Bug 1520103 Opened 5 years ago Closed 5 years ago

Fix non-unified build in tools/profiler

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox66 --- wontfix
firefox67 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(2 files)

Trying to build in non-unified mode produces a lot of errors, mostly due to missing #include's, but I noticed a few more serious issues (though nothing buggy I think).

On top of making things cleaner, this helps with future file changes, which may be needed for bug 1492121.

Found when forcing a non-unified build of the Gecko Profiler:

  • "nsError.h" needed to define nsresult.
  • "nsStringFwd.h" needed to declare nsAString and nsACString.

Found issues by forcing a local non-unified build.

Also sorted #includes by logical groups (from most local to most global), and
alphabetically within groups.

Depends on D18621

Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ec4da862bdc
Added missing includes in nsNativeCharsetUtils.h - r=froydnj
https://hg.mozilla.org/integration/autoland/rev/58654f30db8e
Fixed non-unified Profiler build - r=mstange
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1527228
No longer regressions: 1549232
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: