Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / libvpx / libvpx_srcs_x86_intrinsics.gypi
1 # This file is generated. Do not edit.
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
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         '<(libvpx_source)/vp9/encoder/x86/vp9_variance_mmx.c',
20       ],
21       'conditions': [
22         ['os_posix==1 and OS!="mac" and OS!="ios"', {
23           'cflags!': [ '-mfpu=vfpv3-d16' ],
24           'cflags': [ '-mmmx', ],
25         }],
26         ['OS=="mac" or OS=="ios"', {
27           'xcode_settings': {
28             'OTHER_CFLAGS': [ '-mmmx', ],
29           },
30         }],
31       ],
32     },
33     {
34       'target_name': 'libvpx_intrinsics_sse2',
35       'type': 'static_library',
36       'include_dirs': [
37         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
38         '<(libvpx_source)',
39       ],
40       'sources': [
41         '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c',
42         '<(libvpx_source)/vp8/common/x86/recon_wrapper_sse2.c',
43         '<(libvpx_source)/vp8/common/x86/variance_sse2.c',
44         '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c',
45         '<(libvpx_source)/vp8/encoder/x86/quantize_sse2.c',
46         '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c',
47         '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c',
48         '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_sse2.c',
49         '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_sse2.c',
50         '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c',
51         '<(libvpx_source)/vp9/encoder/x86/vp9_variance_sse2.c',
52       ],
53       'conditions': [
54         ['os_posix==1 and OS!="mac" and OS!="ios"', {
55           'cflags!': [ '-mfpu=vfpv3-d16' ],
56           'cflags': [ '-msse2', ],
57         }],
58         ['OS=="mac" or OS=="ios"', {
59           'xcode_settings': {
60             'OTHER_CFLAGS': [ '-msse2', ],
61           },
62         }],
63       ],
64     },
65     {
66       'target_name': 'libvpx_intrinsics_ssse3',
67       'type': 'static_library',
68       'include_dirs': [
69         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
70         '<(libvpx_source)',
71       ],
72       'sources': [
73         '<(libvpx_source)/vp8/common/x86/variance_ssse3.c',
74         '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c',
75         '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c',
76       ],
77       'conditions': [
78         ['os_posix==1 and OS!="mac" and OS!="ios"', {
79           'cflags!': [ '-mfpu=vfpv3-d16' ],
80           'cflags': [ '-mssse3', ],
81         }],
82         ['OS=="mac" or OS=="ios"', {
83           'xcode_settings': {
84             'OTHER_CFLAGS': [ '-mssse3', ],
85           },
86         }],
87       ],
88     },
89   ],
90 }