added mappings from C types to their queue type IDs
diff --git a/aos/common/common.gyp b/aos/common/common.gyp
index 088c882..c0ab74d 100644
--- a/aos/common/common.gyp
+++ b/aos/common/common.gyp
@@ -46,10 +46,12 @@
       'type': 'static_library',
       'variables': {
         'print_field_cc': '<(SHARED_INTERMEDIATE_DIR)/print_field.cc',
+        'queue_primitives_h': '<(SHARED_INTERMEDIATE_DIR)/aos/queue_primitives.h',
       },
       'sources': [
         'queue_types.cc',
         '<(print_field_cc)',
+        '<(queue_primitives_h)',
       ],
       'dependencies': [
         '<(AOS)/build/aos.gyp:logging_interface',
@@ -73,7 +75,23 @@
           'action': ['ruby', '<(script)', '<(print_field_cc)'],
           'message': 'Generating print_field.cc',
         },
+        {
+          'variables': {
+            'script': '<(AOS)/build/queues/queue_primitives.rb',
+          },
+          'action_name': 'gen_queue_primitives',
+          'inputs': [
+            '<(script)',
+            '<!@(find <(AOS)/build/queues/ -name *.rb)',
+          ],
+          'outputs': [
+            '<(queue_primitives_h)',
+          ],
+          'action': ['ruby', '<(script)', '<(queue_primitives_h)'],
+          'message': 'Generating queue_primitives.h',
+        },
       ],
+      'hard_dependency': 1,
     },
     {
       'target_name': 'queue_types_test',