Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: third_party/protobuf/BUILD.gn

Issue 1906193002: Fixing gn manifests for many executables (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698