Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / libvpx / libvpx_srcs_x86_64_intrinsics.gypi
1 # This file is generated. Do not edit.
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 {
7   'targets': [
8     {
9       'target_name': 'libvpx_intrinsics_mmx',
10       'type': 'static_library',
11       'include_dirs': [
12         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
13         '<(libvpx_source)',
14       ],
15       'sources': [
16         '<(libvpx_source)/vp8/common/x86/idct_blk_mmx.c',
17         '<(libvpx_source)/vp8/common/x86/variance_mmx.c',
18         '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_mmx.c',
19       ],
20       'cflags': [ '-mmmx', ],
21       'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] },
22     },
23     {
24       'target_name': 'libvpx_intrinsics_sse2',
25       'type': 'static_library',
26       'include_dirs': [
27         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
28         '<(libvpx_source)',
29       ],
30       'sources': [
31         '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c',
32         '<(libvpx_source)/vp8/common/x86/recon_wrapper_sse2.c',
33         '<(libvpx_source)/vp8/common/x86/variance_sse2.c',
34         '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c',
35         '<(libvpx_source)/vp8/encoder/x86/quantize_sse2.c',
36         '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c',
37         '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c',
38         '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_sse2.c',
39         '<(libvpx_source)/vp9/encoder/x86/vp9_avg_intrin_sse2.c',
40         '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_sse2.c',
41         '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c',
42         '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c',
43         '<(libvpx_source)/vp9/encoder/x86/vp9_variance_sse2.c',
44       ],
45       'cflags': [ '-msse2', ],
46       'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] },
47     },
48     {
49       'target_name': 'libvpx_intrinsics_ssse3',
50       'type': 'static_library',
51       'include_dirs': [
52         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
53         '<(libvpx_source)',
54       ],
55       'sources': [
56         '<(libvpx_source)/vp8/common/x86/variance_ssse3.c',
57         '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c',
58         '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c',
59         '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c',
60       ],
61       'cflags': [ '-mssse3', ],
62       'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] },
63       'conditions': [
64         ['OS=="win" and clang==1', {
65           # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
66           # doesn't need it for intrinsics. clang-cl does need it, though.
67           'msvs_settings': {
68             'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] },
69           },
70         }],
71       ],
72     },
73     {
74       'target_name': 'libvpx_intrinsics_sse4_1',
75       'type': 'static_library',
76       'include_dirs': [
77         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
78         '<(libvpx_source)',
79       ],
80       'sources': [
81         '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c',
82       ],
83       'cflags': [ '-msse4.1', ],
84       'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] },
85       'conditions': [
86         ['OS=="win" and clang==1', {
87           # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
88           # doesn't need it for intrinsics. clang-cl does need it, though.
89           'msvs_settings': {
90             'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] },
91           },
92         }],
93       ],
94     },
95   ],
96 }