Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build_extensions/maven/add_or_update_file_in_zip.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def add_or_update_file_in_zip(ctx, name, src, out, update_src, update_path):
ctx.actions.run_shell(
inputs = [src, update_src],
outputs = [out],
mnemonic = "AndroidxTestZipUpdate",
command = ";".join([
"tmp={}_tmp".format(name),
"rm -rf $$tmp",
Expand Down
1 change: 1 addition & 0 deletions build_extensions/maven/axt_android_aar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def _android_aar_impl(ctx):
ctx.actions.run(
inputs = [classes_jar],
outputs = [validation_output],
mnemonic = "AxtAndroidAarValidateJar",
executable = ctx.executable._validate_jar_java,
arguments = [validation_output.path, classes_jar.path] + ctx.attr.expected_class_prefixes,
)
Expand Down
1 change: 1 addition & 0 deletions build_extensions/maven/combine_jars.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def combine_jars(ctx, input_jars_deps, output):

ctx.actions.run(
executable = ctx.executable._combine_jars_java,
mnemonic = "AndroidxTestCombineJars",
inputs = input_jars_deps,
arguments = [args],
outputs = [output],
Expand Down
1 change: 1 addition & 0 deletions build_extensions/maven/jarjar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def jarjar_rule(ctx, rule, src, out):
inputs = [rule, src],
outputs = [out],
arguments = [args],
mnemonic = "JarJar",
)

def _jarjar_impl(ctx):
Expand Down
2 changes: 2 additions & 0 deletions build_extensions/maven/maven_artifact.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def _rename_artifact(ctx, tpl_string, src_file, packaging_type, artifact_id, ver
inputs = [src_file],
outputs = [artifact],
command = "cp %s %s" % (src_file.path, artifact.path),
mnemonic = "AndroidxMavenArtifactRename",
)
return artifact

Expand Down Expand Up @@ -235,6 +236,7 @@ def _maven_artifact_impl(ctx):
progress_message = (
"Packaging repository: %s" % ctx.outputs.m2repository.short_path
),
mnemonic = "AndroidxMavenRepositoryGen",
)

maven_artifact = rule(
Expand Down
1 change: 1 addition & 0 deletions build_extensions/maven/maven_repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def _maven_repository_impl(ctx):
ctx.actions.run(
inputs = source_files,
outputs = [ctx.outputs.m2repository],
mnemonic = "MavenRepository",
arguments = [args],
executable = ctx.executable._zip_combiner,
progress_message = (
Expand Down
1 change: 1 addition & 0 deletions build_extensions/maven/reduce_jar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ def reduce_jar(ctx, input_jar, overlapping_jar, output_jar):
inputs = [input_jar, overlapping_jar],
arguments = [args],
outputs = [output_jar],
mnemonic = "ReduceJar",
)
Loading