Lines Matching refs:properties

304 	properties aidlGenProperties  member
322 srcs, imports := getPaths(ctx, g.properties.Srcs)
335 importPaths = append(importPaths, importedAidl.properties.Full_import_paths...)
385 baseDir := getBaseDir(ctx, src, android.PathForModuleSrc(ctx, g.properties.AidlRoot))
388 if g.properties.Lang == langJava {
398 if g.properties.Version != "" {
399 optionalFlags = append(optionalFlags, "--version "+g.properties.Version)
413 if g.properties.GenTrace {
416 if g.properties.Stability != nil {
417 optionalFlags = append(optionalFlags, "--stability", *g.properties.Stability)
421 if g.properties.Lang == langJava {
446 if g.properties.Lang == langNdk || g.properties.Lang == langNdkPlatform {
457 if g.properties.GenLog {
461 aidlLang := g.properties.Lang
502 ctx.AddDependency(ctx.Module(), nil, wrap("", g.properties.Imports, aidlInterfaceSuffix)...)
503 if !proptools.Bool(g.properties.Unstable) {
504 ctx.AddDependency(ctx.Module(), nil, g.properties.BaseName+aidlApiSuffix)
512 g.AddProperties(&g.properties)
529 properties aidlApiProperties member
545 return filepath.Join(aidlApiDir, m.properties.BaseName)
550 if len(m.properties.Versions) == 0 {
553 latestVersion := m.properties.Versions[len(m.properties.Versions)-1]
571 srcs, imports := getPaths(ctx, m.properties.Srcs)
581 importPaths = append(importPaths, importedAidl.properties.Full_import_paths...)
590 aidlRoot := android.PathForModuleSrc(ctx, m.properties.AidlRoot)
599 if len(m.properties.Versions) >= 1 {
600 latestVersion = m.properties.Versions[len(m.properties.Versions)-1]
604 if m.properties.Stability != nil {
605 optionalFlags = append(optionalFlags, "--stability", *m.properties.Stability)
638 Text("-w -m " + m.properties.BaseName).
647 rb.Build(pctx, ctx, "dump_aidl_api"+m.properties.BaseName+"_"+version,
648 "Making AIDL API of "+m.properties.BaseName+" as version "+version)
658 if m.properties.Stability != nil {
659 optionalFlags = append(optionalFlags, "--stability", *m.properties.Stability)
695 …rb.Command().Text("sed").Flag(" s/%s/" + m.properties.BaseName + "/g ").Input(messageFile).Text(" …
696 rb.Build(pctx, ctx, "format_message_"+m.properties.BaseName, "")
766 ifaceName := m.properties.BaseName
780 for _, ver := range m.properties.Versions {
823 targetName := m.properties.BaseName + "-freeze-api"
827 targetName = m.properties.BaseName + "-update-api"
835 ctx.AddDependency(ctx.Module(), nil, wrap("", m.properties.Imports, aidlInterfaceSuffix)...)
840 m.AddProperties(&m.properties)
944 properties aidlInterfaceProperties member
954 return i.properties.Backend.Java.Enabled == nil || *i.properties.Backend.Java.Enabled
959 return i.properties.Backend.Cpp.Enabled == nil || *i.properties.Backend.Cpp.Enabled
964 return i.properties.Backend.Ndk.Enabled == nil || *i.properties.Backend.Ndk.Enabled
982 for _, anImport := range i.properties.Imports {
1007 if !proptools.Bool(i.properties.Gen_trace) {
1010 if i.shouldGenerateJavaBackend() && !proptools.Bool(i.properties.Backend.Java.Platform_apis) {
1016 if i.properties.Stability == nil {
1020 if proptools.Bool(i.properties.Unstable) {
1026 isVintf := "vintf" == proptools.String(i.properties.Stability)
1032 for _, ver := range i.properties.Versions {
1059 return i.properties.Versions[len(i.properties.Versions)-1]
1068 return len(i.properties.Versions) > 0
1114 return i.properties.Srcs, i.properties.Local_include_dir
1130 if !isRelativePath(i.properties.Local_include_dir) {
1131 mctx.PropertyErrorf("local_include_dir", "must be relative path: "+i.properties.Local_include_dir)
1134 importPaths = append(importPaths, filepath.Join(mctx.ModuleDir(), i.properties.Local_include_dir))
1135 importPaths = append(importPaths, i.properties.Include_dirs...)
1137 i.properties.Full_import_paths = importPaths
1152 versionsForCpp := make([]string, len(i.properties.Versions))
1157 copy(versionsForCpp, i.properties.Versions)
1161 versionsForCpp[len(i.properties.Versions)-1] = ""
1175 if !proptools.Bool(i.properties.Vendor_available) {
1195 versionsForJava := i.properties.Versions
1197 versionsForJava = append(i.properties.Versions, "")
1210 if proptools.Bool(i.properties.Unstable) {
1220 if i.properties.Stability != nil {
1221 …mctx.ModuleErrorf("unstable:true and stability:%q cannot happen at the same time", i.properties.St…
1273 commonProperties = &i.properties.Backend.Cpp.CommonNativeBackendProperties
1275 commonProperties = &i.properties.Backend.Ndk.CommonNativeBackendProperties
1279 genTrace := proptools.Bool(i.properties.Gen_trace)
1286 Imports: concat(i.properties.Imports, []string{i.ModuleBase.Name()}),
1287 Stability: i.properties.Stability,
1293 Unstable: i.properties.Unstable,
1296 importExportDependencies := wrap("", i.properties.Imports, "-"+lang)
1316 hostSupported = i.properties.Host_supported
1317 minSdkVersion = i.properties.Backend.Cpp.Min_sdk_version
1328 minSdkVersion = i.properties.Backend.Ndk.Min_sdk_version
1338 hostSupported = i.properties.Host_supported
1340 minSdkVersion = i.properties.Backend.Ndk.Min_sdk_version
1345 vendorAvailable := i.properties.Vendor_available
1346 if lang == langCpp && "vintf" == proptools.String(i.properties.Stability) {
1378 }, &i.properties.VndkProperties, &commonProperties.VndkProperties, &overrideVndkProperties)
1397 sdkVersion := i.properties.Backend.Java.Sdk_version
1398 if !proptools.Bool(i.properties.Backend.Java.Platform_apis) && sdkVersion == nil {
1408 Imports: concat(i.properties.Imports, []string{i.ModuleBase.Name()}),
1409 Stability: i.properties.Stability,
1413 GenTrace: proptools.Bool(i.properties.Gen_trace),
1414 Unstable: i.properties.Unstable,
1422 Platform_apis: i.properties.Backend.Java.Platform_apis,
1423 Static_libs: wrap("", i.properties.Imports, "-java"),
1425 Apex_available: i.properties.Backend.Java.Apex_available,
1426 Min_sdk_version: i.properties.Backend.Java.Min_sdk_version,
1441 Stability: i.properties.Stability,
1442 Imports: concat(i.properties.Imports, []string{i.ModuleBase.Name()}),
1443 Versions: i.properties.Versions,
1452 aidlRoot := android.PathForModuleSrc(ctx, i.properties.Local_include_dir)
1453 for _, src := range android.PathsForModuleSrc(ctx, i.properties.Srcs) {
1500 i.AddProperties(&i.properties)
1551 info.Stability = proptools.StringDefault(t.properties.Stability, "")
1555 info := moduleInfos[t.properties.BaseName]
1559 moduleInfos[t.properties.BaseName] = info