| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 ], | 539 ], |
| 540 'variables' : { | 540 'variables' : { |
| 541 'unpack_lib' : '', | 541 'unpack_lib' : '', |
| 542 'output_format':'', | 542 'output_format':'', |
| 543 'output_dir': '<(shared_generated_dir)', | 543 'output_dir': '<(shared_generated_dir)', |
| 544 'conditions' : [ | 544 'conditions' : [ |
| 545 ['android_webview_build==1', { | 545 ['android_webview_build==1', { |
| 546 # pass the empty string for 3rd and 4th arguments of | 546 # pass the empty string for 3rd and 4th arguments of |
| 547 # intermediates-dir-for macro. | 547 # intermediates-dir-for macro. |
| 548 'unpack_lib' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRAR
IES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vpx_sc
ale.a', | 548 'unpack_lib' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRAR
IES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vpx_sc
ale.a', |
| 549 },], | 549 }], |
| 550 ['OS!="win"', { | 550 ['OS=="mac" or OS=="ios"', { |
| 551 'unpack_lib' : '<(PRODUCT_DIR)/libvpx_asm_offsets_vpx_scale.a', |
| 552 }], |
| 553 ['OS!="win" and OS!="mac" and OS!="ios"', { |
| 554 # <(LIB_DIR) not defined for "win". |
| 551 'unpack_lib' : '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx
_scale.a', | 555 'unpack_lib' : '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx
_scale.a', |
| 552 },], | 556 }], |
| 553 ['(target_arch=="arm" or target_arch=="armv7")', { | 557 ['(target_arch=="arm" or target_arch=="armv7")', { |
| 554 'output_format': 'gas', | 558 'output_format': 'gas', |
| 555 }, { | 559 }, { |
| 556 'output_format': 'rvds', | 560 'output_format': 'rvds', |
| 557 }], | 561 }], |
| 558 ], | 562 ], |
| 559 }, | 563 }, |
| 560 'conditions': [ | 564 'conditions': [ |
| 561 ['OS=="win"', { | 565 ['OS=="win"', { |
| 562 'variables': { | 566 'variables': { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 # Need this otherwise gyp won't run the rule on them. | 598 # Need this otherwise gyp won't run the rule on them. |
| 595 'sources': [ | 599 'sources': [ |
| 596 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 600 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
| 597 ], | 601 ], |
| 598 }], | 602 }], |
| 599 ], | 603 ], |
| 600 'includes': ['obj_int_extract.gypi'], | 604 'includes': ['obj_int_extract.gypi'], |
| 601 }, | 605 }, |
| 602 ], | 606 ], |
| 603 } | 607 } |
| OLD | NEW |