blob: a260801d66838ad86914a55ae4c7f4011f9bcb4f [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}
Jeongik Chae072e6c2019-02-22 18:36:33 +090020type staticLib struct {
21 Whole_static_libs []string
22}
Steven Moreland81079f92018-07-06 16:15:53 -070023
Jeongik Chae072e6c2019-02-22 18:36:33 +090024type sharedLib struct {
25 Shared_libs []string
26 Export_shared_lib_headers []string
27}
Steven Moreland81079f92018-07-06 16:15:53 -070028type ccProperties struct {
29 Name *string
30 Owner *string
31 Defaults []string
Steven Morelandfeacc762020-09-29 01:35:30 +000032 Double_loadable *bool
Steven Moreland81079f92018-07-06 16:15:53 -070033 Vendor_available *bool
Steven Morelanddca9d4b2019-09-20 18:42:24 +000034 Host_supported *bool
Steven Moreland81079f92018-07-06 16:15:53 -070035 Generated_sources []string
36 Generated_headers []string
Jeongik Chae072e6c2019-02-22 18:36:33 +090037 Shared sharedLib
38 Static staticLib
Jeongik Cha37e2ad52019-04-18 13:44:26 +090039 Static_libs []string
Steven Moreland81079f92018-07-06 16:15:53 -070040 Shared_libs []string
41 Export_shared_lib_headers []string
42 Export_generated_headers []string
Devin Moore7d5a4542020-04-29 15:37:25 -070043 Header_libs []string
Steven Morelandc26d8142018-09-17 14:25:33 -070044 Sdk_version *string
45 Stl *string
Steven Moreland63492e62018-11-14 14:36:13 -080046 Cpp_std *string
Steven Moreland92b3a852018-12-12 13:08:49 -080047 Cflags []string
Jeongik Cha2aa389a2019-10-18 15:57:38 +090048 Stem *string
Jeongik Cha63dbe552020-02-11 07:26:06 +090049 Apex_available []string
Jooyung Han00c33022020-04-16 18:49:11 +090050 Min_sdk_version *string
Jooyung Han1150b2a2020-08-18 15:43:56 +090051 UseApexNameMacro bool
Steven Moreland81079f92018-07-06 16:15:53 -070052}
53
54type javaProperties struct {
Jooyung Han00c33022020-04-16 18:49:11 +090055 Name *string
56 Owner *string
57 Defaults []string
58 Installable *bool
59 Sdk_version *string
60 Platform_apis *bool
61 Srcs []string
62 Static_libs []string
63 Apex_available []string
64 Min_sdk_version *string
Steven Moreland81079f92018-07-06 16:15:53 -070065}
66
Andrei Homescub62afd92020-05-11 19:24:59 -070067type rustProperties struct {
68 Name *string
69 Crate_name string
70 Owner *string
71 Defaults []string
72 Host_supported *bool
73 Srcs []string
74 Rustlibs []string
75 Stem *string
76}
77
Steven Moreland81079f92018-07-06 16:15:53 -070078type phonyProperties struct {
79 Name *string
80 Required []string
81}