• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_defaults {
21    name: "tombstone_transmit_defaults",
22    static_libs: [
23        "libgflags",
24        "libbase",
25        "libcutils",
26    ],
27    shared_libs: [
28        "liblog",
29    ],
30    stl: "libc++_static",
31}
32
33cc_binary {
34    name: "tombstone_transmit",
35    srcs: [
36        "tombstone_transmit.cpp",
37    ],
38    static_libs: [
39        "libcuttlefish_fs_product",
40    ],
41    defaults: [
42        "tombstone_transmit_defaults",
43        "cuttlefish_guest_product_only"
44    ],
45}
46
47// Same as tombstone_transmit, but place the binary in /system partition
48// We are using the binary for microdroid, which does not have /product partition
49cc_binary {
50    name: "tombstone_transmit.microdroid",
51    srcs: [
52        "tombstone_transmit.cpp",
53    ],
54    static_libs: [
55        "libcuttlefish_fs",
56    ],
57    defaults: [
58        "tombstone_transmit_defaults",
59        "cuttlefish_base",
60    ],
61}
62
63cc_binary {
64    name: "tombstone_producer",
65    srcs: [
66        "tombstone_producer.cpp",
67    ],
68    defaults: ["cuttlefish_guest_product_only"],
69}
70