| 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 { | 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |