unbroke the cRIO build
diff --git a/aos/build/aos.gypi b/aos/build/aos.gypi
index afbe6de..9eeba08 100644
--- a/aos/build/aos.gypi
+++ b/aos/build/aos.gypi
@@ -74,6 +74,15 @@
'include_dirs': [
'<(DEPTH)',
],
+ # These have to be here because apparently gyp evaluates target_conditions
+ # even if the target is never used.
+ 'variables': {
+ # Set this to 1 to disable rsyncing the file to the target.
+ 'no_rsync%': 0,
+ # Set this to 1 if this file isn't a test that should get run by
+ # `build.sh tests`.
+ 'is_special_test%': 0,
+ },
'conditions': [
['DEBUG=="yes"', {
'cflags': [
@@ -149,13 +158,6 @@
'NOMINMAX',
],
}, {
- 'variables': {
- # Set this to 1 to disable rsyncing the file to the target.
- 'no_rsync%': 0,
- # Set this to 1 if this file isn't a test that should get run by
- # `build.sh tests`.
- 'is_special_test%': 0,
- },
'target_conditions': [
# default to putting outputs into rsync_dir
['no_rsync==0 and _type!="static_library"', {