Lines Matching +full:- +full:p
7 // http://www.apache.org/licenses/LICENSE-2.0
31 xmllintDtd = pctx.AndroidStaticRule("xmllint-dtd",
33 Command: `$XmlLintCmd --dtdvalid $dtd $in > /dev/null && touch -a $out`,
39 xmllintXsd = pctx.AndroidStaticRule("xmllint-xsd",
41 Command: `$XmlLintCmd --schema $xsd $in > /dev/null && touch -a $out`,
47 xmllintMinimal = pctx.AndroidStaticRule("xmllint-minimal",
49 Command: `$XmlLintCmd $in > /dev/null && touch -a $out`,
75 func (p *prebuiltEtcXml) timestampFilePath(ctx android.ModuleContext) android.WritablePath {
76 return android.PathForModuleOut(ctx, p.PrebuiltEtc.SourceFilePath(ctx).Base()+"-timestamp")
79 func (p *prebuiltEtcXml) GenerateAndroidBuildActions(ctx android.ModuleContext) {
80 p.PrebuiltEtc.GenerateAndroidBuildActions(ctx)
82 if p.properties.Schema != nil {
83 schema := android.PathForModuleSrc(ctx, proptools.String(p.properties.Schema))
89 Description: "xmllint-dtd",
90 Input: p.PrebuiltEtc.SourceFilePath(ctx),
91 Output: p.timestampFilePath(ctx),
101 Description: "xmllint-xsd",
102 Input: p.PrebuiltEtc.SourceFilePath(ctx),
103 Output: p.timestampFilePath(ctx),
114 // when schema is not specified, just check if the xml is well-formed
117 Description: "xmllint-minimal",
118 Input: p.PrebuiltEtc.SourceFilePath(ctx),
119 Output: p.timestampFilePath(ctx),
123 p.SetAdditionalDependencies([]android.Path{p.timestampFilePath(ctx)})
130 // This module is device-only