| # Special case for 'args': If args[N] starts with '-' and args[N+1] is a call to | |
| # rebase_path, keep them as a pair, rather than breaking into individual items. | |
| action("wee") { | |
| if (something) { | |
| args = [ | |
| "--depfile", rebase_path(depfile, root_build_dir), | |
| "--android-sdk", rebase_path(android_sdk, root_build_dir), | |
| "--android-sdk-tools", | |
| rebase_path(android_sdk_build_tools, root_build_dir), | |
| "--android-manifest", rebase_path(android_manifest, root_build_dir), | |
| ] | |
| } | |
| } |