| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 (current_toolchain == host_toolchain) { | 5 if (current_toolchain == host_toolchain) { |
| 6 executable("proto_zero_plugin") { | 6 executable("proto_zero_plugin") { |
| 7 sources = [ | 7 sources = [ |
| 8 "proto_zero_generator.cc", | 8 "proto_zero_generator.cc", |
| 9 "proto_zero_generator.h", | 9 "proto_zero_generator.h", |
| 10 "proto_zero_plugin.cc", | 10 "proto_zero_plugin.cc", |
| 11 ] | 11 ] |
| 12 deps = [ | 12 deps = [ |
| 13 "//third_party/protobuf:protoc_lib", | 13 "//third_party/protobuf:protoc_lib", |
| 14 ] | 14 ] |
| 15 if (is_win) { |
| 16 # TODO(thomasanderson): remove when https://crbug.com/703251 is resolved |
| 17 # by Microsoft. |
| 18 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 19 configs += [ "//build/config/win:no_incremental_linking" ] |
| 20 } |
| 15 } | 21 } |
| 16 } | 22 } |
| OLD | NEW |