Skip to content

Commit 7a2f386

Browse files
committed
set ndk_sysroot etc. in tests
1 parent d8b330a commit 7a2f386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/recipes/recipe_ctx.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def setUp(self):
4848
f"{self.ctx._ndk_dir}/platforms/"
4949
f"android-{self.ctx.ndk_api}/{self.arch.platform_dir}"
5050
)
51+
self.ctx.ndk_sysroot = f'{self.ctx._ndk_dir}/sysroot'
52+
self.ctx.ndk_lib_dir = f'{self.ctx._ndk_dir}/usr/lib'
53+
self.ctx.ndk_include_dir = f'{self.ctx.ndk_sysroot}/usr/include'
5154
self.recipe = Recipe.get_recipe(self.recipe_name, self.ctx)
5255

5356
def tearDown(self):

0 commit comments

Comments
 (0)