1// 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 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21filegroup { 22 name: "flickerlib-helpers-src", 23 srcs: ["src/android/tools/**/helpers/*.kt"], 24} 25 26java_library { 27 name: "flickerlib-helpers", 28 platform_apis: true, 29 optimize: { 30 enabled: false 31 }, 32 srcs: [ 33 ":flickerlib-helpers-src", 34 ], 35 static_libs: [ 36 "flickerlib-parsers", 37 "flickerlib-trace_processor_shell", 38 "androidx.test.uiautomator_uiautomator", 39 ], 40} 41 42java_library { 43 name: "flickerlib-parsers", 44 platform_apis: true, 45 kotlincflags: [ 46 "-Xmulti-platform", 47 "-opt-in=kotlin.ExperimentalMultiplatform", 48 ], 49 optimize: { 50 enabled: false 51 }, 52 srcs: [ 53 "src/android/tools/**/*.kt", 54 ], 55 exclude_srcs: [ 56 ":flickerlib-helpers-src", 57 ], 58 static_libs: [ 59 "androidx.benchmark_benchmark-macro", 60 "androidx.core_core-ktx", 61 "perfetto_config-lite", 62 "platformprotosnano", 63 "//frameworks/libs/systemui:view_capture_proto", 64 "WindowManager-Shell-proto", 65 ], 66} 67