aboutsummaryrefslogtreecommitdiffstats
path: root/derive_classpath/main.cpp
diff options
context:
space:
mode:
authorsatayev <satayev@google.com>2021-06-30 16:49:53 +0100
committersatayev <satayev@google.com>2021-07-01 19:09:34 +0100
commitacb41b96b656218c95883f79051f4b32f9b47f7a (patch)
tree8dbbd20e17077310ff4cbfd2d235c70cbad88611 /derive_classpath/main.cpp
parent1191048e299b3442cbb76e2806f99f0548c3266b (diff)
downloadplatform_packages_modules_SdkExtensions-acb41b96b656218c95883f79051f4b32f9b47f7a.tar.gz
platform_packages_modules_SdkExtensions-acb41b96b656218c95883f79051f4b32f9b47f7a.tar.bz2
platform_packages_modules_SdkExtensions-acb41b96b656218c95883f79051f4b32f9b47f7a.zip
Add LOG statements to derive_classpath.android-s-beta-4android-s-beta-3android-s-beta-4
There are cases where the service fails without any logs in logcat. Adding this progress logs should help with determing at what stage the service fails for those cases. Bug: 192451046 Test: m && launch_cvd Change-Id: Idcf8bc1757544b1fd4d06666d6cf37348384fbce Merged-In: Idcf8bc1757544b1fd4d06666d6cf37348384fbce
Diffstat (limited to 'derive_classpath/main.cpp')
-rw-r--r--derive_classpath/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/derive_classpath/main.cpp b/derive_classpath/main.cpp
index 8cc4e0a..b896eb9 100644
--- a/derive_classpath/main.cpp
+++ b/derive_classpath/main.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <android-base/logging.h>
#include <cstdlib>
#include <string_view>
@@ -26,6 +27,7 @@ int main(int argc, char** argv) {
} else if (argc == 2) {
output_location = argv[1];
} else {
+ LOG(ERROR) << "too many arguments " << argc;
return EXIT_FAILURE;
}
if (!android::derive_classpath::GenerateClasspathExports(output_location)) {