• Biao She's avatar
    Hide printing code for binding behind DEBUG flag in template (reduced 20k binary size) · c3e9dc09
    Biao She authored
    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: default avatarChristopher Grant <cjgrant@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#562556}
    c3e9dc09
binding.h 5.51 KB