summaryrefslogtreecommitdiff
path: root/examples/hello_world/Android.bp
blob: 7622f0c08498eb164e86b1790a46d369dcd185d7 (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
cc_defaults {
    name: "vsomeip_hello_world_defaults",
    vendor: true,

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

    shared_libs: [
        "libvsomeip",
        "libvsomeip_cfg",
        "libvsomeip_e2e",
        "libvsomeip_sd",
    ],
}

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

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

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

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

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