johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 1 | # This file is generated. Do not edit. |
hclam@chromium.org | bd09f76 | 2014-09-05 21:22:35 +0000 | [diff] [blame] | 2 | # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 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': [ |
johannkoenig@chromium.org | a87d9e6 | 2014-01-29 06:17:23 +0000 | [diff] [blame] | 12 | 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 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 | ], |
thakis@chromium.org | f68663a | 2014-08-26 00:24:58 +0000 | [diff] [blame] | 20 | 'cflags': [ '-mmmx', ], |
| 21 | 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] }, |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 22 | }, |
| 23 | { |
| 24 | 'target_name': 'libvpx_intrinsics_sse2', |
| 25 | 'type': 'static_library', |
| 26 | 'include_dirs': [ |
johannkoenig@chromium.org | a87d9e6 | 2014-01-29 06:17:23 +0000 | [diff] [blame] | 27 | 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 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', |
johannkoenig@chromium.org | 5fc828c | 2013-04-24 16:36:16 +0000 | [diff] [blame] | 35 | '<(libvpx_source)/vp8/encoder/x86/quantize_sse2.c', |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 36 | '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c', |
johannkoenig@chromium.org | 817ca27 | 2013-04-25 20:35:42 +0000 | [diff] [blame] | 37 | '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c', |
johannkoenig@chromium.org | c5f1170 | 2013-04-02 23:29:53 +0000 | [diff] [blame] | 38 | '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_sse2.c', |
fgalligan@chromium.org | 411971f | 2014-03-03 23:09:28 +0000 | [diff] [blame] | 39 | '<(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.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 42 | ], |
thakis@chromium.org | f68663a | 2014-08-26 00:24:58 +0000 | [diff] [blame] | 43 | 'cflags': [ '-msse2', ], |
| 44 | 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] }, |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 45 | }, |
| 46 | { |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 47 | 'target_name': 'libvpx_intrinsics_ssse3', |
| 48 | 'type': 'static_library', |
| 49 | 'include_dirs': [ |
johannkoenig@chromium.org | a87d9e6 | 2014-01-29 06:17:23 +0000 | [diff] [blame] | 50 | 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 51 | '<(libvpx_source)', |
| 52 | ], |
| 53 | 'sources': [ |
| 54 | '<(libvpx_source)/vp8/common/x86/variance_ssse3.c', |
fgalligan@chromium.org | 810cf17 | 2014-05-08 16:00:54 +0000 | [diff] [blame] | 55 | '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', |
fgalligan@chromium.org | 88b47b2 | 2014-06-20 19:01:46 +0000 | [diff] [blame] | 56 | '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c', |
fgalligan@chromium.org | 411971f | 2014-03-03 23:09:28 +0000 | [diff] [blame] | 57 | '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 58 | ], |
thakis@chromium.org | f68663a | 2014-08-26 00:24:58 +0000 | [diff] [blame] | 59 | 'cflags': [ '-mssse3', ], |
| 60 | 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, |
thakis@chromium.org | 563c46b | 2014-08-26 02:25:28 +0000 | [diff] [blame] | 61 | '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.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 70 | }, |
fgalligan@chromium.org | 88b47b2 | 2014-06-20 19:01:46 +0000 | [diff] [blame] | 71 | { |
| 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.org | f68663a | 2014-08-26 00:24:58 +0000 | [diff] [blame] | 81 | 'cflags': [ '-msse4.1', ], |
| 82 | 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, |
thakis@chromium.org | 563c46b | 2014-08-26 02:25:28 +0000 | [diff] [blame] | 83 | '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.org | 88b47b2 | 2014-06-20 19:01:46 +0000 | [diff] [blame] | 92 | }, |
johannkoenig@chromium.org | 61b5f71 | 2013-04-02 20:18:06 +0000 | [diff] [blame] | 93 | ], |
| 94 | } |