• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15package aidl
16
17type nameProperties struct {
18	Name *string
19}
20
21type hostProperties struct {
22	Cflags []string
23}
24type perTargetProperties struct {
25	Enabled *bool
26}
27
28type ccTargetProperties struct {
29	Host   hostProperties
30	Darwin perTargetProperties
31}
32
33type rustTargetProperties struct {
34	Darwin perTargetProperties
35}
36
37type ccProperties struct {
38	Name                      *string
39	Owner                     *string
40	Defaults                  []string
41	Double_loadable           *bool
42	Vendor_available          *bool
43	Odm_available             *bool
44	Product_available         *bool
45	Host_supported            *bool
46	Generated_sources         []string
47	Generated_headers         []string
48	Shared_libs               []string
49	Export_shared_lib_headers []string
50	Export_generated_headers  []string
51	Header_libs               []string
52	Sdk_version               *string
53	Stl                       *string
54	Cpp_std                   *string
55	Cflags                    []string
56	Stem                      *string
57	Apex_available            []string
58	Min_sdk_version           *string
59	UseApexNameMacro          bool
60	Target                    ccTargetProperties
61	Tidy                      *bool
62	Tidy_flags                []string
63	Tidy_checks_as_errors     []string
64}
65
66type javaProperties struct {
67	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
77}
78
79type 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
88	Target         rustTargetProperties
89	Apex_available []string
90}
91
92type phonyProperties struct {
93	Name     *string
94	Required []string
95}
96