Disable RTTI in crash_reporter and metricsd
There is no longer a reliance on RTTI in libbrillo, so disable RTTI in the rest of Brillo codebase. Bug: 26292405 Change-Id: I2751a2ac973a74741a82f5cd949fc0adaf2449a6
This commit is contained in:
parent
100001a537
commit
2096029743
|
@ -41,7 +41,6 @@ include $(CLEAR_VARS)
|
|||
LOCAL_MODULE := libcrash
|
||||
LOCAL_CPP_EXTENSION := $(crash_reporter_cpp_extension)
|
||||
LOCAL_C_INCLUDES := $(crash_reporter_includes)
|
||||
LOCAL_RTTI_FLAG := -frtti
|
||||
LOCAL_SHARED_LIBRARIES := libchrome \
|
||||
libbinder \
|
||||
libbrillo \
|
||||
|
@ -63,7 +62,6 @@ LOCAL_REQUIRED_MODULES := core2md \
|
|||
crash_sender \
|
||||
crash_server
|
||||
LOCAL_INIT_RC := crash_reporter.rc
|
||||
LOCAL_RTTI_FLAG := -frtti
|
||||
LOCAL_SHARED_LIBRARIES := libchrome \
|
||||
libbinder \
|
||||
libbrillo \
|
||||
|
|
|
@ -110,7 +110,6 @@ LOCAL_SRC_FILES := \
|
|||
aidl/android/brillo/metrics/IMetricsCollectorService.aidl \
|
||||
metrics_collector_service_impl.cc \
|
||||
metrics_collector_service_client.cc
|
||||
LOCAL_RTTI_FLAG := -fno-rtti
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
# Shared library for metrics.
|
||||
|
@ -122,7 +121,6 @@ LOCAL_CFLAGS := $(metrics_CFLAGS)
|
|||
LOCAL_CLANG := true
|
||||
LOCAL_CPP_EXTENSION := $(metrics_cpp_extension)
|
||||
LOCAL_CPPFLAGS := $(metrics_CPPFLAGS)
|
||||
LOCAL_RTTI_FLAG := -frtti
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_SHARED_LIBRARIES := $(libmetrics_shared_libraries)
|
||||
LOCAL_SRC_FILES := $(libmetrics_sources)
|
||||
|
@ -166,7 +164,6 @@ LOCAL_CPP_EXTENSION := $(metrics_cpp_extension)
|
|||
LOCAL_CPPFLAGS := $(metrics_CPPFLAGS)
|
||||
LOCAL_INIT_RC := metrics_collector.rc
|
||||
LOCAL_REQUIRED_MODULES := metrics.json
|
||||
LOCAL_RTTI_FLAG := -frtti
|
||||
LOCAL_SHARED_LIBRARIES := $(metrics_collector_shared_libraries)
|
||||
LOCAL_SRC_FILES := $(metrics_collector_common) \
|
||||
metrics_collector_main.cc
|
||||
|
@ -213,7 +210,6 @@ LOCAL_CFLAGS := $(metrics_CFLAGS)
|
|||
LOCAL_CLANG := true
|
||||
LOCAL_CPP_EXTENSION := $(metrics_cpp_extension)
|
||||
LOCAL_CPPFLAGS := $(metrics_CPPFLAGS) -Wno-sign-compare
|
||||
LOCAL_RTTI_FLAG := -frtti
|
||||
LOCAL_SHARED_LIBRARIES := $(metrics_collector_shared_libraries)
|
||||
LOCAL_SRC_FILES := $(metrics_collector_tests_sources) \
|
||||
$(metrics_collector_common)
|
||||
|
|
Loading…
Reference in New Issue