| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'libvpx_srcs_x86.gypi', | 97 'libvpx_srcs_x86.gypi', |
| 98 ], | 98 ], |
| 99 'dependencies': [ | 99 'dependencies': [ |
| 100 'libvpx_intrinsics_mmx', | 100 'libvpx_intrinsics_mmx', |
| 101 'libvpx_intrinsics_sse2', | 101 'libvpx_intrinsics_sse2', |
| 102 # Currently no sse3 intrinsic functions | 102 # Currently no sse3 intrinsic functions |
| 103 #'libvpx_intrinsics_sse3', | 103 #'libvpx_intrinsics_sse3', |
| 104 'libvpx_intrinsics_ssse3', | 104 'libvpx_intrinsics_ssse3', |
| 105 # Currently no sse4_1 intrinsic functions | 105 # Currently no sse4_1 intrinsic functions |
| 106 #'libvpx_intrinsics_sse4_1', | 106 #'libvpx_intrinsics_sse4_1', |
| 107 # Currently no avx intrinsic functions |
| 108 #'libvpx_intrinsics_avx', |
| 109 'libvpx_intrinsics_avx2', |
| 107 ], | 110 ], |
| 108 }], | 111 }], |
| 109 ['target_arch=="x64"', { | 112 ['target_arch=="x64"', { |
| 110 'includes': [ | 113 'includes': [ |
| 111 'libvpx_srcs_x86_64.gypi', | 114 'libvpx_srcs_x86_64.gypi', |
| 112 ], | 115 ], |
| 113 'dependencies': [ | 116 'dependencies': [ |
| 114 'libvpx_intrinsics_mmx', | 117 'libvpx_intrinsics_mmx', |
| 115 'libvpx_intrinsics_sse2', | 118 'libvpx_intrinsics_sse2', |
| 116 # Currently no sse3 intrinsic functions | 119 # Currently no sse3 intrinsic functions |
| 117 #'libvpx_intrinsics_sse3', | 120 #'libvpx_intrinsics_sse3', |
| 118 'libvpx_intrinsics_ssse3', | 121 'libvpx_intrinsics_ssse3', |
| 119 # Currently no sse4_1 intrinsic functions | 122 # Currently no sse4_1 intrinsic functions |
| 120 #'libvpx_intrinsics_sse4_1', | 123 #'libvpx_intrinsics_sse4_1', |
| 124 # Currently no avx intrinsic functions |
| 125 #'libvpx_intrinsics_avx', |
| 126 'libvpx_intrinsics_avx2', |
| 121 ], | 127 ], |
| 122 }], | 128 }], |
| 123 ['clang == 1', { | 129 ['clang == 1', { |
| 124 'xcode_settings': { | 130 'xcode_settings': { |
| 125 'WARNING_CFLAGS': [ | 131 'WARNING_CFLAGS': [ |
| 126 # libvpx heavily relies on implicit enum casting. | 132 # libvpx heavily relies on implicit enum casting. |
| 127 '-Wno-conversion', | 133 '-Wno-conversion', |
| 128 # libvpx does `if ((a == b))` in some places. | 134 # libvpx does `if ((a == b))` in some places. |
| 129 '-Wno-parentheses-equality', | 135 '-Wno-parentheses-equality', |
| 130 ], | 136 ], |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 'inputs': [ | 222 'inputs': [ |
| 217 '<(shared_generated_dir)/<(ads2gas_script)', | 223 '<(shared_generated_dir)/<(ads2gas_script)', |
| 218 '<(shared_generated_dir)/thumb.pm', | 224 '<(shared_generated_dir)/thumb.pm', |
| 219 ], | 225 ], |
| 220 'outputs': [ | 226 'outputs': [ |
| 221 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S', | 227 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S', |
| 222 ], | 228 ], |
| 223 'action': [ | 229 'action': [ |
| 224 'bash', | 230 'bash', |
| 225 '-c', | 231 '-c', |
| 226 'cat <(RULE_INPUT_PATH) | perl <(shared_generated_dir)/<(ads2gas
_script) > <(shared_generated_dir)/<(RULE_INPUT_ROOT).S', | 232 'cat <(RULE_INPUT_PATH) | perl <(shared_generated_dir)/<(ads2gas
_script) -chromium > <(shared_generated_dir)/<(RULE_INPUT_ROOT).S', |
| 227 ], | 233 ], |
| 228 'process_outputs_as_sources': 1, | 234 'process_outputs_as_sources': 1, |
| 229 'message': 'Convert libvpx asm file for ARM <(RULE_INPUT_PATH).', | 235 'message': 'Convert libvpx asm file for ARM <(RULE_INPUT_PATH).', |
| 230 }, | 236 }, |
| 231 ], | 237 ], |
| 232 | 238 |
| 233 'variables': { | 239 'variables': { |
| 234 'variables': { | 240 'variables': { |
| 235 'conditions': [ | 241 'conditions': [ |
| 236 ['OS=="ios"', { | 242 ['OS=="ios"', { |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 'process_outputs_as_sources': 1, | 648 'process_outputs_as_sources': 1, |
| 643 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).', | 649 'message': 'Generate libvpx example code <(RULE_INPUT_PATH).', |
| 644 }, | 650 }, |
| 645 ], | 651 ], |
| 646 'sources': [ | 652 'sources': [ |
| 647 '<(libvpx_source)/examples/simple_decoder.txt', | 653 '<(libvpx_source)/examples/simple_decoder.txt', |
| 648 ] | 654 ] |
| 649 }, | 655 }, |
| 650 ], | 656 ], |
| 651 } | 657 } |
| OLD | NEW |