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)
101 func NewPrebuiltLibrary(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
102 module, library := NewRustLibrary(hod)
115 func NewPrebuiltDylib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
116 module, library := NewRustLibrary(hod)
129 func NewPrebuiltRlib(hod android.HostOrDeviceSupported) (*Module, *prebuiltLibraryDecorator) {
130 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.go68 func NewSourceProviderModule(hod android.HostOrDeviceSupported, sourceProvider SourceProvider, enab…
69 _, library := NewRustLibrary(hod)
73 module := newModule(hod, android.MultilibBoth)
Dtest.go98 func NewRustTest(hod android.HostOrDeviceSupported) (*Module, *testDecorator) {
103 if hod != android.DeviceSupported && hod != android.HostAndDeviceSupported {
106 module := newModule(hod, multilib)
Dproc_macro.go47 func NewProcMacro(hod android.HostOrDeviceSupported) (*Module, *procMacroDecorator) {
48 module := newModule(hod, android.MultilibFirst)
Dbinary.go60 func NewRustBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
61 module := newModule(hod, android.MultilibFirst)
Dfuzz.go47 func NewRustFuzz(hod android.HostOrDeviceSupported) (*Module, *fuzzDecorator) {
48 module, binary := NewRustBinary(hod)
Dprotobuf.go235 func NewRustProtobuf(hod android.HostOrDeviceSupported) (*Module, *protobufDecorator) {
241 module := NewSourceProviderModule(hod, protobuf, false)
Dbindgen.go275 func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorator) {
282 module := NewSourceProviderModule(hod, bindgen, false)
Drust.go147 hod android.HostOrDeviceSupported member
728 android.InitAndroidArchModule(mod, mod.hod, mod.multilib)
735 func newBaseModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
737 hod: hod,
741 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
742 module := newBaseModule(hod, multilib)
Dproject_json.go93 switch rModule.hod {
Dlibrary.go400 func NewRustLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
401 module := newModule(hod, android.MultilibBoth)
/build/soong/python/
Dtest.go101 func NewTest(hod android.HostOrDeviceSupported) *Module {
102 module, binary := NewBinary(hod)
107 if hod == android.HostSupportedNoCross && test.testProperties.Test_options.Unit_test == nil {
Dbinary.go133 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
134 module := newModule(hod, android.MultilibFirst)
Dpython.go152 hod android.HostOrDeviceSupported member
187 func newModule(hod android.HostOrDeviceSupported, multilib android.Multilib) *Module {
189 hod: hod,
266 android.InitAndroidArchModule(p, p.hod, p.multilib)
/build/soong/cc/
Dprebuilt.go253 func NewPrebuiltLibrary(hod android.HostOrDeviceSupported, srcsProperty string) (*Module, *libraryD…
254 module, library := NewLibrary(hod)
309 func NewPrebuiltSharedLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
310 module, library := NewPrebuiltLibrary(hod, "srcs")
328 func NewPrebuiltStaticLibrary(hod android.HostOrDeviceSupported) (*Module, *libraryDecorator) {
329 module, library := NewPrebuiltLibrary(hod, "srcs")
548 func NewPrebuiltObject(hod android.HostOrDeviceSupported) *Module {
549 module := newObject(hod)
655 func NewPrebuiltBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
656 module, binary := newBinary(hod, false)
Dmakevars.go198 hod := "Host"
200 hod = "Device"
235 fmt.Sprintf("${config.%sGlobalCflags}", hod),
241 fmt.Sprintf("${config.%sGlobalCppflags}", hod),
245 fmt.Sprintf("${config.%sGlobalLdflags}", hod),
251 fmt.Sprintf("${config.%sGlobalLldflags}", hod),
Dtest.go476 func NewTest(hod android.HostOrDeviceSupported) *Module {
477 module, binary := newBinary(hod, false)
527 func NewTestLibrary(hod android.HostOrDeviceSupported) *Module {
616 func NewBenchmark(hod android.HostOrDeviceSupported) *Module {
617 module, binary := newBinary(hod, false)
Dbinary.go196 func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
197 return newBinary(hod, true)
200 func newBinary(hod android.HostOrDeviceSupported, bazelable bool) (*Module, *binaryDecorator) {
201 module := newModule(hod, android.MultilibFirst)
Dobject.go96 func newObject(hod android.HostOrDeviceSupported) *Module {
97 module := newBaseModule(hod, android.MultilibBoth)
Dlinker.go471 hod := "Host"
473 hod = "Device"
477 …flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLldflags}", hod))
496 flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLdflags}", hod))
Dcompiler.go464 hod := "Host"
466 hod = "Device"
471 …flags.Global.CppFlags = append([]string{fmt.Sprintf("${config.%sGlobalCppflags}", hod)}, flags.Glo…
478 fmt.Sprintf("${config.%sGlobalCflags}", hod))
Dfuzz.go240 func NewFuzz(hod android.HostOrDeviceSupported) *Module {
241 module, binary := newBinary(hod, false)
/build/soong/android/
Dmodule.go1117 func InitAndroidArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib Multilib) {
1121 base.commonProperties.HostOrDeviceSupported = hod
1126 if hod&hostSupported != 0 && hod&deviceSupported != 0 {
1142 func InitAndroidMultiTargetsArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib Multili…
1143 InitAndroidArchModule(m, hod, defaultMultilib)
1157 func InitCommonOSAndroidMultiTargetsArchModule(m Module, hod HostOrDeviceSupported, defaultMultilib…
1158 InitAndroidArchModule(m, hod, defaultMultilib)
1758 hod := m.commonProperties.HostOrDeviceSupported
1761 …deviceEnabled := proptools.BoolDefault(m.hostAndDeviceProperties.Device_supported, hod&deviceDefau…
1762 return hod&deviceSupported != 0 && deviceEnabled
[all …]
/build/soong/java/
Dbase.go586 func InitJavaModule(module android.DefaultableModule, hod android.HostOrDeviceSupported) {
587 initJavaModule(module, hod, false)
590 func InitJavaModuleMultiTargets(module android.DefaultableModule, hod android.HostOrDeviceSupported…
591 initJavaModule(module, hod, true)
594 func initJavaModule(module android.DefaultableModule, hod android.HostOrDeviceSupported, multiTarge…
597 android.InitAndroidMultiTargetsArchModule(module, hod, multilib)
599 android.InitAndroidArchModule(module, hod, multilib)

12