• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kivy / python-for-android / 21003292513

14 Jan 2026 05:18PM UTC coverage: 63.835%. First build
21003292513

Pull #3276

github

web-flow
Merge 22982ad07 into 6494ac165
Pull Request #3276: `ffmpeg`, `python3`: include executable

1784 of 3054 branches covered (58.42%)

Branch coverage included in aggregate %.

11 of 16 new or added lines in 3 files covered. (68.75%)

5220 of 7918 relevant lines covered (65.93%)

5.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.07
/pythonforandroid/androidndk.py
1
import sys
8✔
2
import os
8✔
3

4

5
class AndroidNDK:
8✔
6
    """
7
    This class is used to get the current NDK information.
8
    """
9

10
    ndk_dir = ""
8✔
11

12
    def __init__(self, ndk_dir):
8✔
13
        self.ndk_dir = ndk_dir
8✔
14

15
    @property
8✔
16
    def host_tag(self):
8✔
17
        """
18
        Returns the host tag for the current system.
19
        Note: The host tag is ``darwin-x86_64`` even on Apple Silicon macs.
20
        """
21
        return f"{sys.platform}-x86_64"
8✔
22

23
    @property
8✔
24
    def llvm_prebuilt_dir(self):
8✔
25
        return os.path.join(
8✔
26
            self.ndk_dir, "toolchains", "llvm", "prebuilt", self.host_tag
27
        )
28

29
    @property
8✔
30
    def llvm_bin_dir(self):
8✔
31
        return os.path.join(self.llvm_prebuilt_dir, "bin")
8✔
32

33
    @property
8✔
34
    def clang(self):
8✔
35
        return os.path.join(self.llvm_bin_dir, "clang")
8✔
36

37
    @property
8✔
38
    def clang_cxx(self):
8✔
39
        return os.path.join(self.llvm_bin_dir, "clang++")
8✔
40

41
    @property
8✔
42
    def llvm_binutils_prefix(self):
8✔
43
        return os.path.join(self.llvm_bin_dir, "llvm-")
8✔
44

45
    @property
8✔
46
    def llvm_ar(self):
8✔
47
        return f"{self.llvm_binutils_prefix}ar"
8✔
48

49
    @property
8✔
50
    def llvm_ranlib(self):
8✔
51
        return f"{self.llvm_binutils_prefix}ranlib"
8✔
52

53
    @property
8✔
54
    def llvm_objcopy(self):
8✔
55
        return f"{self.llvm_binutils_prefix}objcopy"
8✔
56

57
    @property
8✔
58
    def llvm_objdump(self):
8✔
59
        return f"{self.llvm_binutils_prefix}objdump"
8✔
60

61
    @property
8✔
62
    def llvm_readelf(self):
8✔
63
        return f"{self.llvm_binutils_prefix}readelf"
8✔
64

65
    @property
8✔
66
    def llvm_strip(self):
8✔
67
        return f"{self.llvm_binutils_prefix}strip"
8✔
68

69
    @property
8✔
70
    def llvm_nm(self):
8✔
NEW
71
        return f"{self.llvm_binutils_prefix}nm"
×
72

73
    @property
8✔
74
    def sysroot(self):
8✔
75
        return os.path.join(self.llvm_prebuilt_dir, "sysroot")
8✔
76

77
    @property
8✔
78
    def sysroot_include_dir(self):
8✔
79
        return os.path.join(self.sysroot, "usr", "include")
8✔
80

81
    @property
8✔
82
    def sysroot_lib_dir(self):
8✔
83
        return os.path.join(self.sysroot, "usr", "lib")
8✔
84

85
    @property
8✔
86
    def libcxx_include_dir(self):
8✔
87
        return os.path.join(self.sysroot_include_dir, "c++", "v1")
8✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc