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

Side by Side Diff: libvpx.gyp

Issue 139903014: Remove simple_* examples (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 10 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 }, 518 },
519 'includes': ['unpack_lib_posix.gypi'], 519 'includes': ['unpack_lib_posix.gypi'],
520 # Need this otherwise gyp won't run the rule on them. 520 # Need this otherwise gyp won't run the rule on them.
521 'sources': [ 521 'sources': [
522 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 522 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
523 ], 523 ],
524 }], 524 }],
525 ], 525 ],
526 'includes': ['obj_int_extract.gypi'], 526 'includes': ['obj_int_extract.gypi'],
527 }, 527 },
528 {
529 'target_name': 'simple_encoder',
530 'type': 'executable',
531 'dependencies': [
532 'libvpx',
533 ],
534
535 # Copy the script to the output folder so that we can use it with
536 # absolute path.
537 'copies': [{
538 'destination': '<(shared_generated_dir)/simple_encoder',
539 'files': [
540 '<(libvpx_source)/examples/gen_example_code.sh',
541 ],
542 }],
543
544 # Rule to convert .txt files to .c files.
545 'rules': [
546 {
547 'rule_name': 'generate_example',
548 'extension': 'txt',
549 'inputs': [ '<(shared_generated_dir)/simple_encoder/gen_example_code.s h', ],
550 'outputs': [
551 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
552 ],
553 'action': [
554 'bash',
555 '-c',
556 '<(shared_generated_dir)/simple_encoder/gen_example_code.sh <(RULE_I NPUT_PATH) > <(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
557 ],
558 'process_outputs_as_sources': 1,
559 'message': 'Generate libvpx example code <(RULE_INPUT_PATH)',
560 },
561 ],
562 'sources': [
563 '<(libvpx_source)/examples/simple_encoder.txt',
564 ]
565 },
566 {
567 'target_name': 'simple_decoder',
568 'type': 'executable',
569 'dependencies': [
570 'libvpx',
571 ],
572
573 # Copy the script to the output folder so that we can use it with
574 # absolute path.
575 'copies': [{
576 'destination': '<(shared_generated_dir)/simple_decoder',
577 'files': [
578 '<(libvpx_source)/examples/gen_example_code.sh',
579 ],
580 }],
581
582 # Rule to convert .txt files to .c files.
583 'rules': [
584 {
585 'rule_name': 'generate_example',
586 'extension': 'txt',
587 'inputs': [ '<(shared_generated_dir)/simple_decoder/gen_example_code.s h', ],
588 'outputs': [
589 '<(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
590 ],
591 'action': [
592 'bash',
593 '-c',
594 '<(shared_generated_dir)/simple_decoder/gen_example_code.sh <(RULE_I NPUT_PATH) > <(shared_generated_dir)/<(RULE_INPUT_ROOT).c',
595 ],
596 'process_outputs_as_sources': 1,
597 'message': 'Generate libvpx example code <(RULE_INPUT_PATH)',
598 },
599 ],
600 'sources': [
601 '<(libvpx_source)/examples/simple_decoder.txt',
602 ]
603 },
604 ], 528 ],
605 } 529 }
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