OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'variables': { | 5 'variables': { |
6 'libvpx_build_vp9%': 1, | 6 'libvpx_build_vp9%': 1, |
7 'libvpx_source%': 'source/libvpx', | 7 'libvpx_source%': 'source/libvpx', |
8 'conditions': [ | 8 'conditions': [ |
9 ['os_posix==1', { | 9 ['os_posix==1', { |
10 'asm_obj_extension': 'o', | 10 'asm_obj_extension': 'o', |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 'dependencies': [ | 123 'dependencies': [ |
124 'libvpx_intrinsics_mmx', | 124 'libvpx_intrinsics_mmx', |
125 'libvpx_intrinsics_sse2', | 125 'libvpx_intrinsics_sse2', |
126 # Currently no sse3 intrinsic functions | 126 # Currently no sse3 intrinsic functions |
127 #'libvpx_intrinsics_sse3', | 127 #'libvpx_intrinsics_sse3', |
128 'libvpx_intrinsics_ssse3', | 128 'libvpx_intrinsics_ssse3', |
129 # Currently no sse4_1 intrinsic functions | 129 # Currently no sse4_1 intrinsic functions |
130 #'libvpx_intrinsics_sse4_1', | 130 #'libvpx_intrinsics_sse4_1', |
131 # Currently no avx intrinsic functions | 131 # Currently no avx intrinsic functions |
132 #'libvpx_intrinsics_avx', | 132 #'libvpx_intrinsics_avx', |
133 # Add avx2 support when VS2013 lands: crbug.com/328981 | 133 'libvpx_intrinsics_avx2', |
134 #'libvpx_intrinsics_avx2', | |
135 ], | 134 ], |
136 }], | 135 }], |
137 ['target_arch=="arm64"', { | 136 ['target_arch=="arm64"', { |
138 'includes': [ 'libvpx_srcs_generic.gypi', ], | 137 'includes': [ 'libvpx_srcs_generic.gypi', ], |
139 }], | 138 }], |
140 ['target_arch=="x64"', { | 139 ['target_arch=="x64"', { |
141 'conditions': [ | 140 'conditions': [ |
142 ['msan==1', { | 141 ['msan==1', { |
143 'includes': [ 'libvpx_srcs_generic.gypi', ], | 142 'includes': [ 'libvpx_srcs_generic.gypi', ], |
144 }, { | 143 }, { |
145 'includes': [ | 144 'includes': [ |
146 'libvpx_srcs_x86_64.gypi', | 145 'libvpx_srcs_x86_64.gypi', |
147 'libvpx_srcs_nacl.gypi', | 146 'libvpx_srcs_nacl.gypi', |
148 ], | 147 ], |
149 'dependencies': [ | 148 'dependencies': [ |
150 'libvpx_intrinsics_mmx', | 149 'libvpx_intrinsics_mmx', |
151 'libvpx_intrinsics_sse2', | 150 'libvpx_intrinsics_sse2', |
152 # Currently no sse3 intrinsic functions | 151 # Currently no sse3 intrinsic functions |
153 #'libvpx_intrinsics_sse3', | 152 #'libvpx_intrinsics_sse3', |
154 'libvpx_intrinsics_ssse3', | 153 'libvpx_intrinsics_ssse3', |
155 # Currently no sse4_1 intrinsic functions | 154 # Currently no sse4_1 intrinsic functions |
156 #'libvpx_intrinsics_sse4_1', | 155 #'libvpx_intrinsics_sse4_1', |
157 # Currently no avx intrinsic functions | 156 # Currently no avx intrinsic functions |
158 #'libvpx_intrinsics_avx', | 157 #'libvpx_intrinsics_avx', |
159 # Add avx2 support when VS2013 lands: crbug.com/328981 | 158 'libvpx_intrinsics_avx2', |
160 #'libvpx_intrinsics_avx2', | |
161 ], | 159 ], |
162 }], | 160 }], |
163 ], | 161 ], |
164 }], | 162 }], |
165 ['clang == 1', { | 163 ['clang == 1', { |
166 'xcode_settings': { | 164 'xcode_settings': { |
167 'WARNING_CFLAGS': [ | 165 'WARNING_CFLAGS': [ |
168 # libvpx heavily relies on implicit enum casting. | 166 # libvpx heavily relies on implicit enum casting. |
169 '-Wno-conversion', | 167 '-Wno-conversion', |
170 # libvpx does `if ((a == b))` in some places. | 168 # libvpx does `if ((a == b))` in some places. |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 # Need this otherwise gyp won't run the rule on them. | 580 # Need this otherwise gyp won't run the rule on them. |
583 'sources': [ | 581 'sources': [ |
584 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 582 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
585 ], | 583 ], |
586 }], | 584 }], |
587 ], | 585 ], |
588 'includes': ['obj_int_extract.gypi'], | 586 'includes': ['obj_int_extract.gypi'], |
589 }, | 587 }, |
590 ], | 588 ], |
591 } | 589 } |
OLD | NEW |