OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 return 0; | 677 return 0; |
678 } | 678 } |
679 | 679 |
680 // Display summary. | 680 // Display summary. |
681 | 681 |
682 // Display this only applicable to binary targets. | 682 // Display this only applicable to binary targets. |
683 bool is_binary_output = | 683 bool is_binary_output = |
684 target->output_type() != Target::GROUP && | 684 target->output_type() != Target::GROUP && |
685 target->output_type() != Target::COPY_FILES && | 685 target->output_type() != Target::COPY_FILES && |
686 target->output_type() != Target::ACTION && | 686 target->output_type() != Target::ACTION && |
687 target->output_type() != Target::ACTION_FOREACH; | 687 target->output_type() != Target::ACTION_FOREACH && |
| 688 target->output_type() != Target::BUNDLE_DATA; |
688 | 689 |
689 // Generally we only want to display toolchains on labels when the toolchain | 690 // Generally we only want to display toolchains on labels when the toolchain |
690 // is different than the default one for this target (which we always print | 691 // is different than the default one for this target (which we always print |
691 // in the header). | 692 // in the header). |
692 Label target_toolchain = target->label().GetToolchainLabel(); | 693 Label target_toolchain = target->label().GetToolchainLabel(); |
693 | 694 |
694 // Header. | 695 // Header. |
695 OutputString("Target: ", DECORATION_YELLOW); | 696 OutputString("Target: ", DECORATION_YELLOW); |
696 OutputString(target->label().GetUserVisibleName(false) + "\n"); | 697 OutputString(target->label().GetUserVisibleName(false) + "\n"); |
697 OutputString("Type: ", DECORATION_YELLOW); | 698 OutputString("Type: ", DECORATION_YELLOW); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 // so always display them, even for groups and such. | 747 // so always display them, even for groups and such. |
747 PrintLibs(target, true); | 748 PrintLibs(target, true); |
748 PrintLibDirs(target, true); | 749 PrintLibDirs(target, true); |
749 | 750 |
750 PrintDeps(target, true); | 751 PrintDeps(target, true); |
751 | 752 |
752 return 0; | 753 return 0; |
753 } | 754 } |
754 | 755 |
755 } // namespace commands | 756 } // namespace commands |
OLD | NEW |