Fix libplatformproto includes/export includes
The host versions of these were pointing to the target generated sources, without having proper dependencies added. But the build system already handles these adding these to your local and exported include directories, so just remove them. Bug: 36365556 Test: m -j libhwui incident_report incident-section-gen Change-Id: I52024508eabd8d10899c307c950fe045ff66ab25
This commit is contained in:
@@ -1472,10 +1472,6 @@ LOCAL_PROTOC_FLAGS := \
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-proto-files-under, core/proto) \
|
||||
$(call all-proto-files-under, libs/incident/proto)
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
|
||||
LOCAL_EXPORT_C_INCLUDES := \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
# ==== c++ proto host library ==============================
|
||||
@@ -1490,10 +1486,6 @@ LOCAL_PROTOC_FLAGS := \
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-proto-files-under, core/proto) \
|
||||
$(call all-proto-files-under, libs/incident/proto)
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
|
||||
LOCAL_EXPORT_C_INCLUDES := \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
|
||||
include $(BUILD_HOST_SHARED_LIBRARY)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user