Home
last modified time | relevance | path

Searched refs:hod (Results 1 – 25 of 28) sorted by relevance

12

/build/soong/rust/
Dprebuilt.go59 func NewPrebuiltProcMacro(hod android.HostOrDeviceSupported) (*Module, *prebuiltProcMacroDecorator)…
60 module, library := NewProcMacro(hod)
112 func NewPrebuiltLibrary(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
113 module, library := NewRustLibrary(hod)
126 func NewPrebuiltDylib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
127 module, library := NewRustLibrary(hod)
140 func NewPrebuiltRlib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
141 module, library := NewRustLibrary(hod)
Dbenchmark.go52 func NewRustBenchmark(hod android.HostOrDeviceSupported) (*Module, *benchmarkDecorator) {
57 if hod != android.DeviceSupported && hod != android.HostAndDeviceSupported {
60 module := newModule(hod, multilib)
Dsource_provider.go67 func NewSourceProviderModule(hod android.HostOrDeviceSupported, sourceProvider SourceProvider, enab…
68 _, library := NewRustLibrary(hod)
75 module := newModule(hod, android.MultilibBoth)
Dproc_macro.go47 func NewProcMacro(hod android.HostOrDeviceSupported) (*Module, *procMacroDecorator) {
48 module := newModule(hod, android.MultilibFirst)
Dtest.go94 func NewRustTest(hod android.HostOrDeviceSupported) (*Module, *testDecorator) {
99 if hod != android.DeviceSupported && hod != android.HostAndDeviceSupported {
102 module := newModule(hod, multilib)
Dbinary.go60 func NewRustBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
61 module := newModule(hod, android.MultilibFirst)
Dfuzz.go51 func NewRustFuzz(hod android.HostOrDeviceSupported) (*Module, *fuzzDecorator) {
52 module, binary := NewRustBinary(hod)
Dprotobuf.go268 func NewRustProtobuf(hod android.HostOrDeviceSupported) (*Module, *protobufDecorator) {
274 module := NewSourceProviderModule(hod, protobuf, false, false)
Dbindgen.go360 func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorator) {
367 module := NewSourceProviderModule(hod, bindgen, false, true)
Drust.go146 hod android.HostOrDeviceSupported member
760 android.InitAndroidArchModule(mod, mod.hod, mod.multilib)
767 func newBaseModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
769 hod: hod,
773 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
774 module := newBaseModule(hod, multilib)
Dlibrary.go450 func NewRustLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
451 module := newModule(hod, android.MultilibBoth)
/build/soong/cc/
Dprebuilt.go273 func NewPrebuiltLibrary(hod android.HostOrDeviceSupported, srcsProperty string) (*Module, *libraryD…
274 module, library := NewLibrary(hod)
326 func NewPrebuiltSharedLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
327 module, library := NewPrebuiltLibrary(hod, "srcs")
343 func NewPrebuiltStaticLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
344 module, library := NewPrebuiltLibrary(hod, "srcs")
396 func NewPrebuiltObject(hod android.HostOrDeviceSupported) *Module {
397 module := newObject(hod)
502 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
503 module, binary := newBinary(hod)
Dmakevars.go214 hod := "Host"
216 hod = "Device"
251 fmt.Sprintf("${config.%sGlobalCflags}", hod),
257 fmt.Sprintf("${config.%sGlobalCppflags}", hod),
261 fmt.Sprintf("${config.%sGlobalLdflags}", hod),
267 fmt.Sprintf("${config.%sGlobalLldflags}", hod),
Dobject.go83 func newObject(hod android.HostOrDeviceSupported) *Module {
84 module := newBaseModule(hod, android.MultilibBoth)
Dbinary.go193 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
194 return newBinary(hod)
197 func newBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
198 module := newModule(hod, android.MultilibFirst)
Dtest.go532 func NewTest(hod android.HostOrDeviceSupported) *Module {
533 module, binary := newBinary(hod)
592 func NewTestLibrary(hod android.HostOrDeviceSupported) *Module {
705 func NewBenchmark(hod android.HostOrDeviceSupported) *Module {
706 module, binary := newBinary(hod)
Dcompiler.go518 hod := "Host"
520 hod = "Device"
525 …flags.Global.CppFlags = append([]string{fmt.Sprintf("${config.%sGlobalCppflags}", hod)}, flags.Glo…
536 fmt.Sprintf("${config.%sGlobalCflags}", hod))
Dlinker.go503 hod := "Host"
505 hod = "Device"
509 …flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLldflags}", hod))
528 flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLdflags}", hod))
Dfuzz.go332 func NewFuzzer(hod android.HostOrDeviceSupported) *Module {
333 module, binary := newBinary(hod)
/build/soong/python/
Dtest.go39 func NewTest(hod android.HostOrDeviceSupported) *PythonTestModule {
40 p := &PythonTestModule{PythonBinaryModule: *NewBinary(hod)}
106 android.InitAndroidArchModule(p, p.hod, p.multilib)
115 return p.hod == android.HostSupported
Dbinary.go83 func NewBinary(hod android.HostOrDeviceSupported) *PythonBinaryModule {
85 PythonLibraryModule: *newModule(hod, android.MultilibFirst),
96 android.InitAndroidArchModule(p, p.hod, p.multilib)
Dpython.go137 hod android.HostOrDeviceSupported member
159 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *PythonLibraryModule {
161 hod: hod,
209 android.InitAndroidArchModule(p, p.hod, p.multilib)
/build/soong/android/
Dmodule.go746 func InitAndroidArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib Multilib) {
750 base.commonProperties.HostOrDeviceSupported = hod
755 if hod&hostSupported != 0 && hod&deviceSupported != 0 {
771 func InitAndroidMultiTargetsArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib Multili…
772 InitAndroidArchModule(m, hod, defaultMultilib)
786 func InitCommonOSAndroidMultiTargetsArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib…
787 InitAndroidArchModule(m, hod, defaultMultilib)
1323 hod := m.commonProperties.HostOrDeviceSupported
1326 …deviceEnabled := proptools.BoolDefault(m.hostAndDeviceProperties.Device_supported, hod&deviceDefau…
1327 return hod&deviceSupported != 0 && deviceEnabled
[all …]
/build/soong/aconfig/codegen/
Drust_aconfig_library.go38 func NewRustAconfigLibrary(hod android.HostOrDeviceSupported) (*rust.Module, *aconfigDecorator) {
/build/soong/java/
Dbase.go681 func InitJavaModule(module android.DefaultableModule, hod android.HostOrDeviceSupported) {
682 initJavaModule(module, hod, false)
685 func InitJavaModuleMultiTargets(module android.DefaultableModule, hod android.HostOrDeviceSupported…
686 initJavaModule(module, hod, true)
689 func initJavaModule(module android.DefaultableModule, hod android.HostOrDeviceSupported, multiTarge…
692 android.InitAndroidMultiTargetsArchModule(module, hod, multilib)
694 android.InitAndroidArchModule(module, hod, multilib)

12