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_dct32x32_sse2.c', 40 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c', 41 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_sse2.c', 42 ], 43 'cflags': [ '-msse2', ], 44 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] }, 45 }, 46 { 47 'target_name': 'libvpx_intrinsics_ssse3', 48 'type': 'static_library', 49 'include_dirs': [ 50 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 51 '<(libvpx_source)', 52 ], 53 'sources': [ 54 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c', 55 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', 56 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c', 57 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', 58 ], 59 'cflags': [ '-mssse3', ], 60 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, 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 ], 70 }, 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 ], 81 'cflags': [ '-msse4.1', ], 82 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, 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 ], 92 }, 93 ], 94 } 95