hack/update-vendor.sh

This commit is contained in:
Jordan Liggitt
2019-11-05 14:11:10 -05:00
parent 9a5b7c24ad
commit 297570e06a
932 changed files with 77190 additions and 28219 deletions

View File

@@ -5,64 +5,63 @@ import buildpb "github.com/bazelbuild/buildtools/build_proto"
var TypeOf = map[string]buildpb.Attribute_Discriminator{
"aar": buildpb.Attribute_LABEL,
"absolute_path_profile": buildpb.Attribute_STRING,
"actual": buildpb.Attribute_LABEL,
"aliases": buildpb.Attribute_STRING_LIST,
"all_files": buildpb.Attribute_LABEL,
"alwayslink": buildpb.Attribute_BOOLEAN,
"app_asset_catalogs": buildpb.Attribute_LABEL_LIST,
"app_bundle_id": buildpb.Attribute_STRING,
"app_deps": buildpb.Attribute_LABEL_LIST,
"app_entitlements": buildpb.Attribute_LABEL,
"app_icon": buildpb.Attribute_STRING,
"app_infoplists": buildpb.Attribute_LABEL_LIST,
"app_name": buildpb.Attribute_STRING,
"app_provisioning_profile": buildpb.Attribute_LABEL,
"app_resources": buildpb.Attribute_LABEL_LIST,
"app_storyboards": buildpb.Attribute_LABEL_LIST,
"app_strings": buildpb.Attribute_LABEL_LIST,
"app_structured_resources": buildpb.Attribute_LABEL_LIST,
"api_level": buildpb.Attribute_INTEGER,
"ar_files": buildpb.Attribute_LABEL,
"archives": buildpb.Attribute_LABEL_LIST,
"args": buildpb.Attribute_STRING_LIST,
"artifact": buildpb.Attribute_STRING,
"as_files": buildpb.Attribute_LABEL,
"asset_catalogs": buildpb.Attribute_LABEL_LIST,
"assets": buildpb.Attribute_LABEL_LIST,
"assets_dir": buildpb.Attribute_STRING,
"avoid_deps": buildpb.Attribute_LABEL_LIST,
"binary": buildpb.Attribute_LABEL,
"binary_type": buildpb.Attribute_STRING,
"blacklisted_protos": buildpb.Attribute_LABEL_LIST,
"bootclasspath": buildpb.Attribute_LABEL_LIST,
"build_file": buildpb.Attribute_STRING,
"build_file_content": buildpb.Attribute_STRING,
"bundle_id": buildpb.Attribute_STRING,
"build_tools_version": buildpb.Attribute_STRING,
"bundle_imports": buildpb.Attribute_LABEL_LIST,
"bundle_loader": buildpb.Attribute_LABEL,
"bundles": buildpb.Attribute_LABEL_LIST,
"cache": buildpb.Attribute_INTEGER,
"classpath_resources": buildpb.Attribute_LABEL_LIST,
"cmd": buildpb.Attribute_STRING,
"command_line": buildpb.Attribute_STRING,
"commit": buildpb.Attribute_STRING,
"compatible_with": buildpb.Attribute_LABEL_LIST,
"compiler": buildpb.Attribute_STRING,
"compiler_files": buildpb.Attribute_LABEL,
"constraint_setting": buildpb.Attribute_LABEL,
"constraint_values": buildpb.Attribute_LABEL_LIST,
"constraints": buildpb.Attribute_STRING_LIST,
"copts": buildpb.Attribute_STRING_LIST,
"coverage_files": buildpb.Attribute_LABEL,
"cpu": buildpb.Attribute_STRING,
"create_executable": buildpb.Attribute_BOOLEAN,
"crunch_png": buildpb.Attribute_BOOLEAN,
"custom_package": buildpb.Attribute_STRING,
"data": buildpb.Attribute_LABEL_LIST,
"datamodels": buildpb.Attribute_LABEL_LIST,
"debug_key": buildpb.Attribute_LABEL,
"default": buildpb.Attribute_LABEL,
"default_copts": buildpb.Attribute_STRING_LIST,
"default_deprecation": buildpb.Attribute_STRING,
"default_hdrs_check": buildpb.Attribute_STRING,
"default_ios_sdk_version": buildpb.Attribute_STRING,
"default_macosx_sdk_version": buildpb.Attribute_STRING,
"default_macos_sdk_version": buildpb.Attribute_STRING,
"default_properties": buildpb.Attribute_LABEL,
"default_python_version": buildpb.Attribute_STRING,
"default_testonly": buildpb.Attribute_BOOLEAN,
"default_tvos_sdk_version": buildpb.Attribute_STRING,
"default_visibility": buildpb.Attribute_STRING_LIST,
"default_watchos_sdk_version": buildpb.Attribute_STRING,
"define_values": buildpb.Attribute_STRING_DICT,
"defines": buildpb.Attribute_STRING_LIST,
"densities": buildpb.Attribute_STRING_LIST,
"deploy_manifest_lines": buildpb.Attribute_STRING_LIST,
@@ -74,52 +73,51 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"dwp_files": buildpb.Attribute_LABEL,
"dylibs": buildpb.Attribute_LABEL_LIST,
"dynamic_runtime_libs": buildpb.Attribute_LABEL_LIST,
"enable_data_binding": buildpb.Attribute_BOOLEAN,
"enable_modules": buildpb.Attribute_BOOLEAN,
"encoding": buildpb.Attribute_STRING,
"entitlements": buildpb.Attribute_LABEL,
"entry_classes": buildpb.Attribute_STRING_LIST,
"exec_compatible_with": buildpb.Attribute_LABEL_LIST,
"executable": buildpb.Attribute_BOOLEAN,
"exported_plugins": buildpb.Attribute_LABEL_LIST,
"exports": buildpb.Attribute_LABEL_LIST,
"exports_manifest": buildpb.Attribute_BOOLEAN,
"exports_manifest": buildpb.Attribute_TRISTATE,
"expression": buildpb.Attribute_STRING,
"ext_bundle_id": buildpb.Attribute_STRING,
"ext_entitlements": buildpb.Attribute_LABEL,
"ext_families": buildpb.Attribute_STRING_LIST,
"ext_infoplists": buildpb.Attribute_LABEL_LIST,
"ext_provisioning_profile": buildpb.Attribute_LABEL,
"ext_resources": buildpb.Attribute_LABEL_LIST,
"ext_strings": buildpb.Attribute_LABEL_LIST,
"ext_structured_resources": buildpb.Attribute_LABEL_LIST,
"extclasspath": buildpb.Attribute_LABEL_LIST,
"extensions": buildpb.Attribute_LABEL_LIST,
"extension_safe": buildpb.Attribute_BOOLEAN,
"extra_actions": buildpb.Attribute_LABEL_LIST,
"extra_srcs": buildpb.Attribute_LABEL_LIST,
"families": buildpb.Attribute_STRING_LIST,
"features": buildpb.Attribute_STRING_LIST,
"files": buildpb.Attribute_LABEL_LIST,
"flaky": buildpb.Attribute_BOOLEAN,
"forcibly_disable_header_compilation": buildpb.Attribute_BOOLEAN,
"framework_imports": buildpb.Attribute_LABEL_LIST,
"genclass": buildpb.Attribute_LABEL_LIST,
"generates_api": buildpb.Attribute_BOOLEAN,
"hdrs": buildpb.Attribute_LABEL_LIST,
"header_compiler": buildpb.Attribute_LABEL_LIST,
"heuristic_label_expansion": buildpb.Attribute_BOOLEAN,
"horizontal_resolution": buildpb.Attribute_INTEGER,
"idl_import_root": buildpb.Attribute_STRING,
"idl_parcelables": buildpb.Attribute_LABEL_LIST,
"idl_preprocessed": buildpb.Attribute_LABEL_LIST,
"idl_srcs": buildpb.Attribute_LABEL_LIST,
"ijar": buildpb.Attribute_LABEL_LIST,
"imports": buildpb.Attribute_STRING_LIST,
"include_prefix": buildpb.Attribute_STRING,
"includes": buildpb.Attribute_STRING_LIST,
"incremental_dexing": buildpb.Attribute_TRISTATE,
"infoplist": buildpb.Attribute_LABEL,
"infoplists": buildpb.Attribute_LABEL_LIST,
"init_submodules": buildpb.Attribute_BOOLEAN,
"ios_device_arg": buildpb.Attribute_STRING_LIST,
"ios_test_target_device": buildpb.Attribute_LABEL,
"ios_version": buildpb.Attribute_STRING,
"ipa_post_processor": buildpb.Attribute_LABEL,
"instruments": buildpb.Attribute_LABEL,
"interface_library": buildpb.Attribute_LABEL,
"interpreter": buildpb.Attribute_LABEL,
"interpreter_path": buildpb.Attribute_STRING,
"is_dynamic": buildpb.Attribute_BOOLEAN,
"jars": buildpb.Attribute_LABEL_LIST,
"java_home": buildpb.Attribute_STRING,
"javabuilder": buildpb.Attribute_LABEL_LIST,
"javac": buildpb.Attribute_LABEL_LIST,
"javac_supports_workers": buildpb.Attribute_BOOLEAN,
@@ -127,9 +125,9 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"jre_deps": buildpb.Attribute_LABEL_LIST,
"jvm_flags": buildpb.Attribute_STRING_LIST,
"jvm_opts": buildpb.Attribute_STRING_LIST,
"launch_image": buildpb.Attribute_STRING,
"launch_storyboard": buildpb.Attribute_LABEL,
"launcher": buildpb.Attribute_LABEL,
"legacy_create_init": buildpb.Attribute_BOOLEAN,
"libc": buildpb.Attribute_STRING,
"licenses": buildpb.Attribute_LICENSE,
"linker_files": buildpb.Attribute_LABEL,
"linkopts": buildpb.Attribute_STRING_LIST,
@@ -144,10 +142,9 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"main_dex_proguard_specs": buildpb.Attribute_LABEL_LIST,
"malloc": buildpb.Attribute_LABEL,
"manifest": buildpb.Attribute_LABEL,
"manifest_merger": buildpb.Attribute_STRING,
"manifest_values": buildpb.Attribute_STRING_DICT,
"message": buildpb.Attribute_STRING,
"misc": buildpb.Attribute_STRING_LIST,
"minimum_os_version": buildpb.Attribute_STRING,
"mnemonics": buildpb.Attribute_STRING_LIST,
"module_map": buildpb.Attribute_LABEL,
"multidex": buildpb.Attribute_STRING,
@@ -158,7 +155,8 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"non_arc_srcs": buildpb.Attribute_LABEL_LIST,
"non_propagated_deps": buildpb.Attribute_LABEL_LIST,
"objcopy_files": buildpb.Attribute_LABEL,
"options_file": buildpb.Attribute_LABEL,
"oneversion": buildpb.Attribute_LABEL,
"oneversion_whitelist": buildpb.Attribute_LABEL,
"opts": buildpb.Attribute_STRING_LIST,
"out": buildpb.Attribute_STRING,
"out_templates": buildpb.Attribute_STRING_LIST,
@@ -166,32 +164,44 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"output_licenses": buildpb.Attribute_LICENSE,
"output_to_bindir": buildpb.Attribute_BOOLEAN,
"outs": buildpb.Attribute_STRING_LIST,
"package_configuration": buildpb.Attribute_LABEL_LIST,
"packages": buildpb.Attribute_LABEL_LIST,
"path": buildpb.Attribute_STRING,
"pch": buildpb.Attribute_LABEL,
"per_proto_includes": buildpb.Attribute_BOOLEAN,
"platform_apks": buildpb.Attribute_LABEL_LIST,
"platform_type": buildpb.Attribute_STRING,
"plugin": buildpb.Attribute_LABEL,
"plugins": buildpb.Attribute_LABEL_LIST,
"portable_proto_filters": buildpb.Attribute_LABEL_LIST,
"prefix": buildpb.Attribute_STRING,
"pregenerate_oat_files_for_tests": buildpb.Attribute_BOOLEAN,
"processor_class": buildpb.Attribute_STRING,
"profile": buildpb.Attribute_LABEL,
"proguard_apply_dictionary": buildpb.Attribute_LABEL,
"proguard_apply_mapping": buildpb.Attribute_LABEL,
"proguard_generate_mapping": buildpb.Attribute_BOOLEAN,
"proguard_specs": buildpb.Attribute_LABEL_LIST,
"provisioning_profile": buildpb.Attribute_LABEL,
"proto": buildpb.Attribute_STRING,
"proto_source_root": buildpb.Attribute_STRING,
"pytype_deps": buildpb.Attribute_LABEL_LIST,
"ram": buildpb.Attribute_INTEGER,
"reexport_deps": buildpb.Attribute_LABEL_LIST,
"remote": buildpb.Attribute_STRING,
"remote_execution_properties": buildpb.Attribute_STRING,
"repository": buildpb.Attribute_STRING,
"require_defined_version": buildpb.Attribute_BOOLEAN,
"requires_action_output": buildpb.Attribute_BOOLEAN,
"resource_configuration_filters": buildpb.Attribute_STRING_LIST,
"resource_files": buildpb.Attribute_LABEL_LIST,
"resource_jars": buildpb.Attribute_LABEL_LIST,
"resource_strip_prefix": buildpb.Attribute_STRING,
"resourcejar": buildpb.Attribute_LABEL_LIST,
"resources": buildpb.Attribute_LABEL_LIST,
"restricted_to": buildpb.Attribute_LABEL_LIST,
"runtime": buildpb.Attribute_LABEL,
"runtime_deps": buildpb.Attribute_LABEL_LIST,
"runtimes": buildpb.Attribute_LABEL_DICT_UNARY,
"scope": buildpb.Attribute_LABEL_LIST,
"screen_density": buildpb.Attribute_INTEGER,
"sdk_dylibs": buildpb.Attribute_STRING_LIST,
"sdk_frameworks": buildpb.Attribute_STRING_LIST,
"sdk_includes": buildpb.Attribute_STRING_LIST,
@@ -200,6 +210,8 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"sha1": buildpb.Attribute_STRING,
"sha256": buildpb.Attribute_STRING,
"shard_count": buildpb.Attribute_INTEGER,
"shared_library": buildpb.Attribute_LABEL,
"shrink_resources": buildpb.Attribute_TRISTATE,
"singlejar": buildpb.Attribute_LABEL_LIST,
"size": buildpb.Attribute_STRING,
"source_version": buildpb.Attribute_STRING,
@@ -207,39 +219,52 @@ var TypeOf = map[string]buildpb.Attribute_Discriminator{
"srcs": buildpb.Attribute_LABEL_LIST,
"srcs_version": buildpb.Attribute_STRING,
"stamp": buildpb.Attribute_TRISTATE,
"static_library": buildpb.Attribute_LABEL,
"static_runtime_libs": buildpb.Attribute_LABEL_LIST,
"storyboards": buildpb.Attribute_LABEL_LIST,
"strict": buildpb.Attribute_BOOLEAN,
"strings": buildpb.Attribute_LABEL_LIST,
"strip": buildpb.Attribute_BOOLEAN,
"strip_files": buildpb.Attribute_LABEL,
"strip_include_prefix": buildpb.Attribute_STRING,
"strip_prefix": buildpb.Attribute_STRING,
"structured_resources": buildpb.Attribute_LABEL_LIST,
"support_apks": buildpb.Attribute_LABEL_LIST,
"supports_header_parsing": buildpb.Attribute_BOOLEAN,
"supports_param_files": buildpb.Attribute_BOOLEAN,
"system_image": buildpb.Attribute_LABEL,
"system_provided": buildpb.Attribute_BOOLEAN,
"tag": buildpb.Attribute_STRING,
"tags": buildpb.Attribute_STRING_LIST,
"target_compatible_with": buildpb.Attribute_LABEL_LIST,
"target_device": buildpb.Attribute_LABEL,
"target_version": buildpb.Attribute_STRING,
"test_app": buildpb.Attribute_LABEL,
"test_class": buildpb.Attribute_STRING,
"testonly": buildpb.Attribute_BOOLEAN,
"tests": buildpb.Attribute_LABEL_LIST,
"textual_hdrs": buildpb.Attribute_LABEL_LIST,
"timeout": buildpb.Attribute_STRING,
"timezone_data": buildpb.Attribute_LABEL,
"toolchain": buildpb.Attribute_STRING,
"toolchain_type": buildpb.Attribute_STRING,
"toolchains": buildpb.Attribute_LABEL_LIST,
"tools": buildpb.Attribute_LABEL_LIST,
"type": buildpb.Attribute_STRING,
"url": buildpb.Attribute_STRING,
"use_objc_header_names": buildpb.Attribute_BOOLEAN,
"urls": buildpb.Attribute_STRING_LIST,
"use_testrunner": buildpb.Attribute_BOOLEAN,
"values": buildpb.Attribute_STRING_DICT,
"version": buildpb.Attribute_STRING,
"versions": buildpb.Attribute_LABEL_LIST,
"vertical_resolution": buildpb.Attribute_INTEGER,
"visibility": buildpb.Attribute_STRING_LIST,
"vm_heap": buildpb.Attribute_INTEGER,
"weak_sdk_frameworks": buildpb.Attribute_STRING_LIST,
"xcode": buildpb.Attribute_LABEL,
"xctest": buildpb.Attribute_BOOLEAN,
"xctest_app": buildpb.Attribute_LABEL,
"win_def_file": buildpb.Attribute_LABEL,
"workspace_file": buildpb.Attribute_STRING,
"workspace_file_content": buildpb.Attribute_STRING,
"xcenv_based_path": buildpb.Attribute_STRING,
"xibs": buildpb.Attribute_LABEL_LIST,
"xlint": buildpb.Attribute_STRING_LIST,
}