From 09384303dea4f3f01d5682918d7bab9bf83a02b1 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Wed, 22 Jan 2014 16:07:42 -0800 Subject: Add support for multiple asset dirs (-A) Bug: 12608034 Change-Id: I02c5a1a73b83498d799570428cca3dd914f8ac11 --- tools/aapt/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/aapt/Command.cpp') diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 632efe04f3c2..40845e39048f 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1896,7 +1896,7 @@ int doPackage(Bundle* bundle) N = bundle->getFileSpecCount(); if (N < 1 && bundle->getResourceSourceDirs().size() == 0 && bundle->getJarFiles().size() == 0 - && bundle->getAndroidManifestFile() == NULL && bundle->getAssetSourceDir() == NULL) { + && bundle->getAndroidManifestFile() == NULL && bundle->getAssetSourceDirs().size() == 0) { fprintf(stderr, "ERROR: no input files\n"); goto bail; } -- cgit v1.2.3-59-g8ed1b