DevX: use devil_chromium.Initialize in CLI script
This swaps script_common.InitializeEnvironment() for devil_chromium.Initialize(). These two methods are mutually exclusive (calling both turns the latter into a NOOP, as devil_env.config.Initialize() only has an effect the first time it's called). This changes the default 'adb' to be the one in chromium's Android SDK (v40) rather than devil's default (v32). This continues to support the '--adb-path' switch. Bug: 978697 Test: build/android/adb_system_webview_command_line -vv (uses //third_party/android_sdk/public/platform-tools/adb) Test: build/android/adb_system_webview_command_line -vv --adb-path=`which adb` (uses specified adb) Change-Id: I8ba4eb683f47eeed758a935455a39b9dcef113f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692201 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Auto-Submit: Nate Fischer <ntfschr@chromium.org> Reviewed-by:John Budorick <jbudorick@chromium.org> Cr-Commit-Position: refs/heads/master@{#675821}
Showing
Please register or sign in to comment