blob: bb1b203212f3fc9ac51889b73ae24f62f9e80688 [file] [log] [blame]
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +00001# This file is generated. Do not edit.
hclam@chromium.orgbd09f762014-09-05 21:22:35 +00002# Copyright (c) 2014 The Chromium Authors. All rights reserved.
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +00003# 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': [
johannkoenig@chromium.orga87d9e62014-01-29 06:17:23 +000012 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000013 '<(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 ],
thakis@chromium.orgf68663a2014-08-26 00:24:58 +000020 'cflags': [ '-mmmx', ],
21 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] },
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000022 },
23 {
24 'target_name': 'libvpx_intrinsics_sse2',
25 'type': 'static_library',
26 'include_dirs': [
johannkoenig@chromium.orga87d9e62014-01-29 06:17:23 +000027 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000028 '<(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',
johannkoenig@chromium.org5fc828c2013-04-24 16:36:16 +000035 '<(libvpx_source)/vp8/encoder/x86/quantize_sse2.c',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000036 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c',
johannkoenig@chromium.org817ca272013-04-25 20:35:42 +000037 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c',
johannkoenig@chromium.orgc5f11702013-04-02 23:29:53 +000038 '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_sse2.c',
fgalligan@chromium.org411971f2014-03-03 23:09:28 +000039 '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_sse2.c',
40 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c',
41 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_sse2.c',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000042 ],
thakis@chromium.orgf68663a2014-08-26 00:24:58 +000043 'cflags': [ '-msse2', ],
44 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] },
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000045 },
46 {
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000047 'target_name': 'libvpx_intrinsics_ssse3',
48 'type': 'static_library',
49 'include_dirs': [
johannkoenig@chromium.orga87d9e62014-01-29 06:17:23 +000050 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000051 '<(libvpx_source)',
52 ],
53 'sources': [
54 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c',
fgalligan@chromium.org810cf172014-05-08 16:00:54 +000055 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c',
fgalligan@chromium.org88b47b22014-06-20 19:01:46 +000056 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c',
fgalligan@chromium.org411971f2014-03-03 23:09:28 +000057 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c',
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000058 ],
thakis@chromium.orgf68663a2014-08-26 00:24:58 +000059 'cflags': [ '-mssse3', ],
60 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] },
thakis@chromium.org563c46b2014-08-26 02:25:28 +000061 'conditions': [
62 ['OS=="win" and clang==1', {
63 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
64 # doesn't need it for intrinsics. clang-cl does need it, though.
65 'msvs_settings': {
66 'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] },
67 },
68 }],
69 ],
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000070 },
fgalligan@chromium.org88b47b22014-06-20 19:01:46 +000071 {
72 'target_name': 'libvpx_intrinsics_sse4_1',
73 'type': 'static_library',
74 'include_dirs': [
75 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
76 '<(libvpx_source)',
77 ],
78 'sources': [
79 '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c',
80 ],
thakis@chromium.orgf68663a2014-08-26 00:24:58 +000081 'cflags': [ '-msse4.1', ],
82 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] },
thakis@chromium.org563c46b2014-08-26 02:25:28 +000083 'conditions': [
84 ['OS=="win" and clang==1', {
85 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
86 # doesn't need it for intrinsics. clang-cl does need it, though.
87 'msvs_settings': {
88 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] },
89 },
90 }],
91 ],
fgalligan@chromium.org88b47b22014-06-20 19:01:46 +000092 },
johannkoenig@chromium.org61b5f712013-04-02 20:18:06 +000093 ],
94}