summaryrefslogtreecommitdiff
path: root/examples/hello_world/Android.bp
blob: c7819c402718ed0f152e105ef108c67aae9189db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
cc_defaults {
    name: "vsomeip_hello_world_defaults",
    vendor: true,

    cppflags: [
        "-std=c++11",
        "-Wno-unused-parameter",
    ],

    shared_libs: [
        "libvsomeip3",
        "libvsomeip3-cfg",
        "libvsomeip3-e2e",
        "libvsomeip3-sd",
        "liblog",
    ],
}

cc_binary {
    name: "vsomeip_hello_world_service",
    defaults: ["vsomeip_hello_world_defaults"],

    srcs: [
        "hello_world_service_main.cpp",
    ],
}

cc_binary {
    name: "vsomeip_hello_world_client",
    defaults: ["vsomeip_hello_world_defaults"],

    srcs: [
        "hello_world_client_main.cpp",
    ],
}

prebuilt_etc {
    name: "helloworld-local.json",
    vendor: true,
    sub_dir: "vsomeip",
    src: "helloworld-local.json",
}