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

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

Issue 756673003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years 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 | « source/libvpx/build/make/iosbuild.sh ('k') | source/libvpx/build/x86-msvs/obj_int_extract.bat » ('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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } 379 }
380 close CONFIG_FILE; 380 close CONFIG_FILE;
381 mips; 381 mips;
382 } elsif ($opts{arch} eq 'armv5te') {
383 @ALL_ARCHS = filter(qw/edsp/);
384 arm;
385 } elsif ($opts{arch} eq 'armv6') { 382 } elsif ($opts{arch} eq 'armv6') {
386 @ALL_ARCHS = filter(qw/edsp media/); 383 @ALL_ARCHS = filter(qw/media/);
387 arm; 384 arm;
388 } elsif ($opts{arch} eq 'armv7') { 385 } elsif ($opts{arch} eq 'armv7') {
389 @ALL_ARCHS = filter(qw/edsp media neon_asm neon/); 386 @ALL_ARCHS = filter(qw/media neon_asm neon/);
390 @REQUIRES = filter(keys %required ? keys %required : qw/media/); 387 @REQUIRES = filter(keys %required ? keys %required : qw/media/);
391 &require(@REQUIRES); 388 &require(@REQUIRES);
392 arm; 389 arm;
393 } elsif ($opts{arch} eq 'armv8' || $opts{arch} eq 'arm64' ) { 390 } elsif ($opts{arch} eq 'armv8' || $opts{arch} eq 'arm64' ) {
394 @ALL_ARCHS = filter(qw/neon/); 391 @ALL_ARCHS = filter(qw/neon/);
395 arm; 392 arm;
396 } else { 393 } else {
397 unoptimized; 394 unoptimized;
398 } 395 }
399 396
(...skipping 15 matching lines...) Expand all
415 C header file on stdout. 412 C header file on stdout.
416 413
417 =head1 OPTIONS 414 =head1 OPTIONS
418 415
419 Options: 416 Options:
420 --arch=ARCH Architecture to generate defs for (required) 417 --arch=ARCH Architecture to generate defs for (required)
421 --disable-EXT Disable support for EXT extensions 418 --disable-EXT Disable support for EXT extensions
422 --require-EXT Require support for EXT extensions 419 --require-EXT Require support for EXT extensions
423 --sym=SYMBOL Unique symbol to use for RTCD initialization function 420 --sym=SYMBOL Unique symbol to use for RTCD initialization function
424 --config=FILE File with CONFIG_FOO=yes lines to parse 421 --config=FILE File with CONFIG_FOO=yes lines to parse
OLDNEW
« no previous file with comments | « source/libvpx/build/make/iosbuild.sh ('k') | source/libvpx/build/x86-msvs/obj_int_extract.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698