put binaries that don't belong on the roborio somewhere useful
Change-Id: Ifcdeca5f3f81ace2b974dd1b86934eb3e303e016
diff --git a/aos/build/aos.gypi b/aos/build/aos.gypi
index 5b95d3d..c893438 100644
--- a/aos/build/aos.gypi
+++ b/aos/build/aos.gypi
@@ -9,6 +9,8 @@
'EXTERNALS': '<(AOS)/build/externals.gyp',
# The directory that gets rsynced to the target.
'rsync_dir': '<(PRODUCT_DIR)/outputs',
+# The directory for executables that don't get rsynced to the target.
+ 'other_outputs_dir': '<(PRODUCT_DIR)/other_outputs',
# The directory that executables that depend on <(EXTERNALS):gtest get put into.
'test_dir': '<(PRODUCT_DIR)/tests',
@@ -268,6 +270,9 @@
['no_rsync==0 and _type!="static_library"', {
'product_dir': '<(rsync_dir)',
},
+ ], ['no_rsync==1 and _type!="static_library"', {
+ 'product_dir': '<(other_outputs_dir)',
+ },
],
],
},
diff --git a/aos/linux_code/linux_code.gyp b/aos/linux_code/linux_code.gyp
index 16f3fd6..59f5d27 100644
--- a/aos/linux_code/linux_code.gyp
+++ b/aos/linux_code/linux_code.gyp
@@ -3,6 +3,9 @@
{
'target_name': 'dump_rtprio',
'type': 'executable',
+ 'variables': {
+ 'no_rsync': 1,
+ },
'sources': [
'dump_rtprio.cc',
],