Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Side by Side Diff: libvpx_srcs_x86_64_intrinsics.gypi

Issue 504893003: Attempt to let libvpx's SSE files build with clang-cl. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generate_gypi.sh ('k') | libvpx_srcs_x86_intrinsics.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file is generated. Do not edit. 1 # This file is generated. Do not edit.
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'libvpx_intrinsics_mmx', 9 'target_name': 'libvpx_intrinsics_mmx',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 '<(libvpx_source)', 52 '<(libvpx_source)',
53 ], 53 ],
54 'sources': [ 54 'sources': [
55 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c', 55 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c',
56 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', 56 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c',
57 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c', 57 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c',
58 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', 58 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c',
59 ], 59 ],
60 'cflags': [ '-mssse3', ], 60 'cflags': [ '-mssse3', ],
61 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, 61 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] },
62 'conditions': [
63 ['OS=="win" and clang==1', {
64 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
65 # doesn't need it for intrinsics. clang-cl does need it, though.
66 'msvs_settings': {
67 'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] },
68 },
69 }],
70 ],
62 }, 71 },
63 { 72 {
64 'target_name': 'libvpx_intrinsics_sse4_1', 73 'target_name': 'libvpx_intrinsics_sse4_1',
65 'type': 'static_library', 74 'type': 'static_library',
66 'include_dirs': [ 75 'include_dirs': [
67 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 76 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
68 '<(libvpx_source)', 77 '<(libvpx_source)',
69 ], 78 ],
70 'sources': [ 79 'sources': [
71 '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c', 80 '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c',
72 ], 81 ],
73 'cflags': [ '-msse4.1', ], 82 'cflags': [ '-msse4.1', ],
74 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, 83 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] },
84 'conditions': [
85 ['OS=="win" and clang==1', {
86 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
87 # doesn't need it for intrinsics. clang-cl does need it, though.
88 'msvs_settings': {
89 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] },
90 },
91 }],
92 ],
75 }, 93 },
76 ], 94 ],
77 } 95 }
OLDNEW
« no previous file with comments | « generate_gypi.sh ('k') | libvpx_srcs_x86_intrinsics.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698