xref: /aosp_15_r20/external/angle/build/android/unused_resources/BUILD.gn (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker# Copyright 2021 The Chromium Authors
2*8975f5c5SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be
3*8975f5c5SAndroid Build Coastguard Worker# found in the LICENSE file.
4*8975f5c5SAndroid Build Coastguard Worker
5*8975f5c5SAndroid Build Coastguard Workerimport("//build/config/android/rules.gni")
6*8975f5c5SAndroid Build Coastguard Worker
7*8975f5c5SAndroid Build Coastguard Workerjava_binary("unused_resources") {
8*8975f5c5SAndroid Build Coastguard Worker  sources = [ "//build/android/unused_resources/UnusedResources.java" ]
9*8975f5c5SAndroid Build Coastguard Worker  main_class = "build.android.unused_resources.UnusedResources"
10*8975f5c5SAndroid Build Coastguard Worker  deps = [
11*8975f5c5SAndroid Build Coastguard Worker    "//third_party/android_deps:com_android_tools_common_java",
12*8975f5c5SAndroid Build Coastguard Worker    "//third_party/android_deps:com_android_tools_layoutlib_layoutlib_api_java",
13*8975f5c5SAndroid Build Coastguard Worker    "//third_party/android_deps:com_android_tools_sdk_common_java",
14*8975f5c5SAndroid Build Coastguard Worker    "//third_party/android_deps:com_google_guava_guava_java",
15*8975f5c5SAndroid Build Coastguard Worker    "//third_party/kotlin_stdlib:kotlin_stdlib_java",
16*8975f5c5SAndroid Build Coastguard Worker    "//third_party/r8:r8_java",
17*8975f5c5SAndroid Build Coastguard Worker  ]
18*8975f5c5SAndroid Build Coastguard Worker  wrapper_script_name = "helper/unused_resources"
19*8975f5c5SAndroid Build Coastguard Worker}
20