Skip to content

Instantly share code, notes, and snippets.

@williamsjj
Created January 19, 2017 20:18
Show Gist options
  • Save williamsjj/5381320fe405358c2f604b3ab22a5381 to your computer and use it in GitHub Desktop.
Save williamsjj/5381320fe405358c2f604b3ab22a5381 to your computer and use it in GitHub Desktop.
$ gn gen '--args "target_os=android"' out/Default
ERROR at //build/config/BUILDCONFIG.gn:134:15: Reading a variable defined in the same declare_args() call.
If you need to set the value of one arg based on another, put
them in two separate declare_args() calls, one after the other.
is_debug = !is_official_build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment