| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 }, | 46 }, |
| 47 'target_defaults': { | 47 'target_defaults': { |
| 48 'target_conditions': [ | 48 'target_conditions': [ |
| 49 ['<(libvpx_build_vp9)==0', { | 49 ['<(libvpx_build_vp9)==0', { |
| 50 'sources/': [ ['exclude', '(^|/)vp9/'], ], | 50 'sources/': [ ['exclude', '(^|/)vp9/'], ], |
| 51 }], | 51 }], |
| 52 ], | 52 ], |
| 53 'variables': { | 53 'variables': { |
| 54 'conditions': [ | 54 'conditions': [ |
| 55 ['OS=="win" and buildtype=="Official"', { | 55 ['OS=="win" and buildtype=="Official"', { |
| 56 # Setting the optimizations to 'speed' or to 'max' results in a lot of | 56 # Do not set to 'size', as it results in an error on win64. |
| 57 # unresolved symbols. The only supported mode is 'size' (see | 57 'optimize' :'speed', |
| 58 # crbug.com/352476). | |
| 59 'optimize' :'size', | |
| 60 }], | 58 }], |
| 61 ], | 59 ], |
| 62 }, | 60 }, |
| 63 }, | 61 }, |
| 64 'conditions': [ | 62 'conditions': [ |
| 65 ['target_arch=="ia32"', { | 63 ['target_arch=="ia32"', { |
| 66 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], | 64 'includes': ['libvpx_srcs_x86_intrinsics.gypi', ], |
| 67 }], | 65 }], |
| 68 ['target_arch=="x64" and msan==0', { | 66 ['target_arch=="x64" and msan==0', { |
| 69 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], | 67 'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ], |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 # Need this otherwise gyp won't run the rule on them. | 578 # Need this otherwise gyp won't run the rule on them. |
| 581 'sources': [ | 579 'sources': [ |
| 582 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 580 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
| 583 ], | 581 ], |
| 584 }], | 582 }], |
| 585 ], | 583 ], |
| 586 'includes': ['obj_int_extract.gypi'], | 584 'includes': ['obj_int_extract.gypi'], |
| 587 }, | 585 }, |
| 588 ], | 586 ], |
| 589 } | 587 } |
| OLD | NEW |