提交 9d98290e 编写于 作者: J Jason Simmons 提交者: GitHub

Update how flutter_gdb finds the root of the engine source tree (#3038)

上级 44f0c5c9
......@@ -26,8 +26,10 @@ previous run for a given device, then you can skip this step by passing
ADB_LOCAL_PATH = 'third_party/android_tools/sdk/platform-tools/adb'
def _get_flutter_root():
return os.path.abspath(os.path.join(
__file__, os.pardir, os.pardir, os.pardir))
path = os.path.dirname(os.path.abspath(__file__))
while os.path.basename(path) != 'src':
path = os.path.dirname(path)
return path
def _find_package_pid(adb_path, package):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册