OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/file_util.h" | |
12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/files/file_util.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "courgette/courgette.h" | 17 #include "courgette/courgette.h" |
18 #include "courgette/streams.h" | 18 #include "courgette/streams.h" |
19 #include "courgette/third_party/bsdiff.h" | 19 #include "courgette/third_party/bsdiff.h" |
20 | 20 |
21 | 21 |
22 void PrintHelp() { | 22 void PrintHelp() { |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 UsageProblem("-gen1[au] <old_file> <new_file> <patch_files_root>"); | 507 UsageProblem("-gen1[au] <old_file> <new_file> <patch_files_root>"); |
508 DisassembleAdjustDiff(values[0], values[1], values[2], | 508 DisassembleAdjustDiff(values[0], values[1], values[2], |
509 cmd_spread_1_adjusted); | 509 cmd_spread_1_adjusted); |
510 } else { | 510 } else { |
511 UsageProblem("No operation specified"); | 511 UsageProblem("No operation specified"); |
512 } | 512 } |
513 } | 513 } |
514 | 514 |
515 return 0; | 515 return 0; |
516 } | 516 } |
OLD | NEW |