| 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> | 
|  | 6 | 
| 5 #include <map> | 7 #include <map> | 
| 6 #include <set> | 8 #include <set> | 
| 7 | 9 | 
| 8 #include "base/command_line.h" | 10 #include "base/command_line.h" | 
| 9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" | 
| 10 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" | 
| 11 #include "tools/gn/commands.h" | 13 #include "tools/gn/commands.h" | 
| 12 #include "tools/gn/deps_iterator.h" | 14 #include "tools/gn/deps_iterator.h" | 
| 13 #include "tools/gn/filesystem_utils.h" | 15 #include "tools/gn/filesystem_utils.h" | 
| 14 #include "tools/gn/input_file.h" | 16 #include "tools/gn/input_file.h" | 
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 480 | 482 | 
| 481   // If you ask for the references of a valid target, but that target has | 483   // If you ask for the references of a valid target, but that target has | 
| 482   // nothing referencing it, we'll get here without having printed anything. | 484   // nothing referencing it, we'll get here without having printed anything. | 
| 483   if (!quiet && cnt == 0) | 485   if (!quiet && cnt == 0) | 
| 484     OutputString("Nothing references this.\n", DECORATION_YELLOW); | 486     OutputString("Nothing references this.\n", DECORATION_YELLOW); | 
| 485 | 487 | 
| 486   return 0; | 488   return 0; | 
| 487 } | 489 } | 
| 488 | 490 | 
| 489 }  // namespace commands | 491 }  // namespace commands | 
| OLD | NEW | 
|---|