blob: a37453a78745ccaa5394732ae11d9d9955906213 [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}
Jiyong Park6007f252021-07-16 17:59:19 +090024
25type darwinProperties struct {
Steven Morelanda6fe4052020-11-03 19:52:05 +000026 Enabled *bool
27}
28
Jiyong Park6007f252021-07-16 17:59:19 +090029type imageProperties struct {
30 Shared_libs []string
31 Header_libs []string
32 Exclude_shared_libs []string
33 Cflags []string
34}
35
Jeongik Cha52e98022021-01-20 18:37:20 +090036type ccTargetProperties struct {
Jiyong Park6007f252021-07-16 17:59:19 +090037 Host hostProperties
38 Darwin darwinProperties
39 Platform imageProperties
40 Vendor imageProperties
41 Product imageProperties
Jeongik Cha52e98022021-01-20 18:37:20 +090042}
43
44type rustTargetProperties struct {
Jiyong Park6007f252021-07-16 17:59:19 +090045 Darwin darwinProperties
Steven Morelanda6fe4052020-11-03 19:52:05 +000046}
47
Steven Moreland81079f92018-07-06 16:15:53 -070048type ccProperties struct {
49 Name *string
50 Owner *string
51 Defaults []string
Steven Morelandfeacc762020-09-29 01:35:30 +000052 Double_loadable *bool
Steven Moreland81079f92018-07-06 16:15:53 -070053 Vendor_available *bool
Justin Yun08cb78a2021-01-25 17:24:24 +090054 Odm_available *bool
Justin Yunbc121402020-10-29 17:07:33 +090055 Product_available *bool
Jiyong Parkcf18b462021-10-21 10:56:55 +090056 Recovery_available *bool
Steven Morelanddca9d4b2019-09-20 18:42:24 +000057 Host_supported *bool
Steven Moreland81079f92018-07-06 16:15:53 -070058 Generated_sources []string
59 Generated_headers []string
60 Shared_libs []string
61 Export_shared_lib_headers []string
62 Export_generated_headers []string
Devin Moore7d5a4542020-04-29 15:37:25 -070063 Header_libs []string
Steven Morelandc26d8142018-09-17 14:25:33 -070064 Sdk_version *string
65 Stl *string
Steven Moreland63492e62018-11-14 14:36:13 -080066 Cpp_std *string
Steven Moreland92b3a852018-12-12 13:08:49 -080067 Cflags []string
Jeongik Cha2aa389a2019-10-18 15:57:38 +090068 Stem *string
Jeongik Cha63dbe552020-02-11 07:26:06 +090069 Apex_available []string
Jooyung Han00c33022020-04-16 18:49:11 +090070 Min_sdk_version *string
Jeongik Cha52e98022021-01-20 18:37:20 +090071 Target ccTargetProperties
Jiyong Parkdd57f1a2020-11-16 20:19:55 +090072 Tidy *bool
73 Tidy_flags []string
74 Tidy_checks_as_errors []string
Steven Moreland81079f92018-07-06 16:15:53 -070075}
76
77type javaProperties struct {
Jooyung Han00c33022020-04-16 18:49:11 +090078 Name *string
79 Owner *string
80 Defaults []string
81 Installable *bool
82 Sdk_version *string
83 Platform_apis *bool
84 Srcs []string
85 Static_libs []string
86 Apex_available []string
87 Min_sdk_version *string
Steven Moreland81079f92018-07-06 16:15:53 -070088}
89
Andrei Homescub62afd92020-05-11 19:24:59 -070090type rustProperties struct {
Janis Danisevskis85252b92021-11-09 07:29:40 -080091 Name *string
92 Crate_name string
93 Owner *string
94 Defaults []string
95 Host_supported *bool
96 Vendor_available *bool
97 Srcs []string
98 Rustlibs []string
99 Stem *string
100 Target rustTargetProperties
101 Apex_available []string
102 Min_sdk_version *string
Andrei Homescub62afd92020-05-11 19:24:59 -0700103}
104
Steven Moreland81079f92018-07-06 16:15:53 -0700105type phonyProperties struct {
106 Name *string
107 Required []string
108}