Lines Matching refs:android
34 func globalFlags(ctx android.LoadHookContext) ([]string, []string) {
114 func debugFlags(ctx android.LoadHookContext) []string {
123 func deviceFlags(ctx android.LoadHookContext) []string {
148 func hostFlags(ctx android.LoadHookContext) []string {
178 func globalDefaults(ctx android.LoadHookContext) {
210 func debugDefaults(ctx android.LoadHookContext) {
220 func customLinker(ctx android.LoadHookContext) {
234 func prefer32Bit(ctx android.LoadHookContext) {
253 var testMapKey = android.NewOnceKey("artTests")
255 func testMap(config android.Config) map[string][]string {
261 func testInstall(ctx android.InstallHookContext) {
280 var testcasesContentKey = android.NewOnceKey("artTestcasesContent")
282 func testcasesContent(config android.Config) map[string]string {
292 func addTestcasesFile(ctx android.InstallHookContext) {
298 if ctx.Os().Class == android.Host {
323 android.AddNeverAllowRules(
324 android.NeverAllow().
328 android.RegisterModuleType("art_cc_library", artLibrary)
329 android.RegisterModuleType("art_cc_library_static", artStaticLibrary)
330 android.RegisterModuleType("art_cc_binary", artBinary)
331 android.RegisterModuleType("art_cc_test", artTest)
332 android.RegisterModuleType("art_cc_test_library", artTestLibrary)
333 android.RegisterModuleType("art_cc_defaults", artDefaultsFactory)
334 android.RegisterModuleType("libart_cc_defaults", libartDefaultsFactory)
335 android.RegisterModuleType("libart_static_cc_defaults", libartStaticDefaultsFactory)
336 android.RegisterModuleType("art_global_defaults", artGlobalDefaultsFactory)
337 android.RegisterModuleType("art_debug_defaults", artDebugDefaultsFactory)
340 android.RegisterModuleType("art_apex", artApexBundleFactory)
341 android.RegisterModuleType("art_apex_test", artTestApexBundleFactory)
349 android.RegisterModuleType("art_apex_test_host", artHostTestApexBundleFactory)
352 func artApexBundleFactory() android.Module {
356 func artTestApexBundleFactory() android.Module {
360 func artHostTestApexBundleFactory() android.Module {
362 android.AddLoadHook(module, func(ctx android.LoadHookContext) {
382 func artGlobalDefaultsFactory() android.Module {
384 android.AddLoadHook(module, globalDefaults)
389 func artDebugDefaultsFactory() android.Module {
391 android.AddLoadHook(module, debugDefaults)
396 func artDefaultsFactory() android.Module {
399 …android.AddLoadHook(module, func(ctx android.LoadHookContext) { codegen(ctx, c, staticAndSharedLib…
404 func libartDefaultsFactory() android.Module {
407 …android.AddLoadHook(module, func(ctx android.LoadHookContext) { codegen(ctx, c, staticAndSharedLib…
412 func libartStaticDefaultsFactory() android.Module {
415 android.AddLoadHook(module, func(ctx android.LoadHookContext) { codegen(ctx, c, staticLibrary) })
420 func artLibrary() android.Module {
425 android.AddInstallHook(module, addTestcasesFile)
429 func artStaticLibrary() android.Module {
437 func artBinary() android.Module {
440 android.AddLoadHook(module, customLinker)
441 android.AddLoadHook(module, prefer32Bit)
442 android.AddInstallHook(module, addTestcasesFile)
446 func artTest() android.Module {
451 android.AddLoadHook(module, customLinker)
452 android.AddLoadHook(module, prefer32Bit)
453 android.AddInstallHook(module, testInstall)
457 func artTestLibrary() android.Module {
462 android.AddLoadHook(module, prefer32Bit)
463 android.AddInstallHook(module, testInstall)