old_contents: {
    "targets": [
      {
        "target_name": "vcdiff",
        "include_dirs": [
          "src/third-party/open-vcdiff/include",
        ],
        "sources": [
          "src/vcd_decoder.cc",
          "src/vcd_decoder.h",
          "src/vcd_encoder.cc",
          "src/vcd_encoder.h",
          "src/vcd_hashed_dictionary.cc",
          "src/vcd_hashed_dictionary.h",
          "src/vcdiff.cc",
          "src/vcdiff.h",
        ],
        "conditions": [
          ['OS=="linux" or OS=="mac"', {
            'libraries': [
              '-Lsrc/third-party/open-vcdiff/lib',
              '-lvcdenc',
              '-lvcddec'
            ],
          }],
          ['OS=="linux"', {
            'cflags_cc': ['-std=c++11'],
          }],
          ['OS=="mac"', {
            'xcode_settings': {
              'OTHER_CPLUSPLUSFLAGS': ['-std=c++11', '-stdlib=libc++'],
              'OTHER_LDFLAGS': ['-stdlib=libc++'],
              'MACOSX_DEPLOYMENT_TARGET': '10.7',
            },
          }],
        ],
      }
    ],
  }
  
new_contents: {
    "targets": [
      {
        "target_name": "vcdiff",
        "include_dirs": [
          "src/third-party/open-vcdiff/include",
        ],
        "sources": [
          "src/vcd_decoder.cc",
          "src/vcd_decoder.h",
          "src/vcd_encoder.cc",
          "src/vcd_encoder.h",
          "src/vcd_hashed_dictionary.cc",
          "src/vcd_hashed_dictionary.h",
          "src/vcdiff.cc",
          "src/vcdiff.h",
        ],
        "conditions": [
          ['OS=="linux" or OS=="mac"', {
            'libraries': [
              'src/third-party/open-vcdiff/lib/libvcdcom.a',
              'src/third-party/open-vcdiff/lib/libvcdenc.a',
              'src/third-party/open-vcdiff/lib/libvcddec.a',
            ],
          }],
          ['OS=="linux"', {
            'cflags_cc': ['-std=c++11'],
          }],
          ['OS=="mac"', {
            'xcode_settings': {
              'OTHER_CPLUSPLUSFLAGS': ['-std=c++11', '-stdlib=libc++'],
              'OTHER_LDFLAGS': ['-stdlib=libc++'],
              'MACOSX_DEPLOYMENT_TARGET': '10.7',
            },
          }],
        ],
      }
    ],
  }
  
subject: Fix linkage