diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-09-01 22:17:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-01 20:17:34 +0000 |
commit | 35ca050bfb82b27cac0fe142768a4876759fced0 (patch) | |
tree | 2315c825ed3b7abb673744c7904ea58990b7fc1c /python/servo/command_base.py | |
parent | a62612a025c619c4a7d0eab120a20dea9b69e306 (diff) | |
download | servo-35ca050bfb82b27cac0fe142768a4876759fced0.tar.gz servo-35ca050bfb82b27cac0fe142768a4876759fced0.zip |
android: Fix install (#33277)
self.config["android"]["target"] is unset, causing an exception.
We can just use self.target.triple() instead.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index d5b1881618b..b8fd132387d 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -330,7 +330,7 @@ class CommandBase(object): def get_apk_path(self, build_type: BuildType): base_path = util.get_target_dir() - base_path = path.join(base_path, "android", self.config["android"]["target"]) + base_path = path.join(base_path, "android", self.target.triple()) apk_name = "servoapp.apk" return path.join(base_path, build_type.directory_name(), apk_name) |