| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 }], | 42 }], |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 'conditions': [ | 45 'conditions': [ |
| 46 ['target_arch=="ia32"', { | 46 ['target_arch=="ia32"', { |
| 47 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], | 47 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], |
| 48 }], | 48 }], |
| 49 ['target_arch=="x64"', { | 49 ['target_arch=="x64"', { |
| 50 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], | 50 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], |
| 51 }], | 51 }], |
| 52 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and
roid"', { |
| 53 # When building for targets which may not have NEON (but may!), include |
| 54 # support for neon and hide it behind Android cpu-features. |
| 55 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ], |
| 56 }], |
| 52 [ '(target_arch != "arm" and target_arch != "armv7") and target_arch != "mip
sel"', { | 57 [ '(target_arch != "arm" and target_arch != "armv7") and target_arch != "mip
sel"', { |
| 53 'targets': [ | 58 'targets': [ |
| 54 { | 59 { |
| 55 # This libvpx target contains both encoder and decoder. | 60 # This libvpx target contains both encoder and decoder. |
| 56 # Encoder is configured to be realtime only. | 61 # Encoder is configured to be realtime only. |
| 57 'target_name': 'libvpx', | 62 'target_name': 'libvpx', |
| 58 'type': 'static_library', | 63 'type': 'static_library', |
| 59 'variables': { | 64 'variables': { |
| 60 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', | 65 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', |
| 61 'OS_CATEGORY%': '<(OS_CATEGORY)', | 66 'OS_CATEGORY%': '<(OS_CATEGORY)', |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 ], | 284 ], |
| 280 }, | 285 }, |
| 281 'conditions': [ | 286 'conditions': [ |
| 282 # Libvpx optimizations for ARMv6 or ARMv7 without NEON. | 287 # Libvpx optimizations for ARMv6 or ARMv7 without NEON. |
| 283 ['arm_neon==0', { | 288 ['arm_neon==0', { |
| 284 'conditions': [ | 289 'conditions': [ |
| 285 ['OS=="android"', { | 290 ['OS=="android"', { |
| 286 'includes': [ | 291 'includes': [ |
| 287 'libvpx_srcs_arm_neon_cpu_detect.gypi', | 292 'libvpx_srcs_arm_neon_cpu_detect.gypi', |
| 288 ], | 293 ], |
| 294 'dependencies': [ |
| 295 'libvpx_intrinsics_neon', |
| 296 ], |
| 289 'cflags': [ | 297 'cflags': [ |
| 290 '-Wa,-mfpu=neon', | 298 '-Wa,-mfpu=neon', |
| 291 ], | 299 ], |
| 292 }, { | 300 }, { |
| 293 'includes': [ | 301 'includes': [ |
| 294 'libvpx_srcs_arm.gypi', | 302 'libvpx_srcs_arm.gypi', |
| 295 ], | 303 ], |
| 296 }], | 304 }], |
| 297 ], | 305 ], |
| 298 }], | 306 }], |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 # Need this otherwise gyp won't run the rule on them. | 528 # Need this otherwise gyp won't run the rule on them. |
| 521 'sources': [ | 529 'sources': [ |
| 522 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 530 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
| 523 ], | 531 ], |
| 524 }], | 532 }], |
| 525 ], | 533 ], |
| 526 'includes': ['obj_int_extract.gypi'], | 534 'includes': ['obj_int_extract.gypi'], |
| 527 }, | 535 }, |
| 528 ], | 536 ], |
| 529 } | 537 } |
| OLD | NEW |