Lines Matching refs:w
76 func(w io.Writer, outputFile android.Path) {
78 fmt.Fprintln(w, "LOCAL_LOGTAGS_FILES :=", strings.Join(c.Properties.Logtags, " "))
81 … fmt.Fprintln(w, "LOCAL_SHARED_LIBRARIES := "+strings.Join(c.Properties.AndroidMkSharedLibs, " "))
84 … fmt.Fprintln(w, "LOCAL_STATIC_LIBRARIES := "+strings.Join(c.Properties.AndroidMkStaticLibs, " "))
87 …fmt.Fprintln(w, "LOCAL_WHOLE_STATIC_LIBRARIES := "+strings.Join(c.Properties.AndroidMkWholeStaticL…
89 fmt.Fprintln(w, "LOCAL_SOONG_LINK_TYPE :=", c.getMakeLinkType())
91 fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
131 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
132 fmt.Fprintln(w, "LOCAL_TEST_DATA := "+strings.Join(testFiles, " "))
137 func (library *libraryDecorator) androidMkWriteExportedFlags(w io.Writer) {
140 fmt.Fprintln(w, "LOCAL_EXPORT_CFLAGS :=", strings.Join(exportedFlags, " "))
144 fmt.Fprintln(w, "LOCAL_EXPORT_C_INCLUDE_DEPS :=", strings.Join(exportedFlagsDeps.Strings(), " "))
153 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
154 fmt.Fprintln(w, "LOCAL_SOONG_TOC :=", library.toc().String())
156 fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", library.unstrippedOutputFile.String())
159 fmt.Fprintln(w, "LOCAL_OVERRIDES_MODULES := "+strings.Join(library.Properties.Overrides, " "))
162 fmt.Fprintln(w, "LOCAL_POST_INSTALL_CMD := "+strings.Join(library.post_install_cmds, "&& "))
170 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
171 library.androidMkWriteExportedFlags(w)
172 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES := ")
174 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES += ", library.sAbiOutputFile.String())
176 fmt.Fprintln(w, "LOCAL_ADDITIONAL_DEPENDENCIES += ", library.sAbiDiff.String())
177 fmt.Fprintln(w, "HEADER_ABI_DIFFS += ", library.sAbiDiff.String())
183 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
186 fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE :=", library.coverageOutputFile.String())
190 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
191 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
192 fmt.Fprintln(w, "LOCAL_VNDK_DEPEND_ON_CORE_VARIANT := true")
199 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
200 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
202 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
216 ret.Custom = func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) {
220 fmt.Fprintf(w, "\n%s := %s\n", varname, out.String())
221 fmt.Fprintln(w, ".KATI_READONLY: "+varname)
230 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
231 fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", binary.unstrippedOutputFile.String())
233 fmt.Fprintln(w, "LOCAL_MODULE_SYMLINKS := "+strings.Join(binary.symlinks, " "))
237 fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE :=", binary.coverageOutputFile.String())
241 fmt.Fprintln(w, "LOCAL_OVERRIDES_MODULES := "+strings.Join(binary.Properties.Overrides, " "))
244 fmt.Fprintln(w, "LOCAL_POST_INSTALL_CMD := "+strings.Join(binary.post_install_cmds, "&& "))
252 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
254 fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
258 fmt.Fprintln(w, "LOCAL_FULL_TEST_CONFIG :=", benchmark.testConfig.String())
260 fmt.Fprintln(w, "LOCAL_NATIVE_BENCHMARK := true")
273 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
275 fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
279 fmt.Fprintln(w, "LOCAL_FULL_TEST_CONFIG :=", test.testConfig.String())
292 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
294 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
305 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
309 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
310 fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
311 fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
319 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
322 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
323 fmt.Fprintln(w, "LOCAL_MODULE_PATH := "+path)
324 fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
325 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
333 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
334 c.libraryDecorator.androidMkWriteExportedFlags(w)
337 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
338 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
339 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
340 fmt.Fprintln(w, "LOCAL_SOONG_TOC :=", c.toc().String())
349 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
350 c.libraryDecorator.androidMkWriteExportedFlags(w)
355 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
356 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
357 fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
358 fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
370 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
371 c.libraryDecorator.androidMkWriteExportedFlags(w)
374 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
375 fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
376 fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
381 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
383 fmt.Fprintln(w, "LOCAL_CHECK_ELF_FILES :=", *p.properties.Check_elf_files)
389 fmt.Fprintln(w, "LOCAL_CHECK_ELF_FILES := true")
409 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
412 fmt.Fprintln(w, "LOCAL_ALLOW_UNDEFINED_SYMBOLS :=", *allow)