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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 }, | 108 }, |
108 'export_dependent_settings': [ | 109 'export_dependent_settings': [ |
109 # The generated headers reference headers within protobuf_lite, | 110 # The generated headers reference headers within protobuf_lite, |
110 # so dependencies must be able to find those headers too. | 111 # so dependencies must be able to find those headers too. |
111 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', | 112 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', |
112 ], | 113 ], |
113 # This target exports a hard dependency because it generates header | 114 # This target exports a hard dependency because it generates header |
114 # files. | 115 # files. |
115 'hard_dependency': 1, | 116 'hard_dependency': 1, |
116 } | 117 } |
OLD | NEW |