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

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

Issue 11347026: Check in protobuf java code and generate lite jar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 'include_dirs': [ 95 'include_dirs': [
96 '<(config_h_dir)', 96 '<(config_h_dir)',
97 'src', 97 'src',
98 ], 98 ],
99 'defines': [ 99 'defines': [
100 'GOOGLE_PROTOBUF_NO_RTTI', 100 'GOOGLE_PROTOBUF_NO_RTTI',
101 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', 101 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER',
102 ], 102 ],
103 }, 103 },
104 }, 104 },
105 {
106 'target_name': 'protobuf_lite_java',
107 'type' : 'none',
108 'all_dependent_settings': {
109 'variables': {
110 'input_jars_paths' : [
111 'javalib/protobuf-java-2.4.1-lite.jar',
112 ],
113 }
114 }
115 },
105 # This is the full, heavy protobuf lib that's needed for c++ .proto's 116 # This is the full, heavy protobuf lib that's needed for c++ .proto's
106 # that don't specify the LITE_RUNTIME option. The protocol 117 # that don't specify the LITE_RUNTIME option. The protocol
107 # compiler itself (protoc) falls into that category. 118 # compiler itself (protoc) falls into that category.
108 # 119 #
109 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl 120 # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl
110 { 121 {
111 'target_name': 'protobuf_full_do_not_use', 122 'target_name': 'protobuf_full_do_not_use',
112 'type': 'static_library', 123 'type': 'static_library',
113 'toolsets': ['host','target'], 124 'toolsets': ['host','target'],
114 'sources': [ 125 'sources': [
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 # ], 362 # ],
352 # 'dependencies': [ 363 # 'dependencies': [
353 # 'protoc#host', 364 # 'protoc#host',
354 # ], 365 # ],
355 # 'sources': [ 366 # 'sources': [
356 # 'src/google/protobuf/descriptor.proto', 367 # 'src/google/protobuf/descriptor.proto',
357 # ], 368 # ],
358 }, 369 },
359 ], 370 ],
360 } 371 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698