Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b9b4507 authored by Carlos Chinchilla's avatar Carlos Chinchilla
Browse files

Add a location type to describe where to search for a file

The location field by default means the file is in local disk or one of the zip files.
This is the default location type file. Add a second type to search for
the file in the AB artifacts as some projects may skip the zip files.

Change-Id: I2b91fabb3e7a17ee879765cb83394180fefb26d9
parent 58e76b58
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -37,6 +37,21 @@ message Mapping {

  // type is the type of the mapping, either ELF or R8.
  optional Type type = 3;

  // LocationType is the place where to look for the file with the given
  // identifier.
  Enum LocationType {
    // ZIP denotes the file with the given identifier is in the distribuited
    // symbols.zip or proguard_dict.zip files, or the local disc.
    ZIP = 0;
    // AB denotes the file with the given identifier is in the AB artifacts but
    // not in a symbols.zip or proguard_dict.zip.
    AB = 1;
  }

  // location_type is the Location Type that dictates where to search for the
  // file with the given identifier. Defaults to ZIP if not present.
  optional LocationType location_type = 4;
}

message Mappings {