{
  'targets': [
  {
    'target_name': 'echo_extension',
    'type': 'loadable_module',
    'include_dirs': [
      '../..',
    ],
    'sources': [
      'test/echo_extension.c',
    ],
    'product_dir': '<(PRODUCT_DIR)/tests/extension/echo_extension/'
  },
  {
    'target_name': 'bad_extension',
    'type': 'loadable_module',
    'include_dirs': [
      '../..',
    ],
    'sources': [
      'test/bad_extension.c',
    ],
    'product_dir': '<(PRODUCT_DIR)/tests/extension/bad_extension/'
  },
  {
    'target_name': 'multiple_entry_points_extension',
    'type': 'loadable_module',
    'include_dirs': [
      '../..',
    ],
    'sources': [
      'test/multiple_entry_points_extension.c',
    ],
    'product_dir': '<(PRODUCT_DIR)/tests/extension/multiple_extension/'
  },
  ],
}

@@ -173,32 +173,165 @@
 sion.c',%0A    %5D,%0A
+    'conditions': %5B%0A      %5B'OS==%22win%22', %7B%0A        'product_dir': '%3C(PRODUCT_DIR)%5C%5Ctests%5C%5Cextension%5C%5Cecho_extension%5C%5C'%0A      %7D, %7B%0A    
     'product_dir
@@ -374,32 +374,62 @@
 cho_extension/'%0A
+      %7D%5D,%0A    %5D, # conditions%0A
   %7D,%0A  %7B%0A    'ta
@@ -578,32 +578,164 @@
 sion.c',%0A    %5D,%0A
+    'conditions': %5B%0A      %5B'OS==%22win%22', %7B%0A        'product_dir': '%3C(PRODUCT_DIR)%5C%5Ctests%5C%5Cextension%5C%5Cbad_extension%5C%5C'%0A      %7D, %7B%0A    
     'product_dir
@@ -781,24 +781,54 @@
 extension/'%0A
+      %7D%5D,%0A    %5D, # conditions%0A
   %7D,%0A  %7B%0A   
@@ -1021,24 +1021,161 @@
 .c',%0A    %5D,%0A
+    'conditions': %5B%0A      %5B'OS==%22win%22', %7B%0A        'product_dir': '%3C(PRODUCT_DIR)%5C%5Ctests%5C%5Cextension%5C%5Cmultiple_extension%5C%5C'%0A      %7D, %7B%0A    
     'product
@@ -1234,16 +1234,46 @@
 nsion/'%0A
+      %7D%5D,%0A    %5D, # conditions%0A
   %7D,%0A  %5D

Fix build failure on Windows