| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 # Do not set to 'size', as it results in an error on win64. | 59 # Do not set to 'size', as it results in an error on win64. |
| 60 'optimize' :'speed', | 60 'optimize' :'speed', |
| 61 }], | 61 }], |
| 62 ], | 62 ], |
| 63 'clang_warning_flags': [ | 63 'clang_warning_flags': [ |
| 64 # libvpx heavily relies on implicit enum casting. | 64 # libvpx heavily relies on implicit enum casting. |
| 65 '-Wno-conversion', | 65 '-Wno-conversion', |
| 66 # libvpx does `if ((a == b))` in some places. | 66 # libvpx does `if ((a == b))` in some places. |
| 67 '-Wno-parentheses-equality', | 67 '-Wno-parentheses-equality', |
| 68 ], | 68 ], |
| 69 'clang_warning_flags_unset': [ |
| 70 # libvpx does assert(!"foo"); in some places. |
| 71 '-Wstring-conversion', |
| 72 ], |
| 69 }, | 73 }, |
| 70 }, | 74 }, |
| 71 'conditions': [ | 75 'conditions': [ |
| 72 ['target_arch=="ia32"', { | 76 ['target_arch=="ia32"', { |
| 73 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], | 77 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], |
| 74 }], | 78 }], |
| 75 ['target_arch=="x64" and msan==0', { | 79 ['target_arch=="x64" and msan==0', { |
| 76 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], | 80 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], |
| 77 }], | 81 }], |
| 78 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and
roid"', { | 82 [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="and
roid"', { |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 '-fstack-protector-all', # Implies -fstack-protector | 342 '-fstack-protector-all', # Implies -fstack-protector |
| 339 ], | 343 ], |
| 340 }, | 344 }, |
| 341 }], | 345 }], |
| 342 ], | 346 ], |
| 343 }, | 347 }, |
| 344 ], | 348 ], |
| 345 }], | 349 }], |
| 346 ], | 350 ], |
| 347 } | 351 } |
| OLD | NEW |