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

Side by Side Diff: third_party/protobuf/protobuf.gyp

Issue 11146005: Add support for generating jars from protos and add cacheinvalidation_java. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused target Created 8 years, 1 month 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) 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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['OS!="win"', { 7 ['OS!="win"', {
8 'variables': { 8 'variables': {
9 'config_h_dir': 9 'config_h_dir':
10 '.', # crafted for gcc/linux. 10 '.', # crafted for gcc/linux.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 'include_dirs': [ 135 'include_dirs': [
136 '<(config_h_dir)', 136 '<(config_h_dir)',
137 'src', 137 'src',
138 ], 138 ],
139 'defines': [ 139 'defines': [
140 'GOOGLE_PROTOBUF_NO_RTTI', 140 'GOOGLE_PROTOBUF_NO_RTTI',
141 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', 141 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
142 ], 142 ],
143 }, 143 },
144 }, 144 },
145 {
146 'target_name': 'protobuf_lite_java',
147 'type' : 'none',
148 'all_dependent_settings': {
149 'variables': {
150 'input_jars_paths' : [
151 'javalib/protobuf-java-2.4.1-lite.jar',
152 ],
153 }
154 }
155 },
145 # This is the full, heavy protobuf lib that's needed for c++ .proto's 156 # This is the full, heavy protobuf lib that's needed for c++ .proto's
146 # that don't specify the LITE_RUNTIME option. The protocol 157 # that don't specify the LITE_RUNTIME option. The protocol
147 # compiler itself (protoc) falls into that category. 158 # compiler itself (protoc) falls into that category.
148 # 159 #
149 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl 160 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl
150 { 161 {
151 'target_name': 'protobuf_full_do_not_use', 162 'target_name': 'protobuf_full_do_not_use',
152 'type': 'static_library', 163 'type': 'static_library',
153 'toolsets': ['host','target'], 164 'toolsets': ['host','target'],
154 'sources': [ 165 'sources': [
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 # ], 387 # ],
377 # 'dependencies': [ 388 # 'dependencies': [
378 # 'protoc#host', 389 # 'protoc#host',
379 # ], 390 # ],
380 # 'sources': [ 391 # 'sources': [
381 # 'src/google/protobuf/descriptor.proto', 392 # 'src/google/protobuf/descriptor.proto',
382 # ], 393 # ],
383 }, 394 },
384 ], 395 ],
385 } 396 }
OLDNEW
« build/protoc_java.sh ('K') | « third_party/protobuf/javalib/protobuf-java-2.4.1-lite.jar ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698