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