{
  'targets': [
    {
      'target_name': 'webgl',
      'defines': [
        'VERSION=1.0.0'
        ],
      "cflags!": [ "-fno-exceptions" ],
      "cflags_cc!": [ "-fno-exceptions" ],
      'sources': [
          'src/native/bindings.cc',
          'src/native/webgl.cc',
          'src/native/procs.cc'
      ],
      'include_dirs': [
        "<!@(node -p \"require('node-addon-api').include\")",
        "/opt/angle"
      ],
      'libraries': [
        '-lEGL',
        '-lGLESv2'
      ],
      'library_dirs': [
        "/opt/angle/angle/out/Release"
      ],
      'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
    }
  ]
}
