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 config("protobuf_config") { | 5 config("protobuf_config") { |
6 include_dirs = [ "src" ] | 6 include_dirs = [ "src" ] |
7 defines = [ | 7 defines = [ |
8 "GOOGLE_PROTOBUF_NO_RTTI", | 8 "GOOGLE_PROTOBUF_NO_RTTI", |
9 "GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", | 9 "GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
10 ] | 10 ] |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 if (is_win) { | 526 if (is_win) { |
527 # This is defined internally, don't warn on duplicate. | 527 # This is defined internally, don't warn on duplicate. |
528 configs -= [ "//build/config/win:lean_and_mean" ] | 528 configs -= [ "//build/config/win:lean_and_mean" ] |
529 } | 529 } |
530 | 530 |
531 cflags = protobuf_lite_cflags | 531 cflags = protobuf_lite_cflags |
532 | 532 |
533 deps = [ | 533 deps = [ |
534 ":protobuf_full", | 534 ":protobuf_full", |
535 "//build/config/sanitizers:deps", | 535 "//build/config/sanitizers:deps", |
| 536 |
| 537 # Default manifest on Windows (a no-op elsewhere). |
| 538 "//build/win:default_exe_manifest", |
536 ] | 539 ] |
537 deps += [ "//build/config/sanitizers:deps" ] | 540 deps += [ "//build/config/sanitizers:deps" ] |
538 } | 541 } |
539 } | 542 } |
540 | 543 |
541 google_python_dir = "$root_out_dir/pyproto/google" | 544 google_python_dir = "$root_out_dir/pyproto/google" |
542 | 545 |
543 copy("copy_google") { | 546 copy("copy_google") { |
544 sources = [ | 547 sources = [ |
545 "__init__.py", | 548 "__init__.py", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 ":copy_google_protobuf_internal", | 617 ":copy_google_protobuf_internal", |
615 ":copy_six", | 618 ":copy_six", |
616 ] | 619 ] |
617 | 620 |
618 # Targets that depend on this should depend on the copied data files. | 621 # Targets that depend on this should depend on the copied data files. |
619 data = get_target_outputs(":copy_google") | 622 data = get_target_outputs(":copy_google") |
620 data += get_target_outputs(":copy_six") | 623 data += get_target_outputs(":copy_six") |
621 data += get_target_outputs(":copy_google_protobuf") | 624 data += get_target_outputs(":copy_google_protobuf") |
622 data += get_target_outputs(":copy_google_protobuf_internal") | 625 data += get_target_outputs(":copy_google_protobuf_internal") |
623 } | 626 } |
OLD | NEW |