Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684748081
Change-Id: Iefe24db6a3735661766e1bd9435ea3f2cdb77516
  • Loading branch information
Googler authored and copybara-github committed Oct 11, 2024
1 parent 093975c commit 4b38f2f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/protobuf/extra_actions_base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package blaze;

option java_multiple_files = true;
option java_package = "com.google.devtools.build.lib.actions.extra";
// option cc_api_version = 2;
// option java_api_version = 2;

// A list of extra actions and metadata for the print_action command.
Expand All @@ -43,6 +42,7 @@ message DetailedExtraActionInfo {
// of the files that are actually required), or we could run the include
// scanner and add those files here.
optional string triggering_file = 1;

// The actual action.
required ExtraActionInfo action = 2;
}
Expand Down Expand Up @@ -70,16 +70,20 @@ message ExtraActionInfo {
// These are the aspect parameters of the last aspect
// in 'aspects' (8) field.
map<string, StringList> aspect_parameters = 7 [deprecated = true];

message StringList {
option deprecated = true;

repeated string value = 1;
}

message AspectDescriptor {
// Corresponds to AspectDescriptor.getName()
optional string aspect_name = 1;

// Corresponds to AspectDescriptor.getParameters()
map<string, StringList> aspect_parameters = 2;

message StringList {
repeated string value = 1;
}
Expand All @@ -99,6 +103,7 @@ message ExtraActionInfo {
message EnvironmentVariable {
// It is possible that this name is not a valid variable identifier.
required string name = 1;

// The value is unescaped and unquoted.
required string value = 2;
}
Expand All @@ -111,6 +116,7 @@ message SpawnInfo {
}

repeated string argument = 1;

// A list of environment variables and their values. No order is enforced.
repeated EnvironmentVariable variable = 2;
repeated string input_file = 4;
Expand All @@ -128,10 +134,12 @@ message CppCompileInfo {
repeated string compiler_option = 2;
optional string source_file = 3;
optional string output_file = 4;

// Due to header discovery, this won't include headers unless the build is
// actually performed. If set, this field will include the value of
// "source_file" in addition to the headers.
repeated string sources_and_headers = 5;

// A list of environment variables and their values. No order is enforced.
repeated EnvironmentVariable variable = 6;
}
Expand All @@ -150,6 +158,7 @@ message CppLinkInfo {
optional string link_staticness = 5;
repeated string link_stamp = 6;
repeated string build_info_header_artifact = 7;

// The list of command line options used for running the linking tool.
repeated string link_opt = 8;
}
Expand Down

0 comments on commit 4b38f2f

Please sign in to comment.