summaryrefslogtreecommitdiffstats
path: root/recipes-demo/html5-homescreen
AgeCommit message (Expand)AuthorFilesLines
2023-12-29Refresh HTML5 demo apps design.Jacobo Aragunde Pérez1-1/+1
2023-07-18[wam][cef] Start unsing the WebAppMgrCli wrapperpike_15.92.0pike/15.92.015.92.0Roger Zanoni1-1/+2
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray2-20/+22
2023-04-26html-homescreen: bump SRVREVRoger Zanoni1-1/+1
2022-09-06wam: fix surface type name in application manifestJose Dapena Paz1-1/+1
2022-07-27Updates for application enumeration via systemd unitsScott Murray1-2/+2
2022-05-26html5-*: allow network access to do_compile stage.Jose Dapena Paz1-0/+1
2022-05-13chromium, html5-*: adapt to kirkstoneJose Dapena Paz1-4/+6
2022-05-13wam, chromium, html5-*: improve initial frame, and drop usage of config.xmlJose Dapena Paz2-5/+3
2022-04-11html5-hvac, html5-homescreen, html5-launcher: use explicit GIT hashesJose Dapena Paz1-1/+1
2022-03-24html5-homescreen: increase wait for attempting to launch homescreenJose Dapena Paz1-1/+1
2022-03-11html5-homescreen_git: Remove autobuild script buildsMarius Vlad1-3/+4
2022-03-07meta-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demoJose Dapena Paz2-0/+56
2021-11-03Prepare master for new framework integrationJan-Simon Möller1-15/+0
2021-02-25Fix S definitions in various recipesScott Murray1-1/+1
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller1-0/+15
span>, action='store', default='') parser.add_argument("-k", "--key", help = "Specify the key, e.g., recipe name", action="store", default='') parser.add_argument("-d", "--depends", help = "Print the key's dependencies", action="store_true", default=False) parser.add_argument("-w", "--why", help = "Print why the key is built", action="store_true", default=False) parser.add_argument("-r", "--remove", help = "Remove duplicated dependencies to reduce the size of the dot files." " For example, A->B, B->C, A->C, then A->C can be removed.", action="store_true", default=False) self.args = parser.parse_args() if len(sys.argv) != 3 and len(sys.argv) < 5: print('ERROR: Not enough args, see --help for usage') def main(self): #print(self.args.dotfile[0]) # The format is {key: depends} depends = {} with open(self.args.dotfile[0], 'r') as f: for line in f.readlines(): if ' -> ' not in line: continue line_no_quotes = line.replace('"', '') m = re.match("(.*) -> (.*)", line_no_quotes) if not m: print('WARNING: Found unexpected line: %s' % line) continue key = m.group(1) if key == "meta-world-pkgdata": continue dep = m.group(2) if key in depends: if not key in depends[key]: depends[key].add(dep) else: print('WARNING: Fonud duplicated line: %s' % line) else: depends[key] = set() depends[key].add(dep) if self.args.remove: reduced_depends = {} for k, deps in depends.items(): child_deps = set() added = set() # Both direct and indirect depends are already in the dict, so # we don't have to do this recursively. for dep in deps: if dep in depends: child_deps |= depends[dep] reduced_depends[k] = deps - child_deps outfile= '%s-reduced%s' % (self.args.dotfile[0][:-4], self.args.dotfile[0][-4:]) with open(outfile, 'w') as f: print('Saving reduced dot file to %s' % outfile) f.write('digraph depends {\n') for k, v in reduced_depends.items(): for dep in v: f.write('"%s" -> "%s"\n' % (k, dep)) f.write('}\n') sys.exit(0) if self.args.key not in depends: print("ERROR: Can't find key %s in %s" % (self.args.key, self.args.dotfile[0])) sys.exit(1) if self.args.depends: if self.args.key in depends: print('Depends: %s' % ' '.join(depends[self.args.key])) reverse_deps = [] if self.args.why: for k, v in depends.items(): if self.args.key in v and not k in reverse_deps: reverse_deps.append(k) print('Because: %s' % ' '.join(reverse_deps)) if __name__ == "__main__": try: dot = Dot() ret = dot.main() except Exception as esc: ret = 1 import traceback traceback.print_exc() sys.exit(ret)