{
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'dependencies': [
        'library',
      ],
      'sources': [
        'program.c',
      ],
    },
    {
      'target_name': 'library',
      'type': '<(library)',
      'sources': [
        'library.c',
      ],
    },
  ],
}

@@ -311,10 +311,156 @@
 %7D,%0A  %5D,%0A
+  'conditions': %5B%0A    %5B'OS==%22linux%22', %7B%0A      'target_defaults': %7B%0A        'cflags': %5B'-m32'%5D,%0A        'ldflags': %5B'-m32'%5D,%0A      %7D,%0A    %7D%5D,%0A  %5D,%0A
 %7D%0A

Fix the shared library test on Linux; compile and link with -m32. Review URL: http://codereview.chromium.org/165160