| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 an target to provide a rule | 5 # This file is meant to be included into an target to provide a rule |
| 6 # to invoke protoc in a consistent manner. | 6 # to invoke protoc in a consistent manner. |
| 7 # | 7 # |
| 8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
| 9 # { | 9 # { |
| 10 # 'target_name': 'my_proto_lib', | 10 # 'target_name': 'my_proto_lib', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', | 74 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 75 ], | 75 ], |
| 76 'include_dirs': [ | 76 'include_dirs': [ |
| 77 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 77 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
| 78 ], | 78 ], |
| 79 'direct_dependent_settings': { | 79 'direct_dependent_settings': { |
| 80 'include_dirs': [ | 80 'include_dirs': [ |
| 81 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 81 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
| 82 ] | 82 ] |
| 83 }, | 83 }, |
| 84 'export_dependent_settings': [ |
| 85 # The generated headers reference headers within protobuf_lite, |
| 86 # so dependencies must be able to find those headers too. |
| 87 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 88 ], |
| 84 # This target exports a hard dependency because it generates header | 89 # This target exports a hard dependency because it generates header |
| 85 # files. | 90 # files. |
| 86 'hard_dependency': 1, | 91 'hard_dependency': 1, |
| 87 } | 92 } |
| OLD | NEW |