Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 93) sorted by relevance

1234

/build/soong/cc/
Dandroidmk.go58 func (c *Module) subAndroidMk(entries *android.AndroidMkEntries, obj interface{}) {
65 androidmk.AndroidMkEntries(c, entries)
77 entries := android.AndroidMkEntries{
89 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
91 entries.AddStrings("LOCAL_SOONG_LOGTAGS_FILES", c.logtagsPaths.Strings()...)
99entries.SetString("LOCAL_SYSTEM_SHARED_LIBRARIES", strings.Join(c.Properties.AndroidMkSystemShared…
101 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...)
104 entries.AddStrings("LOCAL_RUNTIME_LIBRARIES", c.Properties.AndroidMkRuntimeLibs...)
106 entries.SetString("LOCAL_SOONG_LINK_TYPE", c.makeLinkType)
108 entries.SetBool("LOCAL_IN_VENDOR", true)
[all …]
/build/soong/java/
Dandroidmk.go46 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
47 entries.SetBool("LOCAL_IS_HOST_MODULE", true)
48 entries.SetPath("LOCAL_PREBUILT_MODULE_FILE", output)
50 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile.Path())
52 entries.SetPath("LOCAL_SOONG_INSTALLED_MODULE", library.hostdexInstallFile)
53 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile)
54 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", library.implementationAndResourcesJar)
55 entries.SetString("LOCAL_MODULE_STEM", library.Stem()+"-hostdex")
92 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
94 entries.AddStrings("LOCAL_SOONG_LOGTAGS_FILES", library.logtagsSrcs.Strings()...)
[all …]
Dandroidmk_test.go35 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
38 actual := entries.EntryMap["LOCAL_REQUIRED_MODULES"]
167 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
168 actual := entries.EntryMap["LOCAL_REQUIRED_MODULES"]
186 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
188 actualSoongDexJar := entries.EntryMap["LOCAL_SOONG_DEX_JAR"]
202 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
205 actual := entries.EntryMap["LOCAL_DISABLE_TEST_CONFIG"]
250 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
251 actual := entries.EntryMap["LOCAL_OVERRIDES_PACKAGES"]
[all …]
Dsystemserver_classpath_fragment_test.go71 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
72 android.AssertIntEquals(t, "AndroidMkEntries count", 1, len(entries))
87 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
88 got := entries[0]
Ddexpreopt_test.go357 for _, entries := range entriesList {
358 if strings.Contains(entries.EntryMap["LOCAL_MODULE"][0], "-dexpreopt-") {
359 results = append(results, entries)
367 entries android.AndroidMkEntries) {
369 entries.EntryMap["LOCAL_MODULE"][0])
372 entries.EntryMap["LOCAL_MODULE_CLASS"][0])
375 entries.EntryMap["LOCAL_PREBUILT_MODULE_FILE"][0], expectedPrebuiltModuleFile)
378 entries.EntryMap["LOCAL_MODULE_PATH"][0], expectedModulePath)
381 expectedInstalledModuleStem, entries.EntryMap["LOCAL_INSTALLED_MODULE_STEM"][0])
384 "false", entries.EntryMap["LOCAL_NOT_AVAILABLE_FOR_PLATFORM"][0])
Dplatform_bootclasspath_test.go225 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
226 android.AssertIntEquals(t, "AndroidMkEntries count", 2, len(entries))
234 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
235 got := entries[0].OutputFile
252 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
253 got := entries[1]
299 entries := android.AndroidMkEntriesForTest(t, result.TestContext, platformBootclasspath)
300 goals := entries[0].GetDistForGoals(platformBootclasspath)
/build/soong/rust/
Dandroidmk.go59 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
60 entries.AddStrings("LOCAL_RLIB_LIBRARIES", mod.Properties.AndroidMkRlibs...)
61 entries.AddStrings("LOCAL_DYLIB_LIBRARIES", mod.Properties.AndroidMkDylibs...)
62 entries.AddStrings("LOCAL_PROC_MACRO_LIBRARIES", mod.Properties.AndroidMkProcMacroLibs...)
63 entries.AddStrings("LOCAL_SHARED_LIBRARIES", mod.transitiveAndroidMkSharedLibs.ToList()...)
64 entries.AddStrings("LOCAL_STATIC_LIBRARIES", mod.Properties.AndroidMkStaticLibs...)
65 entries.AddStrings("LOCAL_HEADER_LIBRARIES", mod.Properties.AndroidMkHeaderLibs...)
66 entries.AddStrings("LOCAL_SOONG_LINK_TYPE", mod.makeLinkType)
68 entries.SetBool("LOCAL_IN_VENDOR", true)
70 entries.SetBool("LOCAL_IN_PRODUCT", true)
[all …]
Dtest_test.go189 entries := android.AndroidMkEntriesForTest(t, ctx, module)[0]
190 if !strings.HasSuffix(entries.EntryMap["LOCAL_TEST_DATA"][0], ":test_lib.so:lib64/foo/bar/baz") {
192 " but was '%s'", entries.EntryMap["LOCAL_TEST_DATA"][0])
194 …if !strings.HasSuffix(entries.EntryMap["LOCAL_TEST_DATA"][1], ":librust_test_lib.so:lib64/foo/bar/…
196 " but was '%s'", entries.EntryMap["LOCAL_TEST_DATA"][1])
198 if !strings.HasSuffix(entries.EntryMap["LOCAL_TEST_DATA"][2], ":rusty:foo/bar/baz") {
200 " but was '%s'", entries.EntryMap["LOCAL_TEST_DATA"][2])
/build/soong/ui/tracer/
Dmicrofactory.go31 func (t *tracerImpl) importEvents(entries []*eventEntry) {
32 sort.Slice(entries, func(i, j int) bool {
33 return entries[i].Begin < entries[j].Begin
37 for _, entry := range entries {
74 entries := []*eventEntry{}
91 entries = append(entries, &eventEntry{
100 t.importEvents(entries)
/build/make/tools/releasetools/
Dimg_from_target_files.py91 def CopyZipEntries(input_file, output_file, entries): argument
103 logger.info('Writing %d entries to archive...', len(entries))
105 cmd.extend(entries)
128 entries = [
132 entries.append('META/fastboot-info.txt:fastboot-info.txt')
140 entries.append('PREBUILT_IMAGES/kernel_16k:kernel_16k')
142 entries.append('PREBUILT_IMAGES/ramdisk_16k.img:ramdisk_16k.img')
161 entries.append('{}:{}'.format(image_path, image))
166 entries.append('{}:{}'.format(entry, image))
167 return entries
[all …]
Dtest_non_ab_ota.py38 entries = ()
39 zip_file = self.construct_zip_package(entries)
46 self._verify_entries(zip_file, tokens, entries)
49 entries = [
53 zip_file = self.construct_zip_package(entries)
63 entries[0] = 'metadata'
64 entries[1] = 'metadata.pb'
65 self._verify_entries(zip_file, tokens, entries)
68 entries = (
72 zip_file = self.construct_zip_package(entries)
/build/soong/tradefed_modules/
Dtest_module_config_test.go70 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, derived.Module())[0]
78 entries.EntryMap["LOCAL_SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES"])
79 android.AssertArrayString(t, "", entries.EntryMap["LOCAL_COMPATIBILITY_SUPPORT_FILES"], []string{})
81 android.AssertArrayString(t, "", entries.EntryMap["LOCAL_REQUIRED_MODULES"], []string{"base"})
82 …android.AssertArrayString(t, "", entries.EntryMap["LOCAL_CERTIFICATE"], []string{"build/make/targe…
83 android.AssertStringEquals(t, "", entries.Class, "APPS")
86 android.AssertArrayString(t, "", entries.EntryMap["LOCAL_MODULE_TAGS"], []string{"tests"})
88 …android.AssertStringMatches(t, "", entries.EntryMap["LOCAL_FULL_TEST_CONFIG"][0], "derived_test/an…
92 for i, e := range entries.FooterLinesForTests() {
249 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, derived.Module())[0]
[all …]
Dtest_module_config.go217 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
218 entries.SetPath("LOCAL_FULL_TEST_CONFIG", m.testConfig)
219 entries.SetString("LOCAL_MODULE_TAGS", "tests")
220 entries.SetString("LOCAL_TEST_MODULE_CONFIG_BASE", *m.Base)
222 entries.SetString("LOCAL_SDK_VERSION", m.provider.LocalSdkVersion)
225 entries.SetString("LOCAL_CERTIFICATE", m.provider.LocalCertificate)
228 entries.SetBoolIfTrue("LOCAL_IS_UNIT_TEST", m.provider.IsUnitTest)
229 entries.AddCompatibilityTestSuites(m.tradefedProperties.Test_suites...)
237 entries.SetString("LOCAL_MODULE_STEM", fmt.Sprintf("UNUSED-%s", *m.Base))
248entries.AddStrings("LOCAL_SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES", m.supportFiles.Strings()..…
/build/soong/python/
Dbinary.go149 entries := android.AndroidMkEntries{OutputFile: android.OptionalPathForPath(p.installSource)}
151 entries.Class = "EXECUTABLES"
153 entries.ExtraEntries = append(entries.ExtraEntries,
154 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
155 entries.AddCompatibilityTestSuites(p.binaryProperties.Test_suites...)
158 entries.Required = append(entries.Required, "libc++")
159 entries.ExtraEntries = append(entries.ExtraEntries,
160 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
164 entries.SetString("LOCAL_MODULE_SUFFIX", filepath.Ext(file))
165 entries.SetString("LOCAL_MODULE_PATH", path)
[all …]
Dtest.go212 entries := &entriesList[0]
214 entries.Class = "NATIVE_TESTS"
216 entries.ExtraEntries = append(entries.ExtraEntries,
217 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
220 entries.SetString("LOCAL_FULL_TEST_CONFIG", p.testConfig.String())
226 entries.SetString("LOCAL_TEST_CONFIG_SUFFIX", "v2")
229entries.SetBoolIfTrue("LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG", !BoolDefault(p.binaryProperties.A…
231 p.testProperties.Test_options.SetAndroidMkEntries(entries)
/build/soong/finder/fs/
Dreaddir.go44 entries := make([]*dirEntryInfo, 0, 100)
56 entries = parseDirent(buf[:n], entries)
59 ret := make([]DirEntryInfo, 0, len(entries))
61 for _, entry := range entries {
81 func parseDirent(buf []byte, entries []*dirEntryInfo) []*dirEntryInfo {
85 return entries
120 entries = append(entries, &dirEntryInfo{string(name), mode, modeExists})
122 return entries
Dreaddir_test.go306 entries := parseDirent(testCase.in, nil)
307 if !reflect.DeepEqual(testCase.out, entries) {
308 t.Fatalf("expected:\n %v\ngot:\n %v\n", testCase.out, entries)
/build/soong/linkerconfig/
Dlinkerconfig_test.go55 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
57 if value, ok := entries.EntryMap[k]; ok {
66 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok {
83 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
84 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok {
/build/soong/sh/
Dsh_binary_test.go63 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
66 actualPath := entries.EntryMap["LOCAL_MODULE_PATH"][0]
88 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
91 actualPath := entries.EntryMap["LOCAL_MODULE_PATH"][0]
95 actualData := entries.EntryMap["LOCAL_TEST_DATA"]
143 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
148 actualData := entries.EntryMap["LOCAL_TEST_DATA"]
174 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
175 actualData, _ := strconv.ParseBool(entries.EntryMap["LOCAL_IS_UNIT_TEST"][0])
215 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
[all …]
Dsh_binary.go334 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
335 s.customAndroidMkEntries(entries)
336 entries.SetString("LOCAL_MODULE_RELATIVE_PATH", proptools.String(s.properties.Sub_dir))
337 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", !s.Installable())
344 func (s *ShBinary) customAndroidMkEntries(entries *android.AndroidMkEntries) {
345 entries.SetString("LOCAL_MODULE_SUFFIX", "")
346 entries.SetString("LOCAL_MODULE_STEM", s.outputFilePath.Rel())
348 entries.SetString("LOCAL_MODULE_SYMLINKS", strings.Join(s.properties.Symlinks, " "))
514 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
515 s.customAndroidMkEntries(entries)
[all …]
/build/soong/android/
Dcsuite_config.go47 func(ctx AndroidMkExtraEntriesContext, entries *AndroidMkEntries) {
49 entries.SetString("LOCAL_TEST_CONFIG", *me.properties.Test_config)
51 entries.AddCompatibilityTestSuites("csuite")
Daconfig_providers.go164 func aconfigUpdateAndroidMkEntries(ctx fillInEntriesContext, mod Module, entries *[]AndroidMkEntrie…
166 if len(*entries) == 0 {
174 for idx, _ := range *entries {
175 (*entries)[idx].ExtraEntries = append((*entries)[idx].ExtraEntries,
176 func(ctx AndroidMkExtraEntriesContext, entries *AndroidMkEntries) {
177 entries.AddPaths("LOCAL_ACONFIG_FILES", getAconfigFilePaths(mod.base(), info.AconfigFiles))
/build/soong/apex/
Dprebuilt.go233 func (p *prebuiltCommon) addRequiredModules(entries *android.AndroidMkEntries) {
235 entries.AddStrings("LOCAL_REQUIRED_MODULES", fi.requiredModuleNames...)
236 entries.AddStrings("LOCAL_TARGET_REQUIRED_MODULES", fi.targetRequiredModuleNames...)
237 entries.AddStrings("LOCAL_HOST_REQUIRED_MODULES", fi.hostRequiredModuleNames...)
239 entries.AddStrings("LOCAL_REQUIRED_MODULES", p.requiredModuleNames...)
250 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
251 entries.SetString("LOCAL_MODULE_PATH", p.installDir.String())
252 entries.SetString("LOCAL_MODULE_STEM", p.installFilename)
253 entries.SetPath("LOCAL_SOONG_INSTALLED_MODULE", p.installedFile)
254entries.SetString("LOCAL_SOONG_INSTALL_PAIRS", p.outputApex.String()+":"+p.installedFile.String())
[all …]
/build/soong/cmd/extract_apks/
Dmain.go54 entries map[string]*zip.File member
58 apkSet := &ApkSet{path: path, entries: make(map[string]*zip.File)}
64 apkSet.entries[f.Name] = f
71 tocFile, ok := apkSet.entries["toc.pb"]
387 entries []string member
404 result.entries = append(result.entries, apkdesc.GetPath())
473 for _, apk := range selected.entries {
474 apkFile, ok := apkSet.entries[apk]
507 if len(selected.entries) != 1 {
508 return fmt.Errorf("Too many matching entries for extract-single:\n%v", selected.entries)
[all …]
/build/soong/filesystem/
Davb_gen_vbmeta_image.go96 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
97 entries.SetString("LOCAL_MODULE_PATH", a.installDir.String())
98 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", a.installFileName())

1234