Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | package aidl |
| 16 | |
| 17 | type nameProperties struct { |
| 18 | Name *string |
| 19 | } |
Steven Moreland | a6fe405 | 2020-11-03 19:52:05 +0000 | [diff] [blame] | 20 | |
Jeongik Cha | 52e9802 | 2021-01-20 18:37:20 +0900 | [diff] [blame] | 21 | type hostProperties struct { |
| 22 | Cflags []string |
| 23 | } |
Jiyong Park | 6007f25 | 2021-07-16 17:59:19 +0900 | [diff] [blame] | 24 | |
| 25 | type darwinProperties struct { |
Steven Moreland | a6fe405 | 2020-11-03 19:52:05 +0000 | [diff] [blame] | 26 | Enabled *bool |
| 27 | } |
| 28 | |
Jiyong Park | 6007f25 | 2021-07-16 17:59:19 +0900 | [diff] [blame] | 29 | type imageProperties struct { |
| 30 | Shared_libs []string |
| 31 | Header_libs []string |
| 32 | Exclude_shared_libs []string |
| 33 | Cflags []string |
| 34 | } |
| 35 | |
Jeongik Cha | 52e9802 | 2021-01-20 18:37:20 +0900 | [diff] [blame] | 36 | type ccTargetProperties struct { |
Jiyong Park | 6007f25 | 2021-07-16 17:59:19 +0900 | [diff] [blame] | 37 | Host hostProperties |
| 38 | Darwin darwinProperties |
| 39 | Platform imageProperties |
| 40 | Vendor imageProperties |
| 41 | Product imageProperties |
Jeongik Cha | 52e9802 | 2021-01-20 18:37:20 +0900 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | type rustTargetProperties struct { |
Jiyong Park | 6007f25 | 2021-07-16 17:59:19 +0900 | [diff] [blame] | 45 | Darwin darwinProperties |
Steven Moreland | a6fe405 | 2020-11-03 19:52:05 +0000 | [diff] [blame] | 46 | } |
| 47 | |
Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 48 | type ccProperties struct { |
| 49 | Name *string |
| 50 | Owner *string |
| 51 | Defaults []string |
Steven Moreland | feacc76 | 2020-09-29 01:35:30 +0000 | [diff] [blame] | 52 | Double_loadable *bool |
Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 53 | Vendor_available *bool |
Justin Yun | 08cb78a | 2021-01-25 17:24:24 +0900 | [diff] [blame] | 54 | Odm_available *bool |
Justin Yun | bc12140 | 2020-10-29 17:07:33 +0900 | [diff] [blame] | 55 | Product_available *bool |
Jiyong Park | cf18b46 | 2021-10-21 10:56:55 +0900 | [diff] [blame] | 56 | Recovery_available *bool |
Steven Moreland | dca9d4b | 2019-09-20 18:42:24 +0000 | [diff] [blame] | 57 | Host_supported *bool |
Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 58 | Generated_sources []string |
| 59 | Generated_headers []string |
| 60 | Shared_libs []string |
| 61 | Export_shared_lib_headers []string |
| 62 | Export_generated_headers []string |
Devin Moore | 7d5a454 | 2020-04-29 15:37:25 -0700 | [diff] [blame] | 63 | Header_libs []string |
Steven Moreland | c26d814 | 2018-09-17 14:25:33 -0700 | [diff] [blame] | 64 | Sdk_version *string |
| 65 | Stl *string |
Steven Moreland | 63492e6 | 2018-11-14 14:36:13 -0800 | [diff] [blame] | 66 | Cpp_std *string |
Steven Moreland | 92b3a85 | 2018-12-12 13:08:49 -0800 | [diff] [blame] | 67 | Cflags []string |
Jeongik Cha | 2aa389a | 2019-10-18 15:57:38 +0900 | [diff] [blame] | 68 | Stem *string |
Jeongik Cha | 63dbe55 | 2020-02-11 07:26:06 +0900 | [diff] [blame] | 69 | Apex_available []string |
Jooyung Han | 00c3302 | 2020-04-16 18:49:11 +0900 | [diff] [blame] | 70 | Min_sdk_version *string |
Jeongik Cha | 52e9802 | 2021-01-20 18:37:20 +0900 | [diff] [blame] | 71 | Target ccTargetProperties |
Jiyong Park | dd57f1a | 2020-11-16 20:19:55 +0900 | [diff] [blame] | 72 | Tidy *bool |
| 73 | Tidy_flags []string |
| 74 | Tidy_checks_as_errors []string |
Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | type javaProperties struct { |
Jooyung Han | 00c3302 | 2020-04-16 18:49:11 +0900 | [diff] [blame] | 78 | 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 Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 88 | } |
| 89 | |
Andrei Homescu | b62afd9 | 2020-05-11 19:24:59 -0700 | [diff] [blame] | 90 | type rustProperties struct { |
Janis Danisevskis | 85252b9 | 2021-11-09 07:29:40 -0800 | [diff] [blame] | 91 | 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 Homescu | b62afd9 | 2020-05-11 19:24:59 -0700 | [diff] [blame] | 103 | } |
| 104 | |
Steven Moreland | 81079f9 | 2018-07-06 16:15:53 -0700 | [diff] [blame] | 105 | type phonyProperties struct { |
| 106 | Name *string |
| 107 | Required []string |
| 108 | } |