• tfarina's avatar
    gn: Allow users to set 'check_includes' in action_foreach(). · a9bfa5b4
    tfarina authored
    Otherwise if someone tries to set it now it will get something like:
    
    $ gn gen --args='os="android" cpu_arch="arm"' out_gn_android/Debug
    ERROR at //build/config/android/rules.gni:49:22: Assignment had no
    effect.
        check_includes = false
                             ^----
    You set the variable "check_includes" here and it was unused before it went out of scope.
    See //content/test/BUILD.gn:237:5: whence it was called.
    generate_jni("jni") {
       ^--------------------
    
    BUG=367595, 376000
    TEST=see above
    R=brettw@chromium.org
    
    Review URL: https://codereview.chromium.org/885283006
    
    Cr-Commit-Position: refs/heads/master@{#314794}
    a9bfa5b4
binary_target_generator.h 1.05 KB