blob: fc0d5d9c58570200dddb6a5b4743c0203d13f3b9 [file] [log] [blame]
Søren Gjesse5ecb04a2017-06-13 09:44:32 +02001# Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2# for details. All rights reserved. Use of this source code is governed by a
3# BSD-style license that can be found in the LICENSE file.
4
5import glob
6import os
7import utils
8
9THIRD_PARTY = os.path.join(utils.REPO_ROOT, 'third_party')
10BASE = os.path.join(THIRD_PARTY, 'gmail')
11
12V170604_16_BASE = os.path.join(BASE, 'gmail_android_170604.16')
13V170604_16_PREFIX = os.path.join(V170604_16_BASE, 'Gmail_release_unstripped')
14
Søren Gjesse932881f2017-06-13 10:43:36 +020015# NOTE: We always use android.jar for SDK v25 for now.
Søren Gjesse5ecb04a2017-06-13 09:44:32 +020016ANDROID_JAR = os.path.join(THIRD_PARTY, 'android_jar', 'lib-v25', 'android.jar')
17
18VERSIONS = {
19 '170604.16': {
20 'dex' : {
21 'inputs': [os.path.join(V170604_16_BASE, 'Gmail_release_unsigned.apk')],
22 'pgmap': '%s_proguard.map' % V170604_16_PREFIX,
Søren Gjesse932881f2017-06-13 10:43:36 +020023 'libraries' : [ANDROID_JAR],
Søren Gjesse5ecb04a2017-06-13 09:44:32 +020024 },
25 'deploy' : {
26 'inputs': ['%s_deploy.jar' % V170604_16_PREFIX],
Søren Gjesse932881f2017-06-13 10:43:36 +020027 'pgconf': ['%s_proguard.config' % V170604_16_PREFIX],
Søren Gjesse5ecb04a2017-06-13 09:44:32 +020028 },
29 'proguarded' : {
30 'inputs': ['%s_proguard.jar' % V170604_16_PREFIX],
31 'pgmap': '%s_proguard.map' % V170604_16_PREFIX,
32 }
33 },
34}