Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1656)

Side by Side Diff: libvpx.gyp

Issue 346563002: libvpx: Really, fix generated offsets to work with WebView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 'target_name': 'gen_asm_offsets_vp8', 461 'target_name': 'gen_asm_offsets_vp8',
462 'type': 'none', 462 'type': 'none',
463 'hard_dependency': 1, 463 'hard_dependency': 1,
464 'dependencies': [ 464 'dependencies': [
465 'libvpx_asm_offsets_vp8', 465 'libvpx_asm_offsets_vp8',
466 'libvpx_obj_int_extract#host', 466 'libvpx_obj_int_extract#host',
467 ], 467 ],
468 'variables' : { 468 'variables' : {
469 # unpack_lib is used as an input to unpack_lib_posix.gypi. 469 # unpack_lib is used as an input to unpack_lib_posix.gypi.
470 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a', 470 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a',
471 'unpack_lib_search_path' : '<(unpack_lib)', 471 'unpack_lib_search_path' : '<(shared_generated_dir)/libvpx_asm_offsets_v p8.a',
472 'output_format':'', 472 'output_format':'',
473 'output_dir': '<(shared_generated_dir)', 473 'output_dir': '<(shared_generated_dir)',
474 'conditions' : [ 474 'conditions' : [
475 ['android_webview_build==1', { 475 ['android_webview_build==1', {
476 # pass the empty string for 3rd and 4th arguments of 476 # pass the empty string for 3rd and 4th arguments of
477 # intermediates-dir-for macro. 477 # intermediates-dir-for macro.
478 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx _asm_offsets_vp8,,,$(gyp_var_prefix))/libvpx_asm_offsets_vp8.a', 478 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx _asm_offsets_vp8,,,$(gyp_var_prefix))/libvpx_asm_offsets_vp8.a',
479 'unpack_lib_search_path' : '$(abspath <(unpack_lib))', 479 'unpack_lib_search_path' : '$(abspath $(call intermediates-dir-for,S TATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_ vp8.a',
480 }], 480 }],
481 ['(target_arch=="arm" or target_arch=="armv7")', { 481 ['(target_arch=="arm" or target_arch=="armv7")', {
482 'output_format': 'gas', 482 'output_format': 'gas',
483 }, { 483 }, {
484 'output_format': 'rvds', 484 'output_format': 'rvds',
485 }], 485 }],
486 ], 486 ],
487 }, 487 },
488 'conditions': [ 488 'conditions': [
489 ['OS=="win"', { 489 ['OS=="win"', {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 # are needed all assembly optimized files in libvpx. 534 # are needed all assembly optimized files in libvpx.
535 'target_name': 'gen_asm_offsets_vpx_scale', 535 'target_name': 'gen_asm_offsets_vpx_scale',
536 'type': 'none', 536 'type': 'none',
537 'hard_dependency': 1, 537 'hard_dependency': 1,
538 'dependencies': [ 538 'dependencies': [
539 'libvpx_asm_offsets_vpx_scale', 539 'libvpx_asm_offsets_vpx_scale',
540 'libvpx_obj_int_extract#host', 540 'libvpx_obj_int_extract#host',
541 ], 541 ],
542 'variables' : { 542 'variables' : {
543 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a', 543 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a',
544 'unpack_lib_search_path' : '<(unpack_lib)', 544 'unpack_lib_search_path' : '<(shared_generated_dir)/libvpx_asm_offsets_v px_scale.a',
545 'output_format':'', 545 'output_format':'',
546 'output_dir': '<(shared_generated_dir)', 546 'output_dir': '<(shared_generated_dir)',
547 'conditions' : [ 547 'conditions' : [
548 ['android_webview_build==1', { 548 ['android_webview_build==1', {
549 # pass the empty string for 3rd and 4th arguments of 549 # pass the empty string for 3rd and 4th arguments of
550 # intermediates-dir-for macro. 550 # intermediates-dir-for macro.
551 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx _asm_offsets_vpx_scale,,,$(gyp_var_prefix))/libvpx_asm_offsets_vpx_scale.a', 551 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx _asm_offsets_vpx_scale,,,$(gyp_var_prefix))/libvpx_asm_offsets_vpx_scale.a',
552 'unpack_lib_search_path' : '$(abspath <(unpack_lib))', 552 'unpack_lib_search_path' : '$(abspath $(call intermediates-dir-for,S TATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_ vp8.a',
553 }], 553 }],
554 ['(target_arch=="arm" or target_arch=="armv7")', { 554 ['(target_arch=="arm" or target_arch=="armv7")', {
555 'output_format': 'gas', 555 'output_format': 'gas',
556 }, { 556 }, {
557 'output_format': 'rvds', 557 'output_format': 'rvds',
558 }], 558 }],
559 ], 559 ],
560 }, 560 },
561 'conditions': [ 561 'conditions': [
562 ['OS=="win"', { 562 ['OS=="win"', {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 # Need this otherwise gyp won't run the rule on them. 595 # Need this otherwise gyp won't run the rule on them.
596 'sources': [ 596 'sources': [
597 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 597 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
598 ], 598 ],
599 }], 599 }],
600 ], 600 ],
601 'includes': ['obj_int_extract.gypi'], 601 'includes': ['obj_int_extract.gypi'],
602 }, 602 },
603 ], 603 ],
604 } 604 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698