mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
android: Rename the Android app to reflect servo.org ownership and servoshell
(#32554)
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
7d7574373b
commit
30dad2565f
13 changed files with 65 additions and 65 deletions
|
@ -59,7 +59,7 @@ def main(avd_name, apk_path, *args):
|
|||
|
||||
json_params = shell_quote(json.dumps(args))
|
||||
extra = "-e servoargs " + json_params
|
||||
cmd = "am start " + extra + " org.mozilla.servo/org.mozilla.servo.MainActivity"
|
||||
cmd = "am start " + extra + " org.servo.servoshell/org.servo.servoshell.MainActivity"
|
||||
check_call(adb + ["shell", cmd], stdout=sys.stderr)
|
||||
|
||||
# Start showing logs as soon as the application starts,
|
||||
|
@ -128,7 +128,7 @@ def check_call(*args, **kwargs):
|
|||
|
||||
|
||||
def write_user_stylesheets(adb, args):
|
||||
data_dir = "/sdcard/Android/data/org.mozilla.servo/files"
|
||||
data_dir = "/sdcard/Android/data/org.servo.servoshell/files"
|
||||
check_call(adb + ["shell", "mkdir -p %s" % data_dir])
|
||||
for i, (pos, path) in enumerate(extract_args("--user-stylesheet", args)):
|
||||
remote_path = "%s/user%s.css" % (data_dir, i)
|
||||
|
@ -139,7 +139,7 @@ def write_user_stylesheets(adb, args):
|
|||
def write_hosts_file(adb):
|
||||
hosts_file = os.environ.get("HOST_FILE")
|
||||
if hosts_file:
|
||||
data_dir = "/sdcard/Android/data/org.mozilla.servo/files"
|
||||
data_dir = "/sdcard/Android/data/org.servo.servoshell/files"
|
||||
check_call(adb + ["shell", "mkdir -p %s" % data_dir])
|
||||
remote_path = data_dir + "/android_hosts"
|
||||
check_call(adb + ["push", hosts_file, remote_path], stdout=sys.stderr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue