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 # Disable LTO for neon targets | 8 # Disable LTO for neon targets |
9 # crbug.com/408997 | 9 # crbug.com/408997 |
10 'use_lto%': 0, | 10 'use_lto%': 0, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], | 67 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], |
68 }], | 68 }], |
69 ['target_arch=="x64" and msan==0', { | 69 ['target_arch=="x64" and msan==0', { |
70 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], | 70 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], |
71 }], | 71 }], |
72 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and
roid"', { | 72 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and
roid"', { |
73 # When building for targets which may not have NEON (but may!), include | 73 # When building for targets which may not have NEON (but may!), include |
74 # support for neon and hide it behind Android cpu-features. | 74 # support for neon and hide it behind Android cpu-features. |
75 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ], | 75 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ], |
76 }], | 76 }], |
77 [ '(target_arch != "arm" and target_arch != "armv7") and target_arch != "mip
sel"', { | 77 [ '(target_arch != "arm" and target_arch != "armv7") and \ |
| 78 (target_arch != "mipsel" and target_arch != "mips64el")', { |
78 'targets': [ | 79 'targets': [ |
79 { | 80 { |
80 # This libvpx target contains both encoder and decoder. | 81 # This libvpx target contains both encoder and decoder. |
81 # Encoder is configured to be realtime only. | 82 # Encoder is configured to be realtime only. |
82 'target_name': 'libvpx', | 83 'target_name': 'libvpx', |
83 'type': 'static_library', | 84 'type': 'static_library', |
84 'variables': { | 85 'variables': { |
85 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', | 86 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', |
86 'OS_CATEGORY%': '<(OS_CATEGORY)', | 87 'OS_CATEGORY%': '<(OS_CATEGORY)', |
87 'yasm_flags': [ | 88 'yasm_flags': [ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 #'libvpx_intrinsics_avx2', | 175 #'libvpx_intrinsics_avx2', |
175 ], | 176 ], |
176 }], | 177 }], |
177 ], | 178 ], |
178 }], | 179 }], |
179 ], | 180 ], |
180 }, | 181 }, |
181 ], | 182 ], |
182 }, | 183 }, |
183 ], | 184 ], |
184 # 'libvpx' target for mips builds. | 185 # 'libvpx' target for mipsel and mips64el builds. |
185 [ 'target_arch=="mipsel" ', { | 186 [ 'target_arch=="mipsel" or target_arch=="mips64el"', { |
186 'targets': [ | 187 'targets': [ |
187 { | 188 { |
188 # This libvpx target contains both encoder and decoder. | 189 # This libvpx target contains both encoder and decoder. |
189 # Encoder is configured to be realtime only. | 190 # Encoder is configured to be realtime only. |
190 'target_name': 'libvpx', | 191 'target_name': 'libvpx', |
191 'type': 'static_library', | 192 'type': 'static_library', |
192 'variables': { | 193 'variables': { |
193 'shared_generated_dir': | 194 'shared_generated_dir': |
194 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', | 195 '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', |
195 }, | 196 }, |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 # Need this otherwise gyp won't run the rule on them. | 575 # Need this otherwise gyp won't run the rule on them. |
575 'sources': [ | 576 'sources': [ |
576 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 577 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
577 ], | 578 ], |
578 }], | 579 }], |
579 ], | 580 ], |
580 'includes': ['obj_int_extract.gypi'], | 581 'includes': ['obj_int_extract.gypi'], |
581 }, | 582 }, |
582 ], | 583 ], |
583 } | 584 } |
OLD | NEW |