commit | 772f51439ceae479d761fd264e07ace00d36844d | [log] [tgz] |
---|---|---|
author | Yu Liu <yudiliu@google.com> | Fri Jun 17 22:47:10 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 17 22:47:10 2022 +0000 |
tree | 9bec82bc3bff261c1a196364d10f60ea9d8cbb08 | |
parent | fe88a67091f261042463c8fa7113b97b1790c089 [diff] | |
parent | d9b32a6352e06b85043bb93306a2ba1fbfa6e75e [diff] |
Merge "Make hidl-gen work wih symlinks in order to use it in bazel." am: a598098408 am: 3b79d1de47 am: 70c87b7940 am: d9b32a6352 Original change: https://android-review.googlesource.com/c/platform/system/tools/hidl/+/2127960 Change-Id: I95c9bce5459b215b2409043571cb80d5da126dfd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Coordinator.cpp b/Coordinator.cpp index 9c7c13f..4cd9f26 100644 --- a/Coordinator.cpp +++ b/Coordinator.cpp
@@ -472,8 +472,8 @@ if ((sb.st_mode & S_IFMT) != S_IFREG) { continue; } - } else if (ent->d_type != DT_REG) { - continue; + } else if (ent->d_type != DT_REG && ent->d_type != DT_LNK) { + continue; } const auto suffix = ".hal";