Don't export skia APIs from xul.dll.

RESOLVED FIXED in mozilla36

Status

RESOLVED FIXED
4 years ago
10 months ago

People

(Reporter: jacek, Assigned: jacek)

Tracking

Trunk
mozilla36
x86_64
Windows 7

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

7.11 KB, patch
glandium
: review+
Details | Diff | Splinter Review
(Assignee)

Description

4 years ago
Created attachment 8517362 [details] [diff] [review]
fix

Inspired by bug 1092151. Although it doesn't cause build problems, we still don't want to export those.
Attachment #8517362 - Flags: review?(mh+mozilla)
Comment on attachment 8517362 [details] [diff] [review]
fix

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

::: gfx/skia/generate_mozbuild.py
@@ +93,5 @@
>      DEFINES['SK_FONTHOST_DOES_NOT_USE_FONTMGR'] = 1
>  
>  # We should autogenerate these SSE related flags.
>  
>  if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':

Remove this line
Attachment #8517362 - Flags: review?(mh+mozilla) → feedback+
(Assignee)

Comment 2

4 years ago
This if is also about some other defines. Those are, however, MSVC-specific. For GCC, header files take care of SSE defines based on GCC defines. I changed this to be used only for MSVC and also moved CLANG_CL flags.
(Assignee)

Comment 3

4 years ago
Created attachment 8518851 [details] [diff] [review]
fix v2
Attachment #8517362 - Attachment is obsolete: true
Attachment #8518851 - Flags: review?(mh+mozilla)
Attachment #8518851 - Flags: feedback?(ehsan.akhgari)
Attachment #8518851 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/c49c2442f666
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36

Comment 6

4 years ago
Comment on attachment 8518851 [details] [diff] [review]
fix v2

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

I haven't tested this with clang-cl yet, but if this has broken those builds I will fix it separately.
Attachment #8518851 - Flags: feedback?(ehsan.akhgari)

Updated

10 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.