blob: 940e7c779670abc201fd57a1362d2ebce6376ffd [file] [log] [blame]
Dan Willemsen218f6562015-07-08 18:13:11 -07001// Copyright 2015 Google Inc. All rights reserved.
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 cc
16
17import (
Dan Willemsen97750522016-02-09 17:43:51 -080018 "fmt"
Dan Willemsen218f6562015-07-08 18:13:11 -070019 "io"
Colin Crossa2344662016-03-24 13:14:12 -070020 "path/filepath"
Dan Willemsen218f6562015-07-08 18:13:11 -070021 "strings"
22
Colin Cross635c3b02016-05-18 15:37:25 -070023 "android/soong/android"
Dan Willemsen218f6562015-07-08 18:13:11 -070024)
25
Jiyong Park27b188b2017-07-18 13:23:39 +090026var (
27 vendorSuffix = ".vendor"
28)
29
Dan Willemsenf2c27d72016-07-13 16:50:22 -070030type AndroidMkContext interface {
31 Target() android.Target
Colin Crossb916a382016-07-29 17:28:03 -070032 subAndroidMk(*android.AndroidMkData, interface{})
Dan Willemsen4416e5d2017-04-06 12:43:22 -070033 vndk() bool
Colin Crossb916a382016-07-29 17:28:03 -070034}
35
36type subAndroidMkProvider interface {
37 AndroidMk(AndroidMkContext, *android.AndroidMkData)
38}
39
40func (c *Module) subAndroidMk(data *android.AndroidMkData, obj interface{}) {
41 if c.subAndroidMkOnce == nil {
42 c.subAndroidMkOnce = make(map[subAndroidMkProvider]bool)
43 }
44 if androidmk, ok := obj.(subAndroidMkProvider); ok {
45 if !c.subAndroidMkOnce[androidmk] {
46 c.subAndroidMkOnce[androidmk] = true
47 androidmk.AndroidMk(c, data)
48 }
49 }
Dan Willemsenf2c27d72016-07-13 16:50:22 -070050}
51
Colin Cross635c3b02016-05-18 15:37:25 -070052func (c *Module) AndroidMk() (ret android.AndroidMkData, err error) {
Colin Crossbc6fb162016-05-24 15:39:04 -070053 if c.Properties.HideFromMake {
54 ret.Disabled = true
55 return ret, nil
56 }
57
Colin Crossca860ac2016-01-04 14:34:37 -080058 ret.OutputFile = c.outputFile
Colin Cross635c3b02016-05-18 15:37:25 -070059 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) (err error) {
Colin Cross30d5f512016-05-03 18:02:42 -070060 fmt.Fprintln(w, "LOCAL_SANITIZE := never")
Colin Crossc99deeb2016-04-11 15:06:20 -070061 if len(c.Properties.AndroidMkSharedLibs) > 0 {
62 fmt.Fprintln(w, "LOCAL_SHARED_LIBRARIES := "+strings.Join(c.Properties.AndroidMkSharedLibs, " "))
Colin Crossca860ac2016-01-04 14:34:37 -080063 }
Dan Willemsen4416e5d2017-04-06 12:43:22 -070064 if c.Target().Os == android.Android && c.Properties.Sdk_version != "" && !c.vndk() {
Dan Willemsena96ff642016-06-07 12:34:45 -070065 fmt.Fprintln(w, "LOCAL_SDK_VERSION := "+c.Properties.Sdk_version)
66 fmt.Fprintln(w, "LOCAL_NDK_STL_VARIANT := none")
67 } else {
68 // These are already included in LOCAL_SHARED_LIBRARIES
69 fmt.Fprintln(w, "LOCAL_CXX_STL := none")
70 }
Dan Willemsen4416e5d2017-04-06 12:43:22 -070071 if c.vndk() {
72 fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
73 }
Colin Crossca860ac2016-01-04 14:34:37 -080074 return nil
75 })
76
Colin Crossca860ac2016-01-04 14:34:37 -080077 for _, feature := range c.features {
Colin Crossb916a382016-07-29 17:28:03 -070078 c.subAndroidMk(&ret, feature)
Colin Crossca860ac2016-01-04 14:34:37 -080079 }
80
Colin Crossb916a382016-07-29 17:28:03 -070081 c.subAndroidMk(&ret, c.compiler)
82 c.subAndroidMk(&ret, c.linker)
Colin Cross8ff9ef42017-05-08 13:44:11 -070083 if c.sanitize != nil {
84 c.subAndroidMk(&ret, c.sanitize)
85 }
Colin Crossb916a382016-07-29 17:28:03 -070086 c.subAndroidMk(&ret, c.installer)
Colin Crossca860ac2016-01-04 14:34:37 -080087
Jiyong Park27b188b2017-07-18 13:23:39 +090088 if c.vndk() && Bool(c.Properties.Vendor_available) {
89 // .vendor suffix is added only when we will have two variants: core and vendor.
90 // The suffix is not added for vendor-only module.
91 ret.SubName += vendorSuffix
Dan Willemsen4416e5d2017-04-06 12:43:22 -070092 }
93
Colin Crossca860ac2016-01-04 14:34:37 -080094 return ret, nil
95}
96
Anders Lewisb97e8182017-07-14 15:20:13 -070097func androidMkWriteTestData(data android.Paths, ctx AndroidMkContext, ret *android.AndroidMkData) {
98 var testFiles []string
99 for _, d := range data {
100 rel := d.Rel()
101 path := d.String()
102 if !strings.HasSuffix(path, rel) {
103 panic(fmt.Errorf("path %q does not end with %q", path, rel))
104 }
105 path = strings.TrimSuffix(path, rel)
106 testFiles = append(testFiles, path+":"+rel)
107 }
108 if len(testFiles) > 0 {
109 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
110 fmt.Fprintln(w, "LOCAL_TEST_DATA := "+strings.Join(testFiles, " "))
111 return nil
112 })
113 }
114}
115
Dan Willemsen58539402017-03-19 13:44:32 -0700116func (library *libraryDecorator) androidMkWriteExportedFlags(w io.Writer) {
117 exportedFlags := library.exportedFlags()
118 if len(exportedFlags) > 0 {
119 fmt.Fprintln(w, "LOCAL_EXPORT_CFLAGS :=", strings.Join(exportedFlags, " "))
Dan Willemsend5781342017-02-15 16:15:21 -0800120 }
Dan Willemsen58539402017-03-19 13:44:32 -0700121 exportedFlagsDeps := library.exportedFlagsDeps()
122 if len(exportedFlagsDeps) > 0 {
123 fmt.Fprintln(w, "LOCAL_EXPORT_C_INCLUDE_DEPS :=", strings.Join(exportedFlagsDeps.Strings(), " "))
124 }
125}
Dan Willemsend5781342017-02-15 16:15:21 -0800126
Dan Willemsen58539402017-03-19 13:44:32 -0700127func (library *libraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Dan Willemsend5781342017-02-15 16:15:21 -0800128 if library.static() {
129 ret.Class = "STATIC_LIBRARIES"
130 } else if library.shared() {
131 ctx.subAndroidMk(ret, &library.stripper)
132 ctx.subAndroidMk(ret, &library.relocationPacker)
133
134 ret.Class = "SHARED_LIBRARIES"
135 } else if library.header() {
136 ret.Custom = func(w io.Writer, name, prefix, moduleDir string) error {
137 fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)")
138 fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir)
139 fmt.Fprintln(w, "LOCAL_MODULE :=", name)
140
141 archStr := ctx.Target().Arch.ArchType.String()
142 var host bool
143 switch ctx.Target().Os.Class {
144 case android.Host:
145 fmt.Fprintln(w, "LOCAL_MODULE_HOST_ARCH := ", archStr)
146 host = true
147 case android.HostCross:
148 fmt.Fprintln(w, "LOCAL_MODULE_HOST_CROSS_ARCH := ", archStr)
149 host = true
150 case android.Device:
151 fmt.Fprintln(w, "LOCAL_MODULE_TARGET_ARCH := ", archStr)
152 }
153
154 if host {
155 fmt.Fprintln(w, "LOCAL_MODULE_HOST_OS :=", ctx.Target().Os.String())
156 fmt.Fprintln(w, "LOCAL_IS_HOST_MODULE := true")
Dan Willemsen4416e5d2017-04-06 12:43:22 -0700157 } else if ctx.vndk() {
158 fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
Dan Willemsend5781342017-02-15 16:15:21 -0800159 }
160
Dan Willemsen58539402017-03-19 13:44:32 -0700161 library.androidMkWriteExportedFlags(w)
Dan Willemsend5781342017-02-15 16:15:21 -0800162 fmt.Fprintln(w, "include $(BUILD_HEADER_LIBRARY)")
163
164 return nil
165 }
166
167 return
168 }
169
170 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
Dan Willemsen58539402017-03-19 13:44:32 -0700171 library.androidMkWriteExportedFlags(w)
Jayant Chowdhary3e231fd2017-02-08 13:45:53 -0800172 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES := ")
173 if library.sAbiOutputFile.Valid() {
174 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES += ", library.sAbiOutputFile.String())
175 if library.sAbiDiff.Valid() && !library.static() {
176 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES += ", library.sAbiDiff.String())
Jayant Chowdhary715cac32017-04-20 06:53:59 -0700177 fmt.Fprintln(w, "HEADER_ABI_DIFFS += ", library.sAbiDiff.String())
Jayant Chowdhary3e231fd2017-02-08 13:45:53 -0800178 }
179 }
Dan Willemsen218f6562015-07-08 18:13:11 -0700180
Dan Willemsen1d577e22016-08-29 15:53:15 -0700181 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+outputFile.Ext())
Dan Willemsen218f6562015-07-08 18:13:11 -0700182
Dan Willemsen97750522016-02-09 17:43:51 -0800183 fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
Dan Willemsen218f6562015-07-08 18:13:11 -0700184
Dan Willemsen581341d2017-02-09 16:16:31 -0800185 if library.coverageOutputFile.Valid() {
186 fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE :=", library.coverageOutputFile.String())
187 }
188
Dan Willemsen97750522016-02-09 17:43:51 -0800189 return nil
Colin Crossca860ac2016-01-04 14:34:37 -0800190 })
Colin Crossb916a382016-07-29 17:28:03 -0700191
Colin Cross4ac44802017-02-15 14:06:12 -0800192 if library.shared() {
Colin Crossb916a382016-07-29 17:28:03 -0700193 ctx.subAndroidMk(ret, library.baseInstaller)
194 }
Dan Willemsen218f6562015-07-08 18:13:11 -0700195}
196
Dan Willemsenf2c27d72016-07-13 16:50:22 -0700197func (object *objectLinker) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Nan Zhang6d34b302017-02-04 17:47:46 -0800198 ret.Custom = func(w io.Writer, name, prefix, moduleDir string) error {
Colin Crossca860ac2016-01-04 14:34:37 -0800199 out := ret.OutputFile.Path()
Dan Willemsen218f6562015-07-08 18:13:11 -0700200
Dan Willemsen72d39932016-07-08 23:23:48 -0700201 fmt.Fprintln(w, "\n$("+prefix+"OUT_INTERMEDIATE_LIBRARIES)/"+name+objectExtension+":", out.String())
Dan Willemsen97750522016-02-09 17:43:51 -0800202 fmt.Fprintln(w, "\t$(copy-file-to-target)")
203
204 return nil
Dan Willemsen218f6562015-07-08 18:13:11 -0700205 }
Dan Willemsen218f6562015-07-08 18:13:11 -0700206}
207
Colin Crossb916a382016-07-29 17:28:03 -0700208func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Colin Cross1e7d3702016-08-24 15:25:47 -0700209 ctx.subAndroidMk(ret, binary.baseInstaller)
Colin Crossb916a382016-07-29 17:28:03 -0700210 ctx.subAndroidMk(ret, &binary.stripper)
Dan Willemsen7517ed02016-06-10 17:20:30 -0700211
Dan Willemsen218f6562015-07-08 18:13:11 -0700212 ret.Class = "EXECUTABLES"
Colin Cross635c3b02016-05-18 15:37:25 -0700213 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
Dan Willemsen97750522016-02-09 17:43:51 -0800214 fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
Colin Crossb916a382016-07-29 17:28:03 -0700215 if Bool(binary.Properties.Static_executable) {
Colin Cross3854a602016-01-11 12:49:11 -0800216 fmt.Fprintln(w, "LOCAL_FORCE_STATIC_EXECUTABLE := true")
217 }
Colin Cross9b09f242016-12-07 13:37:42 -0800218
219 if len(binary.symlinks) > 0 {
220 fmt.Fprintln(w, "LOCAL_MODULE_SYMLINKS := "+strings.Join(binary.symlinks, " "))
221 }
222
Dan Willemsen581341d2017-02-09 16:16:31 -0800223 if binary.coverageOutputFile.Valid() {
224 fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE :=", binary.coverageOutputFile.String())
225 }
Dan Willemsen97750522016-02-09 17:43:51 -0800226 return nil
Colin Crossca860ac2016-01-04 14:34:37 -0800227 })
228}
229
Colin Crossb916a382016-07-29 17:28:03 -0700230func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
231 ctx.subAndroidMk(ret, benchmark.binaryDecorator)
Dan Willemsen58a5c8b2017-05-23 15:10:37 -0700232 ret.Class = "NATIVE_TESTS"
Colin Crosse28f4e22017-04-24 18:10:29 -0700233 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
234 if len(benchmark.Properties.Test_suites) > 0 {
235 fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
236 strings.Join(benchmark.Properties.Test_suites, " "))
237 }
238 return nil
239 })
Anders Lewisb97e8182017-07-14 15:20:13 -0700240
241 androidMkWriteTestData(benchmark.data, ctx, ret)
Colin Crossb916a382016-07-29 17:28:03 -0700242}
243
244func (test *testBinary) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
245 ctx.subAndroidMk(ret, test.binaryDecorator)
Dan Willemsen0fe72532017-01-17 13:25:49 -0800246 ret.Class = "NATIVE_TESTS"
Colin Crossb916a382016-07-29 17:28:03 -0700247 if Bool(test.Properties.Test_per_src) {
248 ret.SubName = "_" + test.binaryDecorator.Properties.Stem
Colin Crossa2344662016-03-24 13:14:12 -0700249 }
Colin Crossfaeb7aa2017-02-01 14:12:44 -0800250
Colin Crossa929db02017-03-27 16:27:50 -0700251 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
252 if len(test.Properties.Test_suites) > 0 {
Dan Shi4df566d2017-04-03 12:29:25 -0700253 fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
Colin Crossa929db02017-03-27 16:27:50 -0700254 strings.Join(test.Properties.Test_suites, " "))
255 }
256 return nil
257 })
258
Anders Lewisb97e8182017-07-14 15:20:13 -0700259 androidMkWriteTestData(test.data, ctx, ret)
Colin Crossa2344662016-03-24 13:14:12 -0700260}
261
Colin Crossb916a382016-07-29 17:28:03 -0700262func (test *testLibrary) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
263 ctx.subAndroidMk(ret, test.libraryDecorator)
264}
Dan Willemsene7932e82016-05-16 15:56:53 -0700265
Colin Crossb916a382016-07-29 17:28:03 -0700266func (library *toolchainLibraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
267 ret.Class = "STATIC_LIBRARIES"
Colin Cross635c3b02016-05-18 15:37:25 -0700268 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
Dan Willemsene7932e82016-05-16 15:56:53 -0700269 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+outputFile.Ext())
Dan Willemsene7932e82016-05-16 15:56:53 -0700270 fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
271
272 return nil
273 })
274}
275
Dan Willemsenf2c27d72016-07-13 16:50:22 -0700276func (stripper *stripper) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
277 // Make only supports stripping target modules
278 if ctx.Target().Os != android.Android {
279 return
280 }
281
Dan Willemsen7517ed02016-06-10 17:20:30 -0700282 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
283 if stripper.StripProperties.Strip.None {
284 fmt.Fprintln(w, "LOCAL_STRIP_MODULE := false")
285 } else if stripper.StripProperties.Strip.Keep_symbols {
286 fmt.Fprintln(w, "LOCAL_STRIP_MODULE := keep_symbols")
Dan Willemsenf2c27d72016-07-13 16:50:22 -0700287 } else {
288 fmt.Fprintln(w, "LOCAL_STRIP_MODULE := mini-debug-info")
Dan Willemsen7517ed02016-06-10 17:20:30 -0700289 }
290
291 return nil
292 })
293}
294
Dan Willemsen394e9dc2016-09-14 15:04:48 -0700295func (packer *relocationPacker) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
296 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
297 if packer.Properties.PackingRelocations {
298 fmt.Fprintln(w, "LOCAL_PACK_MODULE_RELOCATIONS := true")
299 }
300 return nil
301 })
302}
303
Dan Willemsenf2c27d72016-07-13 16:50:22 -0700304func (installer *baseInstaller) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Dan Willemsen03ce63e2016-09-29 12:17:49 -0700305 // Soong installation is only supported for host modules. Have Make
306 // installation trigger Soong installation.
307 if ctx.Target().Os.Class == android.Host {
308 ret.OutputFile = android.OptionalPathForPath(installer.path)
309 }
310
Colin Cross635c3b02016-05-18 15:37:25 -0700311 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
Colin Crossa2344662016-03-24 13:14:12 -0700312 path := installer.path.RelPathString()
Colin Crossbf305de2016-03-29 17:32:06 -0700313 dir, file := filepath.Split(path)
314 stem := strings.TrimSuffix(file, filepath.Ext(file))
Dan Willemsen1d577e22016-08-29 15:53:15 -0700315 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+filepath.Ext(file))
Colin Crosse14388b2016-05-03 14:08:40 -0700316 fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
Colin Crossbf305de2016-03-29 17:32:06 -0700317 fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
Colin Crossa2344662016-03-24 13:14:12 -0700318 return nil
319 })
Dan Willemsen218f6562015-07-08 18:13:11 -0700320}
Dan Albert914449f2016-06-17 16:45:24 -0700321
Colin Crossb916a382016-07-29 17:28:03 -0700322func (c *stubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Dan Willemsen01a90592017-04-07 15:21:13 -0700323 ret.SubName = ndkLibrarySuffix + "." + c.properties.ApiLevel
Dan Albert705c84b2016-08-08 10:45:03 -0700324 ret.Class = "SHARED_LIBRARIES"
Dan Albert914449f2016-06-17 16:45:24 -0700325
Dan Albert914449f2016-06-17 16:45:24 -0700326 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
Colin Crossb916a382016-07-29 17:28:03 -0700327 path, file := filepath.Split(c.installPath)
Dan Albert914449f2016-06-17 16:45:24 -0700328 stem := strings.TrimSuffix(file, filepath.Ext(file))
Dan Albertcdd4c242016-08-08 14:44:56 -0700329 fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
330 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+outputFile.Ext())
Dan Albert914449f2016-06-17 16:45:24 -0700331 fmt.Fprintln(w, "LOCAL_MODULE_PATH := "+path)
332 fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
Dan Willemsen866810d2017-04-04 14:13:45 -0700333 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
Dan Albert914449f2016-06-17 16:45:24 -0700334
335 // Prevent make from installing the libraries to obj/lib (since we have
336 // dozens of libraries with the same name, they'll clobber each other
337 // and the real versions of the libraries from the platform).
338 fmt.Fprintln(w, "LOCAL_COPY_TO_INTERMEDIATE_LIBRARIES := false")
339 return nil
340 })
341}
Dan Willemsenb916b802017-03-19 13:44:32 -0700342
343func (c *llndkStubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
344 ret.Class = "SHARED_LIBRARIES"
Dan Willemsen4416e5d2017-04-06 12:43:22 -0700345 ret.SubName = ".vendor"
Dan Willemsenb916b802017-03-19 13:44:32 -0700346
347 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
348 c.libraryDecorator.androidMkWriteExportedFlags(w)
349
350 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+outputFile.Ext())
351 fmt.Fprintln(w, "LOCAL_STRIP_MODULE := false")
352 fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
353 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
354 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
Dan Willemsen4416e5d2017-04-06 12:43:22 -0700355 fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
Dan Willemsenb916b802017-03-19 13:44:32 -0700356
357 return nil
358 })
359}