blob: abf602d625c6f604a2b860d1c61c21aaba8b532d [file] [log] [blame]
load("//tools/adt/idea/studio:studio.bzl", "searchable_options")
load(":content.bzl", "SEARCHABLE_OPTIONS")
searchable_options(
name = "searchable-options",
files = SEARCHABLE_OPTIONS,
strip_prefix = "tools/adt/idea/searchable-options/",
visibility = ["//visibility:public"],
)
exports_files([
"update_searchable_options.py",
"searchable_options_test.py",
])
py_test(
name = "searchable_options_test",
srcs = [
"searchable_options_test.py",
"update_searchable_options.py",
],
args = [
"--ide tools/adt/idea/studio/android-studio",
],
data = [
"//tools/adt/idea/studio:android-studio.linux.zip",
"//tools/adt/idea/studio:android-studio.mac.zip",
"//tools/adt/idea/studio:android-studio.mac_arm.zip",
"//tools/adt/idea/studio:android-studio.plugin.lst",
],
imports = ["."],
tags = [
"block_network",
"noci:studio-win",
],
)
py_binary(
name = "update_searchable_options",
srcs = ["update_searchable_options.py"],
args = [
"--out tools/adt/idea/searchable-options",
"--ide tools/adt/idea/studio/android-studio",
],
data = [
"//tools/adt/idea/studio:android-studio.linux.zip",
"//tools/adt/idea/studio:android-studio.mac.zip",
"//tools/adt/idea/studio:android-studio.mac_arm.zip",
"//tools/adt/idea/studio:android-studio.plugin.lst",
],
tags = [
"block_network",
"noci:studio-win",
],
)