Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: build/protoc.gypi

Issue 7677034: Update sync protos to use the new shared protoc gyp rules (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/protocol/sync_proto.gyp » ('j') | chrome/browser/sync/protocol/sync_proto.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698