-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* capicxx-core-runtime 3.2.3-r7 - Fixed warnings with gcc11 for Wextra-extra-semi flag - Fix capi-core-runtime Runtime::loadLibrary - vSomeIP Security: Update vsomeip_sec - Fixed commonapi-core-runtime windows build - Fix race condition. - Remove mutex and add exception handling to RuntimeDeinit. - Fix double initialization of loggerImpl. - Linux: avoid static initialization of std::mutex - Replace deprecated std::ptr_fun - Properly initialize Runtime::defaultCallTimeout_ - Removed GENIVI copyright line - Fix bug in assignment operator of Variant in case of self-assignment - Ensure to stop struct deserialization on error - Implement "no_timeout" in method responses - Use COMMONAPI_EXPORT_CLASS_EXPLICIT to export classes - Removed libdlt dependency from android - Add support to logs in Android - Update android build files - Support retrieval of environment (hostname) from client identifier. - Use lock objects and remove self assignment. * Fix Copyright field and github link in README file --------- Co-authored-by: Diana Pinto <[email protected]>
- Loading branch information
Showing
24 changed files
with
486 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,54 @@ | ||
capi_srcs = [ | ||
"src/CommonAPI/**/*.cpp" | ||
] | ||
|
||
cc_defaults { | ||
name: "capi_defaults", | ||
name: "libcommonapi_defaults", | ||
|
||
rtti: true, | ||
|
||
cppflags: [ | ||
"-std=c++11", | ||
"-std=c++11", | ||
"-Wall", | ||
"-Wextra", | ||
"-Wformat", | ||
"-Wformat-security", | ||
"-Wconversion", | ||
"-Wno-attributes", | ||
"-Wno-attributes", | ||
"-fexceptions", | ||
"-fstrict-aliasing", | ||
"-fstack-protector", | ||
"-fasynchronous-unwind-tables", | ||
"-fno-omit-frame-pointer", | ||
"-Werror", | ||
"-fvisibility=hidden", | ||
"-DCOMMONAPI_INTERNAL_COMPILATION" | ||
] | ||
"-fvisibility=hidden", | ||
"-Wno-ignored-attributes", | ||
"-Wno-unused-private-field", | ||
"-D_CRT_SECURE_NO_WARNINGS", | ||
"-DCOMMONAPI_INTERNAL_COMPILATION", | ||
"-DCOMMONAPI_LOGLEVEL=COMMONAPI_LOGLEVEL_VERBOSE", | ||
"-DUSE_DLT", | ||
], | ||
|
||
proprietary: true, | ||
} | ||
|
||
cc_library_shared { | ||
name: "libCommonAPI", | ||
vendor: true, | ||
srcs: capi_srcs, | ||
defaults: [ | ||
"capi_defaults" | ||
], | ||
name: "libcommonapi", | ||
defaults: ["libcommonapi_defaults"], | ||
local_include_dirs: [ | ||
"include" | ||
"include", | ||
], | ||
|
||
shared_libs: [ | ||
"liblog", | ||
"libutils", | ||
"libboost_log", | ||
"libboost_system", | ||
"libboost_thread", | ||
], | ||
|
||
export_include_dirs: [ | ||
"include", | ||
], | ||
srcs: [ | ||
"src/CommonAPI/**/*.cpp" | ||
], | ||
export_include_dirs: ["include"], | ||
rtti: true | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Cannot convert to Android.bp as resource copying has not | ||
# yet implemented for soong as of 12/16/2016 | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := libcommonapi_dlt | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_CLANG := true | ||
LOCAL_PROPRIETARY_MODULE := true | ||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include \ | ||
|
||
LOCAL_SRC_FILES += \ | ||
src/CommonAPI/Address.cpp \ | ||
src/CommonAPI/ContainerUtils.cpp \ | ||
src/CommonAPI/IniFileReader.cpp \ | ||
src/CommonAPI/Logger.cpp \ | ||
src/CommonAPI/LoggerImpl.cpp \ | ||
src/CommonAPI/MainLoopContext.cpp \ | ||
src/CommonAPI/Proxy.cpp \ | ||
src/CommonAPI/ProxyManager.cpp \ | ||
src/CommonAPI/Runtime.cpp \ | ||
src/CommonAPI/Utils.cpp \ | ||
|
||
LOCAL_C_INCLUDES := \ | ||
$(LOCAL_PATH)/include | ||
|
||
LOCAL_SHARED_LIBRARIES := \ | ||
libboost_log \ | ||
libboost_system \ | ||
libboost_thread \ | ||
|
||
LOCAL_CFLAGS := \ | ||
-frtti -fexceptions \ | ||
-Wno-ignored-attributes \ | ||
-D_CRT_SECURE_NO_WARNINGS \ | ||
-DCOMMONAPI_INTERNAL_COMPILATION \ | ||
-DCOMMONAPI_LOGLEVEL=COMMONAPI_LOGLEVEL_VERBOSE \ | ||
|
||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
# Config file for the CommonAPI package | ||
# It defines the following variables | ||
# COMMONAPI_INCLUDE_DIRS - include directories for CommonAPI | ||
# Exports the follwing targets: | ||
# CommonAPI - CMake target for CommonAPI SomeIP | ||
# Additionally, the following variables are defined: | ||
# COMMONAPI_VERSION - The CommonAPI version number | ||
|
||
# Compute paths | ||
get_filename_component(COMMONAPI_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||
set(COMMONAPI_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@") | ||
|
||
# Our library dependencies (contains definitions for IMPORTED targets) | ||
include("${COMMONAPI_CMAKE_DIR}/CommonAPITargets.cmake") | ||
|
||
# Legacy variable, kept for compatibility | ||
get_target_property(COMMONAPI_INCLUDE_DIRS CommonAPI INTERFACE_INCLUDE_DIRECTORIES) | ||
|
||
set(COMMONAPI_VERSION @PACKAGE_VERSION@) | ||
set(COMMONAPI_VERSION_STRING "@PACKAGE_VERSION@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.