blob: fea49743fe4945d7993f32e75b03c1942b3e5822 [file] [log] [blame]
Steven Moreland81079f92018-07-06 16:15:53 -07001// Copyright (C) 2017 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package aidl
16
17type nameProperties struct {
18 Name *string
19}
Steven Morelanda6fe4052020-11-03 19:52:05 +000020
Jeongik Cha52e98022021-01-20 18:37:20 +090021type hostProperties struct {
22 Cflags []string
23}
Steven Morelanda6fe4052020-11-03 19:52:05 +000024type perTargetProperties struct {
25 Enabled *bool
26}
27
Jeongik Cha52e98022021-01-20 18:37:20 +090028type ccTargetProperties struct {
29 Host hostProperties
30 Darwin perTargetProperties
31}
32
33type rustTargetProperties struct {
Steven Morelanda6fe4052020-11-03 19:52:05 +000034 Darwin perTargetProperties
35}
36
Steven Moreland81079f92018-07-06 16:15:53 -070037type ccProperties struct {
38 Name *string
39 Owner *string
40 Defaults []string
Steven Morelandfeacc762020-09-29 01:35:30 +000041 Double_loadable *bool
Steven Moreland81079f92018-07-06 16:15:53 -070042 Vendor_available *bool
Justin Yun08cb78a2021-01-25 17:24:24 +090043 Odm_available *bool
Justin Yunbc121402020-10-29 17:07:33 +090044 Product_available *bool
Steven Morelanddca9d4b2019-09-20 18:42:24 +000045 Host_supported *bool
Steven Moreland81079f92018-07-06 16:15:53 -070046 Generated_sources []string
47 Generated_headers []string
48 Shared_libs []string
49 Export_shared_lib_headers []string
50 Export_generated_headers []string
Devin Moore7d5a4542020-04-29 15:37:25 -070051 Header_libs []string
Steven Morelandc26d8142018-09-17 14:25:33 -070052 Sdk_version *string
53 Stl *string
Steven Moreland63492e62018-11-14 14:36:13 -080054 Cpp_std *string
Steven Moreland92b3a852018-12-12 13:08:49 -080055 Cflags []string
Jeongik Cha2aa389a2019-10-18 15:57:38 +090056 Stem *string
Jeongik Cha63dbe552020-02-11 07:26:06 +090057 Apex_available []string
Jooyung Han00c33022020-04-16 18:49:11 +090058 Min_sdk_version *string
Jooyung Han1150b2a2020-08-18 15:43:56 +090059 UseApexNameMacro bool
Jeongik Cha52e98022021-01-20 18:37:20 +090060 Target ccTargetProperties
Jiyong Parkdd57f1a2020-11-16 20:19:55 +090061 Tidy *bool
62 Tidy_flags []string
63 Tidy_checks_as_errors []string
Steven Moreland81079f92018-07-06 16:15:53 -070064}
65
66type javaProperties struct {
Jooyung Han00c33022020-04-16 18:49:11 +090067 Name *string
68 Owner *string
69 Defaults []string
70 Installable *bool
71 Sdk_version *string
72 Platform_apis *bool
73 Srcs []string
74 Static_libs []string
75 Apex_available []string
76 Min_sdk_version *string
Steven Moreland81079f92018-07-06 16:15:53 -070077}
78
Andrei Homescub62afd92020-05-11 19:24:59 -070079type rustProperties struct {
80 Name *string
81 Crate_name string
82 Owner *string
83 Defaults []string
84 Host_supported *bool
85 Srcs []string
86 Rustlibs []string
87 Stem *string
Jeongik Cha52e98022021-01-20 18:37:20 +090088 Target rustTargetProperties
Andrei Homescub62afd92020-05-11 19:24:59 -070089}
90
Steven Moreland81079f92018-07-06 16:15:53 -070091type phonyProperties struct {
92 Name *string
93 Required []string
94}