How to generate chromium android build?

481 Views Asked by At

I have created a new repository and pushed the chromium using .gitignore to avoid unwanted libraries while generating build. Then again i cloned and try to build using the mentioned steps I am getting error. Please help me to fix this

Since I made code changes I cant get fresh checkout from google

Step 1:git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git -DONE

Step 2: example export PATH="$PATH:/path/to/depot_tools" - DONE

Step 3: fetch --nohooks android - DONE

Step 4: gclient sync DONE

Step 5: build/install-build-deps-android.sh DONE

Step 6: gclient runhooks

Step 7 : gn args out/Default FAILED below error

ERROR Can't find source root.
I could not find a ".gn" file in the current directory or any parent,
and the --root command-line argument was not specified.
1

There are 1 best solutions below

3
On

Is running on Linux? Windows and Mac are not supported.