Merge "Add empty keystore2 crate" am: f7ee95d340
Original change: https://android-review.googlesource.com/c/platform/system/security/+/1387136 Change-Id: Iade99f7b798cd80778c5b10483d77752ee8726d8
This commit is contained in:
commit
540936b9cc
3 changed files with 49 additions and 0 deletions
27
keystore2/Android.bp
Normal file
27
keystore2/Android.bp
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright 2020, The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
rust_library {
|
||||
name: "libkeystore2",
|
||||
crate_name: "keystore2",
|
||||
srcs: ["src/lib.rs"],
|
||||
}
|
||||
|
||||
rust_test {
|
||||
name: "keystore2_test",
|
||||
crate_name: "keystore2_test",
|
||||
srcs: ["src/lib.rs"],
|
||||
test_suites: ["general-tests"],
|
||||
auto_gen_config: true,
|
||||
}
|
7
keystore2/TEST_MAPPING
Normal file
7
keystore2/TEST_MAPPING
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "keystore2_test"
|
||||
}
|
||||
]
|
||||
}
|
15
keystore2/src/lib.rs
Normal file
15
keystore2/src/lib.rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2020, The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! This crate implements the Android Keystore 2.0 service.
|
Loading…
Reference in a new issue