Disable failing internal app compilations

Bug: 116089492
Bug: 116093710
Change-Id: Ib0a3317105f715134a932149c046f03dc982f0d8
diff --git a/tools/run_on_app.py b/tools/run_on_app.py
index 4e07ea4..0667abe 100755
--- a/tools/run_on_app.py
+++ b/tools/run_on_app.py
@@ -111,6 +111,13 @@
     f.write('-printusage ' + os.path.join(outdir, 'proguard.usage') + "\n")
     return os.path.abspath(f.name)
 
+# Please add bug number for disabled permutations and please explicitly
+# do Bug: #BUG in the commit message of disabling to ensure re-enabling
+DISABLED_PERMUTATIONS = [
+    ('youtube', '12.10', 'dex'), # b/116089492
+    ('youtube', '12.22', 'deploy') # b/116093710
+]
+
 def get_permutations():
   data_providers = {
       'gmscore': gmscore_data,
@@ -123,7 +130,8 @@
   for app, data in data_providers.iteritems():
     for version in data.VERSIONS:
       for type in data.VERSIONS[version]:
-        yield app, version, type
+        if (app, version, type) not in DISABLED_PERMUTATIONS:
+          yield app, version, type
 
 def run_all(options, args):
   # Args will be destroyed