-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
3,689 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
bundles/com.salesforce.bazel.importedsource/proto/buildozer/api.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
Copyright 2016 Google Inc. All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
syntax = "proto3"; | ||
|
||
package devtools.buildozer; | ||
|
||
option go_package = "api_proto"; | ||
|
||
// https://github.com/bazelbuild/buildtools/pull/1193 | ||
option java_package = "com.google.devtools.buildozer"; | ||
option java_outer_classname = "BuildozerProtos"; | ||
|
||
message Output { | ||
repeated Record records = 1; | ||
message Record { | ||
repeated Field fields = 1; | ||
message Field { | ||
oneof value { | ||
string text = 1; | ||
int32 number = 2; | ||
ERROR error = 3; | ||
RepeatedString list = 5; | ||
} | ||
// Used internally by Buildozer to decide whether a field should be quoted | ||
// when printing. This does not affect the contents of 'value'. | ||
bool quote_when_printing = 7; | ||
|
||
enum ERROR { | ||
UNKNOWN = 0; | ||
MISSING = 1; | ||
} | ||
} | ||
} | ||
} | ||
|
||
message RepeatedString { | ||
repeated string strings = 1; | ||
} |
4 changes: 2 additions & 2 deletions
4
bundles/com.salesforce.bazel.importedsource/proto/protoc bazel.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> | ||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/com.salesforce.bazel.sdk/proto" type="2"/> </resources>}"/> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/com.salesforce.bazel.importedsource/proto" type="2"/> </resources>}"/> | ||
<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> | ||
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/local/bin/protoc"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="--proto_path=. --java_out=src-proto-bazel bazel/build_event_stream.proto bazel/command_line.proto bazel/failure_details.proto bazel/invocation_policy.proto bazel/option_filters.proto bazel/build.proto bazel/deps.proto bazel/java_compilation.proto"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/com.salesforce.bazel.sdk/proto}"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/com.salesforce.bazel.importedsource/proto}"/> | ||
</launchConfiguration> |
11 changes: 11 additions & 0 deletions
11
bundles/com.salesforce.bazel.importedsource/proto/protoc buildozer.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> | ||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/com.salesforce.bazel.importedsource/proto" type="2"/> </resources>}"/> | ||
<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> | ||
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/local/bin/protoc"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="--proto_path=. --java_out=src-proto-buildozer buildozer/api.proto"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/com.salesforce.bazel.importedsource/proto}"/> | ||
</launchConfiguration> |
4 changes: 2 additions & 2 deletions
4
bundles/com.salesforce.bazel.importedsource/proto/protoc intellij_ide_info.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> | ||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/com.salesforce.bazel.sdk/proto" type="2"/> </resources>}"/> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/com.salesforce.bazel.importedsource/proto" type="2"/> </resources>}"/> | ||
<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> | ||
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/local/bin/protoc"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="--proto_path=. --java_out=src-proto-intellij intellij/common.proto intellij/intellij_ide_info.proto"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/com.salesforce.bazel.sdk/proto}"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/com.salesforce.bazel.importedsource/proto}"/> | ||
</launchConfiguration> |
Oops, something went wrong.