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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 configs += [ "//build/config/compiler:no_chromium_code" ] | 253 configs += [ "//build/config/compiler:no_chromium_code" ] |
254 if (is_win) { | 254 if (is_win) { |
255 # This is defined internally, don't warn on duplicate. | 255 # This is defined internally, don't warn on duplicate. |
256 configs -= [ "//build/config/win:lean_and_mean" ] | 256 configs -= [ "//build/config/win:lean_and_mean" ] |
257 } | 257 } |
258 | 258 |
259 cflags = protobuf_lite_cflags | 259 cflags = protobuf_lite_cflags |
260 | 260 |
261 deps = [ | 261 deps = [ |
262 ":protobuf_full", | 262 ":protobuf_full", |
| 263 "//build/config/sanitizers:deps", |
263 ] | 264 ] |
264 deps += [ "//build/config/sanitizers:deps" ] | 265 deps += [ "//build/config/sanitizers:deps" ] |
265 } | 266 } |
266 } | 267 } |
267 | 268 |
268 google_python_dir = "$root_out_dir/pyproto/google" | 269 google_python_dir = "$root_out_dir/pyproto/google" |
269 | 270 |
270 copy("copy_google") { | 271 copy("copy_google") { |
271 sources = [ | 272 sources = [ |
272 "__init__.py", | 273 "__init__.py", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 ":copy_google", | 330 ":copy_google", |
330 ":copy_google_protobuf", | 331 ":copy_google_protobuf", |
331 ":copy_google_protobuf_internal", | 332 ":copy_google_protobuf_internal", |
332 ] | 333 ] |
333 | 334 |
334 # Targets that depend on this should depend on the copied data files. | 335 # Targets that depend on this should depend on the copied data files. |
335 data = get_target_outputs(":copy_google") | 336 data = get_target_outputs(":copy_google") |
336 data += get_target_outputs(":copy_google_protobuf") | 337 data += get_target_outputs(":copy_google_protobuf") |
337 data += get_target_outputs(":copy_google_protobuf_internal") | 338 data += get_target_outputs(":copy_google_protobuf_internal") |
338 } | 339 } |
OLD | NEW |