| OLD | NEW | 
|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule | 
| 6 # to invoke protoc in a consistent manner. | 6 # to invoke protoc in a consistent manner. For Java-targets, see | 
|  | 7 # protoc_java.gypi. | 
| 7 # | 8 # | 
| 8 # To use this, create a gyp target with the following form: | 9 # To use this, create a gyp target with the following form: | 
| 9 # { | 10 # { | 
| 10 #   'target_name': 'my_proto_lib', | 11 #   'target_name': 'my_proto_lib', | 
| 11 #   'type': 'static_library', | 12 #   'type': 'static_library', | 
| 12 #   'sources': [ | 13 #   'sources': [ | 
| 13 #     'foo.proto', | 14 #     'foo.proto', | 
| 14 #     'bar.proto', | 15 #     'bar.proto', | 
| 15 #   ], | 16 #   ], | 
| 16 #   'variables': { | 17 #   'variables': { | 
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 113   }, | 114   }, | 
| 114   'export_dependent_settings': [ | 115   'export_dependent_settings': [ | 
| 115     # The generated headers reference headers within protobuf_lite, | 116     # The generated headers reference headers within protobuf_lite, | 
| 116     # so dependencies must be able to find those headers too. | 117     # so dependencies must be able to find those headers too. | 
| 117     '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', | 118     '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', | 
| 118   ], | 119   ], | 
| 119   # This target exports a hard dependency because it generates header | 120   # This target exports a hard dependency because it generates header | 
| 120   # files. | 121   # files. | 
| 121   'hard_dependency': 1, | 122   'hard_dependency': 1, | 
| 122 } | 123 } | 
| OLD | NEW | 
|---|