| // Copyright (C) 2019 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. |
| |
| apex { |
| name: "com.android.tests.rollback.testapex.RollbackTestApexV1", |
| manifest: "RollbackTestApexV1.json", |
| file_contexts: "apex.test", |
| prebuilts: ["RollbackTestApex.prebuilt.txt"], |
| key: "RollbackTestApex.key", |
| installable: false, |
| } |
| |
| apex { |
| name: "com.android.tests.rollback.testapex.RollbackTestApexV2", |
| manifest: "RollbackTestApexV2.json", |
| file_contexts: "apex.test", |
| prebuilts: ["RollbackTestApex.prebuilt.txt"], |
| key: "RollbackTestApex.key", |
| installable: false, |
| } |
| |
| apex_key { |
| name: "RollbackTestApex.key", |
| public_key: "com.android.tests.rollback.testapex.avbpubkey", |
| private_key: "com.android.tests.rollback.testapex.pem", |
| installable: false, |
| } |
| |
| prebuilt_etc { |
| name: "RollbackTestApex.prebuilt.txt", |
| src: "RollbackTestApex.prebuilt.txt", |
| } |
| |
| filegroup { |
| name: "RollbackTestApexV1_filegroup", |
| srcs: [":com.android.tests.rollback.testapex.RollbackTestApexV1"], |
| export_to_make_var: "ROLLBACK_TEST_APEX_V1", |
| } |
| |
| filegroup { |
| name: "RollbackTestApexV2_filegroup", |
| srcs: [":com.android.tests.rollback.testapex.RollbackTestApexV2"], |
| export_to_make_var: "ROLLBACK_TEST_APEX_V2", |
| } |
| |