| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 if (is_win) { | 5 if (is_win) { |
| 6 config_h_dir = "vsprojects" | 6 config_h_dir = "vsprojects" |
| 7 } else { | 7 } else { |
| 8 config_h_dir = "." | 8 config_h_dir = "." |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 # Required for component builds. See http://crbug.com/172800. | 99 # Required for component builds. See http://crbug.com/172800. |
| 100 defines = [ "LIBPROTOBUF_EXPORTS" ] | 100 defines = [ "LIBPROTOBUF_EXPORTS" ] |
| 101 } | 101 } |
| 102 | 102 |
| 103 # This is the full, heavy protobuf lib that's needed for c++ .protos that don't | 103 # This is the full, heavy protobuf lib that's needed for c++ .protos that don't |
| 104 # specify the LITE_RUNTIME option. The protocol compiler itself (protoc) falls | 104 # specify the LITE_RUNTIME option. The protocol compiler itself (protoc) falls |
| 105 # into that category. Do not use in Chrome code. | 105 # into that category. Do not use in Chrome code. |
| 106 | 106 |
| 107 source_set("protobuf_full") { | 107 source_set("protobuf_full") { |
| 108 visibility = ":*" # Prevent people from depending on this outside our file. | 108 # Prevent people from depending on this outside our file. |
| 109 visibility = [ ":*" ] |
| 109 | 110 |
| 110 sources = protobuf_lite_sources | 111 sources = protobuf_lite_sources |
| 111 sources += [ | 112 sources += [ |
| 112 "src/google/protobuf/descriptor.h", | 113 "src/google/protobuf/descriptor.h", |
| 113 "src/google/protobuf/descriptor.pb.h", | 114 "src/google/protobuf/descriptor.pb.h", |
| 114 "src/google/protobuf/descriptor_database.h", | 115 "src/google/protobuf/descriptor_database.h", |
| 115 "src/google/protobuf/dynamic_message.h", | 116 "src/google/protobuf/dynamic_message.h", |
| 116 "src/google/protobuf/generated_enum_reflection.h", | 117 "src/google/protobuf/generated_enum_reflection.h", |
| 117 "src/google/protobuf/generated_message_reflection.h", | 118 "src/google/protobuf/generated_message_reflection.h", |
| 118 "src/google/protobuf/message.h", | 119 "src/google/protobuf/message.h", |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 configs -= [ "//build/config/win:lean_and_mean" ] | 243 configs -= [ "//build/config/win:lean_and_mean" ] |
| 243 } | 244 } |
| 244 | 245 |
| 245 cflags = protobuf_lite_cflags | 246 cflags = protobuf_lite_cflags |
| 246 | 247 |
| 247 deps = [ | 248 deps = [ |
| 248 ":protobuf_full", | 249 ":protobuf_full", |
| 249 ] | 250 ] |
| 250 } | 251 } |
| 251 } | 252 } |
| OLD | NEW |