• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2023 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 
17 package {
18     default_applicable_licenses: ["Android-Apache-2.0"],
19 }
20 
21 cc_library_headers {
22     name: "libberberis_proxy_loader_headers",
23     defaults: ["berberis_defaults"],
24     host_supported: true,
25     export_include_dirs: ["include"],
26     header_libs: [
27         "libberberis_base_headers",
28         "libberberis_guest_state_headers",
29         "libberberis_runtime_primitives_headers",
30     ],
31     export_header_lib_headers: [
32         "libberberis_base_headers",
33         "libberberis_guest_state_headers",
34         "libberberis_runtime_primitives_headers",
35     ],
36 }
37 
38 cc_library_static {
39     name: "libberberis_proxy_loader",
40     defaults: ["berberis_defaults"],
41     host_supported: true,
42     srcs: [
43         "proxy_loader.cc",
44         "proxy_library_builder.cc",
45     ],
46     header_libs: [
47         "libberberis_base_headers",
48         "libberberis_guest_state_headers",
49         "libberberis_runtime_primitives_headers",
50         "libberberis_proxy_loader_headers",
51     ],
52     export_header_lib_headers: ["libberberis_proxy_loader_headers"],
53 }
54