blob: 8158c28a00e3d98efe3567ac5928fb172b8c16dd [file] [log] [blame]
Dario Freniadbee5d2018-12-27 12:44:01 +00001/*
2 * Copyright (C) 2018 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
17syntax = "proto3";
18
19package apex.proto;
20
Abhijeet Kaura9716132019-01-04 09:02:31 +000021message ApexManifest {
Abhijeet Kaurc4b21832019-01-02 16:50:21 +000022
23 // Package Name
Dario Freniadbee5d2018-12-27 12:44:01 +000024 string name = 1;
Abhijeet Kaurc4b21832019-01-02 16:50:21 +000025
26 // Version Number
Dario Freniadbee5d2018-12-27 12:44:01 +000027 int64 version = 2;
Abhijeet Kaurc4b21832019-01-02 16:50:21 +000028
29 // Pre Install Hook
Abhijeet Kaure4db3d62018-12-31 15:34:37 +000030 string preInstallHook = 3;
Abhijeet Kaurc4b21832019-01-02 16:50:21 +000031
32 // Post Install Hook
33 string postInstallHook = 4;
Gavin Corkery43bd4b72019-04-30 10:40:12 +010034
35 // Version Name
36 string versionName = 5;
Dario Freniadbee5d2018-12-27 12:44:01 +000037}