blob: 6a0c71cdb52839192984dbba78f3326ab819851b [file] [log] [blame]
Janis Danisevskis77d72042021-01-20 15:36:30 -08001// Copyright 2021, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15rust_library {
16 name: "libvpnprofilestore-rust",
17 crate_name: "vpnprofilestore",
18 srcs: [
19 "lib.rs",
20 ],
21 rustlibs: [
22 "android.security.vpnprofilestore-rust",
23 "libanyhow",
24 "libbinder_rs",
25 "liblog_rust",
26 "librusqlite",
27 "libthiserror",
28 ],
29}
30
31rust_test {
32 name: "vpnprofilestore_test",
33 crate_name: "vpnprofilestore",
34 srcs: ["lib.rs"],
35 test_suites: ["general-tests"],
36 auto_gen_config: true,
37 rustlibs: [
38 "android.security.vpnprofilestore-rust",
39 "libanyhow",
40 "libbinder_rs",
41 "libkeystore2_test_utils",
42 "liblog_rust",
43 "librusqlite",
44 "libthiserror",
45 ],
46}