-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Hello,
I've always complied the engine locally on my machine, today is the first time I try to compile it after it has been moved in flutter/flutter repo.
The problem is that I'm not able to compile it anymore, because of a problem with Ninja
I follow the instruction to compile the engine as described here
https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md
I have this error
depot_tools/ninja.py: Could not find Ninja in the third_party of the current project, nor in your PATH.
Please take one of the following actions to install Ninja:
- If your project has DEPS, add a CIPD Ninja dependency to DEPS.
- Otherwise, add Ninja to your PATH *after* depot_tools.
I guess it's because there are something wrong with the settings of gclient, depot_tools etc...
I've put my .gclient file in flutter/flutter (the root) as indicated here https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md
The gclient sync -D run correctly
I've tried to read the code of ninja.py inside depot_tools and, as far as I understand, there is no way that Ninja can work with this folders setup
But I'm not expert enough to really understand what's wrong
Is this my problem? Or there really are something wrong since the engine has been moved?