• dbeam's avatar
    MD Downloads: add a use_vulcanize option to Chrome · 64eba5b3
    dbeam authored
    use_vulcanize is on by default. This means that release, official,
    and debug builds that don't need debug versions of webui pages will
    get the fastest experience.
    
    To turn off vulcanization for local development, set
    
      use_vulcanize=0
    
    in GYP, or
    
      use_vulcanize = false
    
    in GN.
    
    To conditionally include files in .grd files, do:
    
      <if expr="use_vulcanize">
    
    and in C++:
    
      #include "chrome/common/features.h"
      #if BUILDFLAG(USE_VULCANIZE)
    
    Currently, only the new Material Design downloads page is vulcanized,
    but there will soon be others.
    
    R=groby@chromium.org,thakis@chromium.org
    BUG=541455
    TEST=smaller binary
    
    Review URL: https://codereview.chromium.org/1494253003
    
    Cr-Commit-Position: refs/heads/master@{#367226}
    64eba5b3
chrome_features.gypi 1.21 KB