MCPcopy Index your code
hub / github.com/kivy/python-for-android / __init__

Method __init__

pythonforandroid/build.py:377–410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375 )
376
377 def __init__(self):
378 self.include_dirs = []
379
380 self._build_env_prepared = False
381
382 self._sdk_dir = None
383 self._ndk_dir = None
384 self._android_api = None
385 self._ndk_api = None
386 self.ndk = None
387
388 self.local_recipes = None
389 self.copy_libs = False
390
391 self.activity_class_name = u'org.kivy.android.PythonActivity'
392 self.service_class_name = u'org.kivy.android.PythonService'
393
394 # this list should contain all Archs, it is pruned later
395 self.archs = (
396 ArchARM(self),
397 ArchARMv7_a(self),
398 Archx86(self),
399 Archx86_64(self),
400 ArchAarch_64(self),
401 )
402
403 self.root_dir = realpath(dirname(__file__))
404
405 # remove the most obvious flags that can break the compilation
406 self.env.pop("LDFLAGS", None)
407 self.env.pop("ARCHFLAGS", None)
408 self.env.pop("CFLAGS", None)
409
410 self.python_recipe = None # Set by TargetPythonRecipe
411
412 def set_archs(self, arch_names):
413 all_archs = self.archs

Callers

nothing calls this directly

Calls 5

ArchARMClass · 0.90
ArchARMv7_aClass · 0.90
Archx86Class · 0.90
Archx86_64Class · 0.90
ArchAarch_64Class · 0.90

Tested by

no test coverage detected