Upstream version 5.34.104.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       ],
20       'conditions': [
21         ['os_posix==1 and OS!="mac"', {
22           'cflags!': [ '-mfpu=vfpv3-d16' ],
23           'cflags': [ '-mmmx', ],
24         }],
25         ['OS=="mac"', {
26           'xcode_settings': {
27             'OTHER_CFLAGS': [ '-mmmx', ],
28           },
29         }],
30       ],
31     },
32     {
33       'target_name': 'libvpx_intrinsics_sse2',
34       'type': 'static_library',
35       'include_dirs': [
36         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
37         '<(libvpx_source)',
38       ],
39       'sources': [
40         '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c',
41         '<(libvpx_source)/vp8/common/x86/recon_wrapper_sse2.c',
42         '<(libvpx_source)/vp8/common/x86/variance_sse2.c',
43         '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c',
44         '<(libvpx_source)/vp8/encoder/x86/quantize_sse2.c',
45         '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c',
46         '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c',
47         '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_sse2.c',
48       ],
49       'conditions': [
50         ['os_posix==1 and OS!="mac"', {
51           'cflags!': [ '-mfpu=vfpv3-d16' ],
52           'cflags': [ '-msse2', ],
53         }],
54         ['OS=="mac"', {
55           'xcode_settings': {
56             'OTHER_CFLAGS': [ '-msse2', ],
57           },
58         }],
59       ],
60     },
61     {
62       'target_name': 'libvpx_intrinsics_ssse3',
63       'type': 'static_library',
64       'include_dirs': [
65         'source/config/<(OS_CATEGORY)/<(target_arch_full)',
66         '<(libvpx_source)',
67       ],
68       'sources': [
69         '<(libvpx_source)/vp8/common/x86/variance_ssse3.c',
70       ],
71       'conditions': [
72         ['os_posix==1 and OS!="mac"', {
73           'cflags!': [ '-mfpu=vfpv3-d16' ],
74           'cflags': [ '-mssse3', ],
75         }],
76         ['OS=="mac"', {
77           'xcode_settings': {
78             'OTHER_CFLAGS': [ '-mssse3', ],
79           },
80         }],
81       ],
82     },
83   ],
84 }