• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2010-2012 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//
16
17cc_binary {
18    name: "bcc",
19    host_supported: true,
20    defaults: ["libbcc-defaults"],
21
22    shared_libs: [
23        "libbcc",
24        "libbcinfo",
25        "libLLVM_android",
26    ],
27
28    target: {
29        android: {
30            shared_libs: [
31                "liblog",
32                "libvndksupport",
33            ],
34        },
35    },
36
37    whole_static_libs: ["libbcc_binary"],
38}
39
40// libbcc_binary is used to compile vendor modules - should not be removed
41cc_library {
42    name: "libbcc_binary",
43    host_supported: true,
44    vendor_available: true,
45    defaults: ["libbcc-defaults"],
46
47    srcs: ["Main.cpp"],
48
49    shared_libs: [
50        "libbcc",
51        "libbcinfo",
52        "libLLVM_android",
53    ],
54
55    header_libs: ["slang_headers"],
56
57    target: {
58        android: {
59            shared_libs: [
60                "liblog",
61                "libvndksupport",
62            ],
63        },
64    },
65}
66