commit | aee42f01dc189c9509aaa284167b49e3d86a726d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon May 01 17:30:04 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue May 02 19:03:54 2017 +0000 |
tree | be418553fcb569b53bd60f3aad5a4d084b2fb9b4 | |
parent | 67795a72da09e25a770d4e88e4a2ebf65cff7fd2 [diff] |
Vehicle: IWYU Missing dependency that was being transitively included from MQDescriptor.h. Test: links Bug: 37791060 Change-Id: I90ccb2edabab8c63429caa0884f6c5820c29fe11 (cherry picked from commit 356c2ced1dd58915ba3997c80a3db56b1a8fdc0e)
diff --git a/automotive/vehicle/2.0/default/Android.mk b/automotive/vehicle/2.0/default/Android.mk index 3c56159..d5f5678 100644 --- a/automotive/vehicle/2.0/default/Android.mk +++ b/automotive/vehicle/2.0/default/Android.mk
@@ -122,6 +122,9 @@ tests/VehicleObjectPool_test.cpp \ tests/VehiclePropConfigIndex_test.cpp \ +LOCAL_HEADER_LIBRARIES := \ + libbase_headers + LOCAL_SHARED_LIBRARIES := \ libhidlbase \ libhidltransport \
diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp b/automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp index ea40cc5..fe34a3f 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp
@@ -13,9 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - #define LOG_TAG "DefaultVehicleHal_v2_0" + #include <android/log.h> +#include <android-base/macros.h> #include "EmulatedVehicleHal.h"
diff --git a/automotive/vehicle/2.0/default/tests/VehicleHalManager_test.cpp b/automotive/vehicle/2.0/default/tests/VehicleHalManager_test.cpp index 04335b5..4864d5d 100644 --- a/automotive/vehicle/2.0/default/tests/VehicleHalManager_test.cpp +++ b/automotive/vehicle/2.0/default/tests/VehicleHalManager_test.cpp
@@ -17,6 +17,7 @@ #include <unordered_map> #include <iostream> +#include <android-base/macros.h> #include <utils/SystemClock.h> #include <gtest/gtest.h>