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

Side by Side Diff: libvpx.gyp

Issue 469363004: libvpx.gyp: Remove redundant sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 'actions': [ 465 'actions': [
466 { 466 {
467 'action_name': 'copy_enc_offsets_obj', 467 'action_name': 'copy_enc_offsets_obj',
468 'inputs': [ 'copy_obj.py' ], 468 'inputs': [ 'copy_obj.py' ],
469 'outputs': [ '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj' ], 469 'outputs': [ '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj' ],
470 'action': [ 470 'action': [
471 'python', 471 'python',
472 '<(DEPTH)/third_party/libvpx/copy_obj.py', 472 '<(DEPTH)/third_party/libvpx/copy_obj.py',
473 '-d', '<@(_outputs)', 473 '-d', '<@(_outputs)',
474 '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vp8/vp8_asm_enc_off sets.obj', 474 '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vp8/vp8_asm_enc_off sets.obj',
475 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_e nc_offsets.obj', 475 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_e nc_offsets.obj',
Nico 2014/08/14 22:29:22 Huh, what's this needed for? Why are there 3 paths
Tom Finegan 2014/08/14 22:47:35 There have been problems with search paths on vari
476 '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/lib vpx/<(libvpx_source)/vp8/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_offsets.obj' , 476 '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/lib vpx/<(libvpx_source)/vp8/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_offsets.obj' ,
477 ], 477 ],
478 'process_outputs_as_sources': 1, 478 'process_outputs_as_sources': 1,
479 }, 479 },
480 ], 480 ],
481 'sources': [
482 '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj',
483 ],
484 }, { 481 }, {
485 'variables': { 482 'variables': {
486 'unpack_lib_search_path_list': [ 483 'unpack_lib_search_path_list': [
487 '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vp8.a', 484 '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vp8.a',
488 '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vp8.a', 485 '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vp8.a',
489 '-a', '<(LIB_DIR)/chromium/src/third_party/libvpx/libvpx_asm_offse ts_vp8.a', 486 '-a', '<(LIB_DIR)/chromium/src/third_party/libvpx/libvpx_asm_offse ts_vp8.a',
490 '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx _asm_offsets_vp8.a', 487 '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx _asm_offsets_vp8.a',
491 '-a', '<(lib_intermediate_name)', 488 '-a', '<(lib_intermediate_name)',
492 ], 489 ],
493 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)', 490 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 'python', 542 'python',
546 '<(DEPTH)/third_party/libvpx/copy_obj.py', 543 '<(DEPTH)/third_party/libvpx/copy_obj.py',
547 '-d', '<@(_outputs)', 544 '-d', '<@(_outputs)',
548 '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vpx_scale/vpx_scale _asm_offsets.obj', 545 '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vpx_scale/vpx_scale _asm_offsets.obj',
549 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx _scale_asm_offsets.obj', 546 '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx _scale_asm_offsets.obj',
550 '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/lib vpx/<(libvpx_source)/vpx_scale/libvpx_asm_offsets_vpx_scale.vpx_scale_asm_offset s.obj', 547 '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/lib vpx/<(libvpx_source)/vpx_scale/libvpx_asm_offsets_vpx_scale.vpx_scale_asm_offset s.obj',
551 ], 548 ],
552 'process_outputs_as_sources': 1, 549 'process_outputs_as_sources': 1,
553 }, 550 },
554 ], 551 ],
555 'sources': [
556 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.obj',
557 ],
558 }, { 552 }, {
559 'variables': { 553 'variables': {
560 'unpack_lib_search_path_list': [ 554 'unpack_lib_search_path_list': [
561 '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vpx_scale.a', 555 '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vpx_scale.a',
562 '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx_scale. a', 556 '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx_scale. a',
563 '-a', '<(LIB_DIR)/chromium/src/third_party/libvpx/libvpx_asm_offse ts_vpx_scale.a', 557 '-a', '<(LIB_DIR)/chromium/src/third_party/libvpx/libvpx_asm_offse ts_vpx_scale.a',
564 '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx _asm_offsets_vpx_scale.a', 558 '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx _asm_offsets_vpx_scale.a',
565 '-a', '<(lib_intermediate_name)', 559 '-a', '<(lib_intermediate_name)',
566 ], 560 ],
567 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)', 561 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)',
568 'unpack_lib_name':'vpx_scale_asm_offsets.o' 562 'unpack_lib_name':'vpx_scale_asm_offsets.o'
569 }, 563 },
570 'includes': ['unpack_lib_posix.gypi'], 564 'includes': ['unpack_lib_posix.gypi'],
571 # Need this otherwise gyp won't run the rule on them.
572 'sources': [
573 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
574 ],
Nico 2014/08/14 22:29:22 This branch doesn't have an action with process_ou
Tom Finegan 2014/08/14 22:47:35 There's a process_outputs_as_sources from the incl
Nico 2014/08/14 22:48:53 Ah! lgtm
575 }], 565 }],
576 ], 566 ],
577 'includes': ['obj_int_extract.gypi'], 567 'includes': ['obj_int_extract.gypi'],
578 }, 568 },
579 ], 569 ],
580 } 570 }
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