Skip to content

Commit

Permalink
Merge pull request #416 from COVESA/update_3.3.0
Browse files Browse the repository at this point in the history
vsomeip 3.3.0
  • Loading branch information
DiogoPedrozza authored Mar 13, 2023
2 parents fc73f40 + 826ebb8 commit 1b42780
Show file tree
Hide file tree
Showing 904 changed files with 37,151 additions and 70,272 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: [ubuntu-18.04]
runs-on: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
170 changes: 64 additions & 106 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
libvsomeip_srcs = [
"implementation/endpoints/**/*.cpp",
"implementation/logging/**/*.cpp",
"implementation/logger/**/*.cpp",
"implementation/tracing/**/*.cpp",
"implementation/message/**/*.cpp",
"implementation/routing/**/*.cpp",
"implementation/runtime/**/*.cpp",
"implementation/utility/**/*.cpp",
"implementation/plugin/**/*.cpp",
"implementation/protocol/**/*.cpp",
"implementation/security/**/*.cpp",
"implementation/logger/**/*.cpp",
]

libvsomeip_compat_srcs = [
"implementation/compat/message/src/*.cpp",
"implementation/compat/runtime/src/*.cpp",
]

libvsomeip_cfg_srcs = [
Expand All @@ -26,19 +31,8 @@ libvsomeip_sd_srcs = [
cc_defaults {
name: "vsomeip_defaults",

header_libs: [
"libboost_headers",
],

local_include_dirs: [
"interface",
"implementation/helper/1.70",
],

rtti: true,

cppflags: [
"-std=c++11",
"-std=c++14",
"-fexceptions",
"-Wno-non-virtual-dtor",
"-Wno-unused-const-variable",
Expand All @@ -51,7 +45,25 @@ cc_defaults {
"-Wno-format",
"-Wno-header-guard",
"-Wno-overloaded-virtual",
"-Wno-implicit-fallthrough"
"-Wno-implicit-fallthrough",
"-Wno-error",
"-Wno-shorten-64-to-32",
"-D_GTHREAD_USE_MUTEX_INIT_FUNC",
"-D_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC",
]
}

cc_defaults {
name: "vsomeip_lib_defaults",

cflags: [
"-DVSOMEIP_BOOST_VERSION=107100",
"-DVSOMEIP_INTERNAL_SUPPRESS_DEPRECATED",
],

local_include_dirs: [
"interface",
"implementation/helper"
]
}

Expand All @@ -62,53 +74,50 @@ cc_library_shared {
srcs: libvsomeip_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

cflags: [
"-DWITHOUT_SYSTEMD"
"-DWITHOUT_SYSTEMD",
"-DVSOMEIP_COMPAT_VERSION=\"3.3.0\"",
"-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\"",
"-DUSE_DLT",
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
ldflags: [
"-Wl,-wrap,socket",
"-Wl,-wrap,accept"
],

rtti: true,

export_include_dirs: [
"interface"
"interface"
],

static_libs: [
shared_libs: [
"libboost_system",
"libboost_thread",
"libboost_filesystem",
],

shared_libs: [
"liblog",
"libutils"
]
}

cc_library_shared {
name: "libvsomeip3-cfg",
name: "libvsomeip_cfg",
vendor: true,

srcs: libvsomeip_cfg_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"libboost_system",
Expand All @@ -117,112 +126,61 @@ cc_library_shared {
}

cc_library_shared {
name: "libvsomeip3-e2e",
name: "libvsomeip_e2e",
vendor: true,

srcs: libvsomeip_e2e_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"liblog"
"libvsomeip3"
]
}

cc_library_shared {
name: "libvsomeip3-sd",
name: "libvsomeip_sd",
vendor: true,

srcs: libvsomeip_sd_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"liblog",
"libboost_thread"
"libboost_system"
]
}

cc_defaults {
name: "vsomeip_example_defaults",
cc_library_shared {
name: "libvsomeip",
vendor: true,
owner: "ts",

shared_libs: [
"libvsomeip3"
],
}

cc_binary {
name: "vsomeip-helloworld-client",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/hello_world/hello_world_client_main.cpp",
],
}

cc_binary {
name: "vsomeip-helloworld-service",
defaults: ["vsomeip_example_defaults"],
srcs: libvsomeip_compat_srcs,

srcs: [
"examples/hello_world/hello_world_service_main.cpp",
],
}

cc_binary {
name: "vsomeip-notify-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/notify-sample.cpp",
],
}

cc_binary {
name: "vsomeip-request-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/request-sample.cpp",
defaults: [
"vsomeip_defaults",
"vsomeip_lib_defaults"
],
}

cc_binary {
name: "vsomeip-response-sample",
defaults: ["vsomeip_example_defaults"],
rtti: true,

srcs: [
"examples/response-sample.cpp",
export_include_dirs: [
"interface"
],
}

cc_binary {
name: "vsomeip-subscribe-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/subscribe-sample.cpp",
],
shared_libs: [
"libvsomeip3",
"libboost_system"
]
}
Loading

0 comments on commit 1b42780

Please sign in to comment.