xref: /aosp_15_r20/device/sample/apps/SampleEmailPolicy/Android.bp (revision c73d2a9548bdf9b8681aeb4f83c479fa5d880dd4)
1*c73d2a95SAndroid Build Coastguard Worker// Copyright 2021, The Android Open Source Project
2*c73d2a95SAndroid Build Coastguard Worker//
3*c73d2a95SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*c73d2a95SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*c73d2a95SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*c73d2a95SAndroid Build Coastguard Worker//
7*c73d2a95SAndroid Build Coastguard Worker//     http://www.apache.org/licenses/LICENSE-2.0
8*c73d2a95SAndroid Build Coastguard Worker//
9*c73d2a95SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*c73d2a95SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*c73d2a95SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*c73d2a95SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*c73d2a95SAndroid Build Coastguard Worker// limitations under the License.
14*c73d2a95SAndroid Build Coastguard Worker
15*c73d2a95SAndroid Build Coastguard Worker// This is the build for the Email Policy package contained elsewhere in this sample.
16*c73d2a95SAndroid Build Coastguard Worker// When deploying to an actual device, you must change the name property to the name desired for
17*c73d2a95SAndroid Build Coastguard Worker// your local version.
18*c73d2a95SAndroid Build Coastguard Worker
19*c73d2a95SAndroid Build Coastguard Workerpackage {
20*c73d2a95SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
21*c73d2a95SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
22*c73d2a95SAndroid Build Coastguard Worker}
23*c73d2a95SAndroid Build Coastguard Worker
24*c73d2a95SAndroid Build Coastguard Workerandroid_app {
25*c73d2a95SAndroid Build Coastguard Worker    name: "SampleEmailPolicy",
26*c73d2a95SAndroid Build Coastguard Worker
27*c73d2a95SAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
28*c73d2a95SAndroid Build Coastguard Worker
29*c73d2a95SAndroid Build Coastguard Worker    sdk_version: "current",
30*c73d2a95SAndroid Build Coastguard Worker    certificate: "platform",
31*c73d2a95SAndroid Build Coastguard Worker
32*c73d2a95SAndroid Build Coastguard Worker    optimize: {
33*c73d2a95SAndroid Build Coastguard Worker        proguard_flags_files: ["proguard.flags"],
34*c73d2a95SAndroid Build Coastguard Worker    },
35*c73d2a95SAndroid Build Coastguard Worker
36*c73d2a95SAndroid Build Coastguard Worker}
37*c73d2a95SAndroid Build Coastguard Worker
38