Streamline Windows build process (#32783)
Allows Windows builds to use the same structure and script as Linux builds now use, calling into tool_backend to manage copying resources to the project directory and building the bundle. Also switches from expecting name_update.bat to expecting flutter\exe_filename to be written during the build, as with the recent changes to the macOS build, to reduce the amount of boilerplate needed in a windows\ project directory.
This commit is contained in:
9
packages/flutter_tools/bin/tool_backend.bat
Normal file
9
packages/flutter_tools/bin/tool_backend.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
:: Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
:: Use of this source code is governed by a BSD-style license that can be
|
||||
:: found in the LICENSE file.
|
||||
@echo off
|
||||
|
||||
set FLUTTER_BIN_DIR=%FLUTTER_ROOT%\bin
|
||||
set DART_BIN_DIR=%FLUTTER_BIN_DIR%\cache\dart-sdk\bin
|
||||
|
||||
"%DART_BIN_DIR%\dart" "%FLUTTER_ROOT%\packages\flutter_tools\bin\tool_backend.dart" %*
|
||||
Reference in New Issue
Block a user