0

Gut gyp_chromium, common.gypi.

This change removes all of the code referencing gyp_chromium that
isn't needed to keep the closure_compilation builder working and/or
also needed for proper functioning of the gclient hooks.

R=brettw@chromium.org, dbeam@chromium.org
BUG=570091, 632206
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2355673003
Cr-Commit-Position: refs/heads/master@{#420182}
This commit is contained in:
dpranke
2016-09-21 15:27:23 -07:00
committed by Commit bot
parent d7f480d509
commit 0730244c01
8 changed files with 16 additions and 7266 deletions

@ -39,32 +39,6 @@ You can also just use the current released version of ccache (3.1.8 or 3.1.9)
and disable the chromium style plugin with `clang_use_chrome_plugins=0` in your
`GYP_DEFINES`.
## Use with GYP
We have to set two environment variables (`CC` and `CXX`) before calling
`gclient runhooks` or `build/gyp_chromium`, given you are currently in the
`chromium/src` directory:
```shell
export CC="ccache clang -Qunused-arguments"
export CXX="ccache clang++ -Qunused-arguments"
```
Then run:
```shell
GYP_GENERATORS="ninja" ./build/gyp_chromium
```
or
```shell
GYP_GENERATORS="ninja" gclient runhooks
```
(Instead of relying on the clang/clang++ for building chromium in your `$PATH`,
you can also use the absolute path here.)
## Use with GN
You just need to set the use\_ccache variable. Do so like the following:

@ -77,12 +77,6 @@ http://androidmuscle.com/how-to-enable-usb-debugging-developer-options-on-nexus-
Rebuild `content_shell_apk` with profiling enabled.
With GYP (deprecated):
export GYP_DEFINES="$GYP_DEFINES profiling=1"
build/gyp_chromium
ninja -C out/Release content_shell_apk
With GN:
gn args out/Profiling
@ -197,8 +191,6 @@ Run the following:
1. If you dont see chromium/webkit symbols, make sure that you built/pushed
Release, and that the symlink you created to the .so is valid!
1. If you have symbols, but your callstacks are nonsense, make sure you ran
`build/gyp_chromium` after setting `profiling=1`, and rebuilt.
## Add symbols for the kernel