Index: third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h |
diff --git a/third_party/protobuf/python/google/protobuf/internal/any_test.proto b/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h |
similarity index 83% |
copy from third_party/protobuf/python/google/protobuf/internal/any_test.proto |
copy to third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h |
index cd641ca0b8efaab4d60767f359490946f90400fb..174c665e452c8f99956cc4198342e7ba4576ee8b 100644 |
--- a/third_party/protobuf/python/google/protobuf/internal/any_test.proto |
+++ b/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h |
@@ -28,15 +28,16 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Author: jieluo@google.com (Jie Luo) |
+#ifndef GOOGLE_PROTOBUF_COMPILER_JS_WELL_KNOWN_TYPES_EMBED_H__ |
+#define GOOGLE_PROTOBUF_COMPILER_JS_WELL_KNOWN_TYPES_EMBED_H__ |
-syntax = "proto3"; |
+#include <stddef.h> |
-package google.protobuf.internal; |
+struct FileToc { |
+ const char* name; |
+ const char* data; |
+}; |
-import "google/protobuf/any.proto"; |
+extern struct FileToc well_known_types_js[]; |
-message TestAny { |
- google.protobuf.Any value = 1; |
- int32 int_value = 2; |
-} |
+#endif // GOOGLE_PROTOBUF_COMPILER_JS_WELL_KNOWN_TYPES_EMBED_H__ |