Richard Uhler | b002577d | 2019-01-11 09:17:08 +0000 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | |
| 15 | apex { |
| 16 | name: "com.android.tests.rollback.testapex.RollbackTestApexV1", |
| 17 | manifest: "RollbackTestApexV1.json", |
| 18 | file_contexts: "apex.test", |
| 19 | prebuilts: ["RollbackTestApex.prebuilt.txt"], |
| 20 | key: "RollbackTestApex.key", |
| 21 | installable: false, |
| 22 | } |
| 23 | |
| 24 | apex { |
| 25 | name: "com.android.tests.rollback.testapex.RollbackTestApexV2", |
| 26 | manifest: "RollbackTestApexV2.json", |
| 27 | file_contexts: "apex.test", |
| 28 | prebuilts: ["RollbackTestApex.prebuilt.txt"], |
| 29 | key: "RollbackTestApex.key", |
| 30 | installable: false, |
| 31 | } |
| 32 | |
| 33 | apex_key { |
| 34 | name: "RollbackTestApex.key", |
| 35 | public_key: "com.android.tests.rollback.testapex.avbpubkey", |
| 36 | private_key: "com.android.tests.rollback.testapex.pem", |
| 37 | installable: false, |
| 38 | } |
| 39 | |
| 40 | prebuilt_etc { |
| 41 | name: "RollbackTestApex.prebuilt.txt", |
| 42 | src: "RollbackTestApex.prebuilt.txt", |
| 43 | } |
| 44 | |
| 45 | filegroup { |
| 46 | name: "RollbackTestApexV1_filegroup", |
| 47 | srcs: [":com.android.tests.rollback.testapex.RollbackTestApexV1"], |
| 48 | export_to_make_var: "ROLLBACK_TEST_APEX_V1", |
| 49 | } |
| 50 | |
| 51 | filegroup { |
| 52 | name: "RollbackTestApexV2_filegroup", |
| 53 | srcs: [":com.android.tests.rollback.testapex.RollbackTestApexV2"], |
| 54 | export_to_make_var: "ROLLBACK_TEST_APEX_V2", |
| 55 | } |
| 56 | |