Home
last modified time | relevance | path

Searched refs:flagParser (Results 1 – 2 of 2) sorted by relevance

/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/
DBundleToolMain.java36 FlagParser flagParser = new FlagParser(); in main() local
38 flagParser.parse(args); in main()
43 List<String> commands = flagParser.getCommands(); in main()
54 BuildModuleCommand.fromFlags(flagParser).execute(); in main()
57 new SplitModuleCommand(flagParser).execute(); in main()
DBuildModuleCommand.java84 static BuildModuleCommand fromFlags(FlagParser flagParser) { in fromFlags() argument
86 builder().setOutputPath(Paths.get(flagParser.getRequiredFlagValue(OUTPUT_FLAG))); in fromFlags()
87 flagParser.getFlagValueAsPath(MANIFEST_FLAG).ifPresent(builder::setManifestPath); in fromFlags()
88 flagParser.getFlagValueAsPath(MANIFEST_DIR_FLAG).ifPresent(builder::setManifestDirPath); in fromFlags()
89 flagParser.getFlagValueAsPath(DEX_FLAG).ifPresent(builder::setDexPath); in fromFlags()
90 flagParser.getFlagValueAsPath(DEX_DIR_FLAG).ifPresent(builder::setDexDirPath); in fromFlags()
91 flagParser.getFlagValueAsPath(RESOURCES_DIR_FLAG).ifPresent(builder::setResourcesDirPath); in fromFlags()
92 flagParser.getFlagValueAsPath(ASSETS_DIR_FLAG).ifPresent(builder::setAssetsDirPath); in fromFlags()
93 flagParser.getFlagValueAsPath(NATIVE_DIR_FLAG).ifPresent(builder::setNativeDirPath); in fromFlags()