Web engine build config cleanup. (flutter/engine#40064)

Web engine build config cleanup.
This commit is contained in:
godofredoc
2023-03-03 16:28:18 -08:00
committed by GitHub
parent 1806d2432f
commit bc2611e03c
4 changed files with 9 additions and 25 deletions

View File

@@ -275,6 +275,14 @@ targets:
release_build: "true"
config_name: linux_android_debug_engine
- name: Linux linux_web_engine
bringup: true
recipe: engine_v2/engine_v2
timeout: 60
properties:
release_build: "true"
config_name: linux_web_engine
- name: Linux Web Engine
recipe: engine/web_engine
properties:

View File

@@ -44,8 +44,7 @@
"compile_tests"
],
"scripts": [
"third_party/dart/tools/sdks/dart-sdk/bin/dart",
"flutter/lib/web_ui/dev/felt.dart"
"flutter/lib/web_ui/dev/felt"
]
},
{

View File

@@ -8,22 +8,6 @@ set -e
FELT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
if [ -z "`which gclient`" ]
then
echo "ERROR: gclient is not in your PATH"
echo "Fix: add the path to your installation of depot_tools to your PATH"
exit 1
fi
GCLIENT_PATH=`which gclient`
if [ -z "`which autoninja`" ]
then
echo "ERROR: autoninja is not in your PATH"
echo "Fix: add the path to your installation of depot_tools to your PATH"
exit 1
fi
NINJA_PATH=`which autoninja`
KERNEL_NAME=`uname`
CPU_NAME=`uname -m`
ENGINE_SRC_DIR="$(dirname $(dirname $(dirname $(dirname ${FELT_DIR}))))"

View File

@@ -5,13 +5,6 @@
@ECHO OFF
SETLOCAL
:: Make sure gclient and ninja exist. Otherwise felt won't work.
FOR /F "tokens=1-2 delims=:" %%a in ('where gclient') DO SET GCLIENT_PATH=%%b
IF %GCLIENT_PATH%==[] (ECHO "ERROR: gclient is not in your PATH")
FOR /F "tokens=1-2 delims=:" %%a in ('where ninja') DO SET NINJA_PATH=%%b
IF %NINJA_PATH%==[] (ECHO "ERROR: ninja is not in your PATH")
:: Starting from this script's path, walk up to engine source directory.
SET SCRIPT_DIR=%~dp0
FOR %%a IN ("%SCRIPT_DIR:~0,-1%") DO SET TMP=%%~dpa