• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2015 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
17version_name = "1.20-asop"
18version_code = "417000328"
19
20android_app {
21    name: "LiveTv",
22
23    srcs: ["src/**/*.java"],
24
25    // TODO(b/122608868) turn proguard back on
26    optimize: {
27        enabled: false,
28    },
29
30    // It is required for com.android.providers.tv.permission.ALL_EPG_DATA
31    privileged: true,
32
33    sdk_version: "system_current",
34    min_sdk_version: "23", // M
35
36    resource_dirs: [
37        "res",
38        "material_res",
39
40    ],
41
42    libs: ["tv-guava-android-jar"],
43
44    static_libs: [
45        "android-support-annotations",
46        "android-support-compat",
47        "android-support-core-ui",
48        "androidx.tvprovider_tvprovider",
49        "android-support-v4",
50        "android-support-v7-appcompat",
51        "android-support-v7-palette",
52        "android-support-v7-preference",
53        "android-support-v7-recyclerview",
54        "android-support-v14-preference",
55        "android-support-v17-leanback",
56        "android-support-v17-preference-leanback",
57        "jsr330",
58        "live-channels-partner-support",
59        "live-tv-tuner-proto",
60        "live-tv-tuner",
61        "tv-auto-value-jar",
62        "tv-auto-factory-jar",
63        "tv-common",
64        "tv-error-prone-annotations-jar",
65        "tv-lib-dagger",
66        "tv-lib-exoplayer",
67        "tv-lib-exoplayer-v2-core",
68        "tv-lib-dagger-android",
69    ],
70
71    plugins: [
72        "tv-auto-value",
73        "tv-auto-factory",
74        "tv-lib-dagger-android-processor",
75        "tv-lib-dagger-compiler",
76    ],
77
78    javacflags: [
79        "-Xlint:deprecation",
80        "-Xlint:unchecked",
81    ],
82
83    aaptflags: [
84        "--version-name",
85        version_name,
86
87        "--version-code",
88        version_code,
89
90        "--extra-packages",
91        "com.android.tv.tuner",
92
93        "--extra-packages",
94        "com.android.tv.common",
95    ],
96}
97