Skip "verify" packages in otapreopt.

Since http://r.android.com/1590077, the runtime is able to use the vdex
files even if the dependencies have changed. There is no more need to
re-generate the vdex files.

Bug: 199756868
Test: Run system/update_engine/scripts/update_device.py on a clean Pixel
  5 device and see that the time spent on the otapreopt step went down
  from 7 minutes to 2.5 minutes.
Change-Id: I455554ad905ec3513ce1fd4e5d209a43fa27dbac
diff --git a/cmds/installd/dexopt.h b/cmds/installd/dexopt.h
index 5cf402c..df02588 100644
--- a/cmds/installd/dexopt.h
+++ b/cmds/installd/dexopt.h
@@ -18,6 +18,7 @@
 #define DEXOPT_H_
 
 #include "installd_constants.h"
+#include "unique_file.h"
 
 #include <sys/types.h>
 
@@ -156,6 +157,10 @@
 // artifacts.
 int get_odex_visibility(const char* apk_path, const char* instruction_set, const char* oat_dir);
 
+UniqueFile maybe_open_reference_profile(const std::string& pkgname, const std::string& dex_path,
+                                        const char* profile_name, bool profile_guided,
+                                        bool is_public, int uid, bool is_secondary_dex);
+
 }  // namespace installd
 }  // namespace android