| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 ], | 479 ], |
| 480 }, | 480 }, |
| 481 'conditions': [ | 481 'conditions': [ |
| 482 ['OS=="win"', { | 482 ['OS=="win"', { |
| 483 'variables': { | 483 'variables': { |
| 484 'ninja_obj_dir': '<(PRODUCT_DIR)/obj/third_party/libvpx/<(libvpx_sou
rce)/vp8', | 484 'ninja_obj_dir': '<(PRODUCT_DIR)/obj/third_party/libvpx/<(libvpx_sou
rce)/vp8', |
| 485 }, | 485 }, |
| 486 'actions': [ | 486 'actions': [ |
| 487 { | 487 { |
| 488 'action_name': 'copy_enc_offsets_obj', | 488 'action_name': 'copy_enc_offsets_obj', |
| 489 'inputs': [ '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_a
sm_enc_offsets.obj' ], | 489 'inputs': [ |
| 490 'copy_obj.py', |
| 491 '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_off
sets.obj', |
| 492 ], |
| 490 'outputs': [ '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj' ], | 493 'outputs': [ '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj' ], |
| 491 'action': [ | 494 'action': [ |
| 492 'python', | 495 'python', |
| 493 '<(DEPTH)/third_party/libvpx/copy_obj.py', | 496 '<(DEPTH)/third_party/libvpx/copy_obj.py', |
| 494 '-d', '<@(_outputs)', | 497 '-d', '<@(_outputs)', |
| 495 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_e
nc_offsets.obj', | 498 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_e
nc_offsets.obj', |
| 496 ], | 499 ], |
| 497 'process_output_as_sources': 1, | 500 'process_output_as_sources': 1, |
| 498 }, | 501 }, |
| 499 ], | 502 ], |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 ], | 552 ], |
| 550 }, | 553 }, |
| 551 'conditions': [ | 554 'conditions': [ |
| 552 ['OS=="win"', { | 555 ['OS=="win"', { |
| 553 'variables': { | 556 'variables': { |
| 554 'ninja_obj_dir': '<(PRODUCT_DIR)/obj/third_party/libvpx/<(libvpx_sou
rce)/vpx_scale', | 557 'ninja_obj_dir': '<(PRODUCT_DIR)/obj/third_party/libvpx/<(libvpx_sou
rce)/vpx_scale', |
| 555 }, | 558 }, |
| 556 'actions': [ | 559 'actions': [ |
| 557 { | 560 { |
| 558 'action_name': 'copy_enc_offsets_obj', | 561 'action_name': 'copy_enc_offsets_obj', |
| 559 'inputs': [ '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale
.vpx_scale_asm_offsets.obj' ], | 562 'inputs': [ |
| 563 'copy_obj.py', |
| 564 '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx_scale
_asm_offsets.obj', |
| 565 ], |
| 560 'outputs': [ '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.obj' ], | 566 'outputs': [ '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.obj' ], |
| 561 'action': [ | 567 'action': [ |
| 562 'python', | 568 'python', |
| 563 '<(DEPTH)/third_party/libvpx/copy_obj.py', | 569 '<(DEPTH)/third_party/libvpx/copy_obj.py', |
| 564 '-d', '<@(_outputs)', | 570 '-d', '<@(_outputs)', |
| 565 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx
_scale_asm_offsets.obj', | 571 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx
_scale_asm_offsets.obj', |
| 566 ], | 572 ], |
| 567 'process_output_as_sources': 1, | 573 'process_output_as_sources': 1, |
| 568 }, | 574 }, |
| 569 ], | 575 ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 582 # Need this otherwise gyp won't run the rule on them. | 588 # Need this otherwise gyp won't run the rule on them. |
| 583 'sources': [ | 589 'sources': [ |
| 584 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', | 590 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', |
| 585 ], | 591 ], |
| 586 }], | 592 }], |
| 587 ], | 593 ], |
| 588 'includes': ['obj_int_extract.gypi'], | 594 'includes': ['obj_int_extract.gypi'], |
| 589 }, | 595 }, |
| 590 ], | 596 ], |
| 591 } | 597 } |
| OLD | NEW |