Closed Bug 1109895 Opened 10 years ago Closed 10 years ago

Send the correct -m flags to clang-cl when building libvpx; r=jrmuizel

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

Attachments

(1 file)

      No description provided.
Attachment #8534626 - Flags: review?(jmuizelaar)
Comment on attachment 8534626 [details] [diff] [review]
Send the correct -m flags to clang-cl when building libvpx; r=jrmuizel

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

Why doesn't

::: media/libvpx/moz.build
@@ +91,5 @@
>          SOURCES += [
>              '%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
>          ]
>  
> +if not CONFIG['_MSC_VER'] or CONFIG['CLANG_CL']:

I would find this easier to read if you reversed the condition. i.e. 

if CONFIG['CLANG_CL'] or not CONFIG['_MSC_VER']

This removes ambiguity of the not.
Attachment #8534626 - Flags: review?(jmuizelaar) → review+
(In reply to Jeff Muizelaar [:jrmuizel] from comment #2)
> Why doesn't

?

> ::: media/libvpx/moz.build
> @@ +91,5 @@
> >          SOURCES += [
> >              '%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
> >          ]
> >  
> > +if not CONFIG['_MSC_VER'] or CONFIG['CLANG_CL']:
> 
> I would find this easier to read if you reversed the condition. i.e. 
> 
> if CONFIG['CLANG_CL'] or not CONFIG['_MSC_VER']
> 
> This removes ambiguity of the not.

OK, will do.
https://hg.mozilla.org/mozilla-central/rev/1ad46fb370ea
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: