Commit 56f58af1 authored by scottmg@chromium.org's avatar scottmg@chromium.org

gn win: Don't add linux-style cflags

R=dalecurtis@chromium.org,brettw@chromium.org
BUG=354261

Review URL: https://codereview.chromium.org/471753002

Cr-Commit-Position: refs/heads/master@{#289564}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289564 0039d316-1c4b-4281-b951-d872f2087c98
parent 417ddc4b
......@@ -352,7 +352,9 @@ if (cpu_arch == "x86" || cpu_arch == "x64") {
source_set("media_mmx") {
sources = [ "simd/filter_yuv_mmx.cc" ]
configs += [ "//media:media_config" ]
cflags = [ "-mmmx" ]
if (!is_win) {
cflags = [ "-mmmx" ]
}
}
source_set("media_sse2") {
......@@ -362,7 +364,9 @@ if (cpu_arch == "x86" || cpu_arch == "x64") {
"simd/filter_yuv_sse2.cc",
]
configs += [ "//media:media_config" ]
cflags = [ "-msse2" ]
if (!is_win) {
cflags = [ "-msse2" ]
}
}
import("//third_party/yasm/yasm_assemble.gni")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment