| Index: third_party/protobuf/js/test_bootstrap.js
|
| diff --git a/third_party/protobuf/src/google/protobuf/unittest_import_public.proto b/third_party/protobuf/js/test_bootstrap.js
|
| similarity index 85%
|
| copy from third_party/protobuf/src/google/protobuf/unittest_import_public.proto
|
| copy to third_party/protobuf/js/test_bootstrap.js
|
| index ea5d1b13fea77a432cecc0980664c020159d108a..9d00a1c430b9e07b372caa783ba8e4899b72b63d 100644
|
| --- a/third_party/protobuf/src/google/protobuf/unittest_import_public.proto
|
| +++ b/third_party/protobuf/js/test_bootstrap.js
|
| @@ -1,6 +1,6 @@
|
| // Protocol Buffers - Google's data interchange format
|
| // Copyright 2008 Google Inc. All rights reserved.
|
| -// http://code.google.com/p/protobuf/
|
| +// https://developers.google.com/protocol-buffers/
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -28,13 +28,14 @@
|
| // (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: liujisi@google.com (Pherl Liu)
|
| +/**
|
| + * @fileoverview Sets flags for uncompiled JSUnit tests.
|
| + */
|
|
|
| -
|
| -package protobuf_unittest_import;
|
| -
|
| -option java_package = "com.google.protobuf.test";
|
| -
|
| -message PublicImportMessage {
|
| - optional int32 e = 1;
|
| -}
|
| +/**
|
| + * Set uncompiled flags.
|
| + */
|
| +var CLOSURE_DEFINES = {
|
| + // Enable the fromObject method on the message class.
|
| + 'jspb.Message.GENERATE_FROM_OBJECT': true
|
| +};
|
|
|