| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <sys/types.h> | 5 #include <sys/types.h> |
| 6 #include <sys/stat.h> | 6 #include <sys/stat.h> |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <unistd.h> | 9 #include <unistd.h> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 #include <gflags/gflags.h> | 13 #include <gflags/gflags.h> |
| 14 #include <glib.h> | 14 #include <glib.h> |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "chromeos/obsolete_logging.h" | 16 #include "base/logging.h" |
| 17 #include "update_engine/delta_diff_generator.h" | 17 #include "update_engine/delta_diff_generator.h" |
| 18 #include "update_engine/delta_performer.h" | 18 #include "update_engine/delta_performer.h" |
| 19 #include "update_engine/subprocess.h" | 19 #include "update_engine/subprocess.h" |
| 20 #include "update_engine/update_metadata.pb.h" | 20 #include "update_engine/update_metadata.pb.h" |
| 21 #include "update_engine/utils.h" | 21 #include "update_engine/utils.h" |
| 22 | 22 |
| 23 DEFINE_string(old_dir, "", | 23 DEFINE_string(old_dir, "", |
| 24 "Directory where the old rootfs is loop mounted read-only"); | 24 "Directory where the old rootfs is loop mounted read-only"); |
| 25 DEFINE_string(new_dir, "", | 25 DEFINE_string(new_dir, "", |
| 26 "Directory where the new rootfs is loop mounted read-only"); | 26 "Directory where the new rootfs is loop mounted read-only"); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return 0; | 102 return 0; |
| 103 } | 103 } |
| 104 | 104 |
| 105 } // namespace {} | 105 } // namespace {} |
| 106 | 106 |
| 107 } // namespace chromeos_update_engine | 107 } // namespace chromeos_update_engine |
| 108 | 108 |
| 109 int main(int argc, char** argv) { | 109 int main(int argc, char** argv) { |
| 110 return chromeos_update_engine::Main(argc, argv); | 110 return chromeos_update_engine::Main(argc, argv); |
| 111 } | 111 } |
| OLD | NEW |