I was trying to follow google skia official build guide. The only thing i managed to do was clone skia from github. I don't understand need of deepot_tools. Then I tried to used GN but it gives me following error :
C:\Users\aslaf\skia>gn gen out/Shared --args='is_official_build=true is_component_build=true'
ERROR Need exactly one build directory to generate.
I expected something more like "gn gen out/foo"
You can also see "gn help gen"
I feel helpless. Maybe there exist person that has compiled skia on windows and could share some hints.
You seem to run it in Windows Command Prompt that is not able to handle single quotation marks.
gngets the four arguments:Therefore it treats
out/Sharedandis_component_build=true'as two output directories. Try thisOr
Or wrtie the file out/Shared/args.gn:
and run