ART: Remove obsolete option -Xpatchoat:.

Test: Rely on TreeHugger
Change-Id: I01de17df4854ada2710a031f7d4952e18ffdc9e8
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index f516d0d..b78c152 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -219,9 +219,6 @@
       .Define("-Xjnitrace:_")
           .WithType<std::string>()
           .IntoKey(M::JniTrace)
-      .Define("-Xpatchoat:_")
-          .WithType<std::string>()
-          .IntoKey(M::PatchOat)
       .Define({"-Xrelocate", "-Xnorelocate"})
           .WithValues({true, false})
           .IntoKey(M::Relocate)
@@ -737,7 +734,6 @@
   UsageMessage(stream, "  -Xcompiler:filename\n");
   UsageMessage(stream, "  -Xcompiler-option dex2oat-option\n");
   UsageMessage(stream, "  -Ximage-compiler-option dex2oat-option\n");
-  UsageMessage(stream, "  -Xpatchoat:filename (obsolete, ignored)\n");
   UsageMessage(stream, "  -Xusejit:booleanvalue\n");
   UsageMessage(stream, "  -Xjitinitialsize:N\n");
   UsageMessage(stream, "  -Xjitmaxsize:N\n");
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index 222c821..9b4aa0f 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -88,7 +88,6 @@
 RUNTIME_OPTIONS_KEY (std::vector<std::string>, \
                                           PropertiesList)  // -D<whatever> -D<whatever> ...
 RUNTIME_OPTIONS_KEY (std::string,         JniTrace)
-RUNTIME_OPTIONS_KEY (std::string,         PatchOat)
 RUNTIME_OPTIONS_KEY (bool,                Relocate,                       kDefaultMustRelocate)
 RUNTIME_OPTIONS_KEY (bool,                ImageDex2Oat,                   true)
 RUNTIME_OPTIONS_KEY (bool,                Interpret,                      false) // -Xint