Include *_data.py files in restart_if_new_version() check
Change-Id: I3a9ba8bc5c45e153e3258056010a7443d51e93d4
diff --git a/tools/youtube_data.py b/tools/youtube_data.py
index 827041a..64bc995 100644
--- a/tools/youtube_data.py
+++ b/tools/youtube_data.py
@@ -115,3 +115,21 @@
}
},
}
+
+def GetLatestVersion():
+ return LATEST_VERSION
+
+def GetName():
+ return 'youtube'
+
+def GetMemoryData(version):
+ assert version == '16.20'
+ return {
+ 'find-xmx-min': 2800,
+ 'find-xmx-max': 3200,
+ 'find-xmx-range': 64,
+ 'oom-threshold': 3000,
+ # TODO(b/143431825): Youtube can OOM randomly in memory configurations
+ # that should work.
+ 'skip-find-xmx-max': True,
+ }