OLD | NEW |
1 # This file is generated. Do not edit. | 1 # This file is generated. Do not edit. |
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'libvpx_intrinsics_mmx', | 9 'target_name': 'libvpx_intrinsics_mmx', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 'cflags!': [ '-mfpu=vfpv3-d16' ], | 78 'cflags!': [ '-mfpu=vfpv3-d16' ], |
79 'cflags': [ '-mssse3', ], | 79 'cflags': [ '-mssse3', ], |
80 }], | 80 }], |
81 ['OS=="mac" or OS=="ios"', { | 81 ['OS=="mac" or OS=="ios"', { |
82 'xcode_settings': { | 82 'xcode_settings': { |
83 'OTHER_CFLAGS': [ '-mssse3', ], | 83 'OTHER_CFLAGS': [ '-mssse3', ], |
84 }, | 84 }, |
85 }], | 85 }], |
86 ], | 86 ], |
87 }, | 87 }, |
88 { | |
89 'target_name': 'libvpx_intrinsics_avx2', | |
90 'type': 'static_library', | |
91 'include_dirs': [ | |
92 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
93 '<(libvpx_source)', | |
94 ], | |
95 'sources': [ | |
96 '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_avx2.c', | |
97 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c', | |
98 '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_avx2.c', | |
99 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_avx2.c', | |
100 '<(libvpx_source)/vp9/encoder/x86/vp9_sad4d_intrin_avx2.c', | |
101 '<(libvpx_source)/vp9/encoder/x86/vp9_subpel_variance_impl_intrin_avx2.c
', | |
102 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_avx2.c', | |
103 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c', | |
104 ], | |
105 'conditions': [ | |
106 ['os_posix==1 and OS!="mac" and OS!="ios"', { | |
107 'cflags!': [ '-mfpu=vfpv3-d16' ], | |
108 'cflags': [ '-mavx2', ], | |
109 }], | |
110 ['OS=="mac" or OS=="ios"', { | |
111 'xcode_settings': { | |
112 'OTHER_CFLAGS': [ '-mavx2', ], | |
113 }, | |
114 }], | |
115 ['OS=="win"', { | |
116 'msvs_settings': { | |
117 'VCCLCompilerTool': { | |
118 'EnableEnhancedInstructionSet': '3', # /arch:AVX | |
119 }, | |
120 }, | |
121 }], | |
122 ], | |
123 }, | |
124 ], | 88 ], |
125 } | 89 } |
OLD | NEW |