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

Side by Side Diff: source/libvpx/build/make/rtcd.pl

Issue 1124333011: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: only update to last nights LKGR Created 5 years, 7 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
« no previous file with comments | « source/libvpx/build/make/msvs_common.sh ('k') | source/libvpx/configure » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env perl 1 #!/usr/bin/env perl
2 2
3 no strict 'refs'; 3 no strict 'refs';
4 use warnings; 4 use warnings;
5 use Getopt::Long; 5 use Getopt::Long;
6 Getopt::Long::Configure("auto_help") if $Getopt::Long::VERSION > 2.32; 6 Getopt::Long::Configure("auto_help") if $Getopt::Long::VERSION > 2.32;
7 7
8 my %ALL_FUNCS = (); 8 my %ALL_FUNCS = ();
9 my @ALL_ARCHS; 9 my @ALL_ARCHS;
10 my @ALL_FORWARD_DECLS; 10 my @ALL_FORWARD_DECLS;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 x86; 369 x86;
370 } elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') { 370 } elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') {
371 @ALL_ARCHS = filter("$opts{arch}"); 371 @ALL_ARCHS = filter("$opts{arch}");
372 open CONFIG_FILE, $opts{config} or 372 open CONFIG_FILE, $opts{config} or
373 die "Error opening config file '$opts{config}': $!\n"; 373 die "Error opening config file '$opts{config}': $!\n";
374 while (<CONFIG_FILE>) { 374 while (<CONFIG_FILE>) {
375 if (/HAVE_DSPR2=yes/) { 375 if (/HAVE_DSPR2=yes/) {
376 @ALL_ARCHS = filter("$opts{arch}", qw/dspr2/); 376 @ALL_ARCHS = filter("$opts{arch}", qw/dspr2/);
377 last; 377 last;
378 } 378 }
379 if (/HAVE_MSA=yes/) {
380 @ALL_ARCHS = filter("$opts{arch}", qw/msa/);
381 last;
382 }
379 } 383 }
380 close CONFIG_FILE; 384 close CONFIG_FILE;
381 mips; 385 mips;
382 } elsif ($opts{arch} eq 'armv6') { 386 } elsif ($opts{arch} eq 'armv6') {
383 @ALL_ARCHS = filter(qw/media/); 387 @ALL_ARCHS = filter(qw/media/);
384 arm; 388 arm;
385 } elsif ($opts{arch} =~ /armv7\w?/) { 389 } elsif ($opts{arch} =~ /armv7\w?/) {
386 @ALL_ARCHS = filter(qw/media neon_asm neon/); 390 @ALL_ARCHS = filter(qw/media neon_asm neon/);
387 @REQUIRES = filter(keys %required ? keys %required : qw/media/); 391 @REQUIRES = filter(keys %required ? keys %required : qw/media/);
388 &require(@REQUIRES); 392 &require(@REQUIRES);
(...skipping 23 matching lines...) Expand all
412 C header file on stdout. 416 C header file on stdout.
413 417
414 =head1 OPTIONS 418 =head1 OPTIONS
415 419
416 Options: 420 Options:
417 --arch=ARCH Architecture to generate defs for (required) 421 --arch=ARCH Architecture to generate defs for (required)
418 --disable-EXT Disable support for EXT extensions 422 --disable-EXT Disable support for EXT extensions
419 --require-EXT Require support for EXT extensions 423 --require-EXT Require support for EXT extensions
420 --sym=SYMBOL Unique symbol to use for RTCD initialization function 424 --sym=SYMBOL Unique symbol to use for RTCD initialization function
421 --config=FILE File with CONFIG_FOO=yes lines to parse 425 --config=FILE File with CONFIG_FOO=yes lines to parse
OLDNEW
« no previous file with comments | « source/libvpx/build/make/msvs_common.sh ('k') | source/libvpx/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698