From c4c04e75500571c47260e28be00e8162a5d3cd1f Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 3 Feb 2011 17:40:53 -0800 Subject: [PATCH] Add Android client to build.pl --- Makefile | 2 +- build.pl | 18 ++++++++++++++++++ clients/android/uploader/Makefile | 7 +++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 clients/android/uploader/Makefile diff --git a/Makefile b/Makefile index c04333735..2219668ee 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all: - ./build.pl all + ./build.pl allfast clean: ./build.pl clean diff --git a/build.pl b/build.pl index aa124f495..675d0fb3c 100755 --- a/build.pl +++ b/build.pl @@ -39,6 +39,7 @@ sub usage { die < [] }; next; } + s/\#.*//; if (m!^\s+\-\s(\S+)\s*$!) { my $dep = $1; my $t = $targets{$last} or die "Unexpected dependency line: $_"; push @{$t->{deps}}, $dep; + next; + } + if (m!^\s+\=\s*(\S+)\s*$!) { + my $tag = $1; + my $t = $targets{$last} or die "Unexpected dependency line: $_"; + $t->{tags}{$tag} = 1; + next; } } #use Data::Dumper; @@ -262,3 +278,5 @@ TARGET: lib/go/blobserver/handlers TARGET: lib/go/httprange +TARGET: clients/android/uploader + =not_in_all # too slow diff --git a/clients/android/uploader/Makefile b/clients/android/uploader/Makefile new file mode 100644 index 000000000..78e1fde8d --- /dev/null +++ b/clients/android/uploader/Makefile @@ -0,0 +1,7 @@ +all: + ant debug + +# Dummy target to make build.pl happy +install: + ant debug +