Hide printing code for binding behind DEBUG flag in template (reduced 20k binary size)
We only print bindings in DEBUG build. However, we generate code for printing bindings in release build for each new binding we create. This CL simply hides all printing related code behind DEBUG build. It reduces the native binary size about 20k. Bug: NONE Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr Change-Id: Ie6b6c6148369717b89c1e4f68336c0950954cc06 Reviewed-on: https://chromium-review.googlesource.com/1076308 Commit-Queue: Biao She <bshe@chromium.org> Commit-Queue: Christopher Grant <cjgrant@chromium.org> Reviewed-by:Christopher Grant <cjgrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#562556}
Showing
Please register or sign in to comment