text: {
    "includes": [ "deps/common-sqlite.gypi" ],
    "variables": {
        "sqlite%":"internal",
        "sqlite_libname%":"sqlite3"
    },
    "targets": [
      {
        "target_name": "<(module_name)",
        "include_dirs": ["<!(node -e \"require('nan')\")"],
        "conditions": [
          ["sqlite != 'internal'", {
              "include_dirs": [ "<(sqlite)/include" ],
              "libraries": [
                 "-l<(sqlite_libname)"
              ],
              "conditions": [ [ "OS=='linux'", {"libraries+":["-Wl,-rpath=<@(sqlite)/lib"]} ] ],
              "conditions": [ [ "OS!='win'", {"libraries+":["-L<@(sqlite)/lib"]} ] ],
              "msvs_settings": {
                "VCLinkerTool": {
                  "AdditionalLibraryDirectories": [
                    "<(sqlite)/lib"
                  ]
                }
              }
          },
          {
              "dependencies": [
                "deps/sqlite3.gyp:sqlite3"
              ]
          }
          ]
        ],
        "sources": [
          "src/backup.cc",
          "src/database.cc",
          "src/node_sqlite3.cc",
          "src/statement.cc"
        ]
      },
      {
        "target_name": "action_after_build",
        "type": "none",
        "dependencies": [ "<(module_name)" ],
        "copies": [
            {
              "files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
              "destination": "<(module_path)"
            }
        ],
        "conditions": [
          ["OS == \"win\"", {
            "copies": [
                {
                  "files": [
                    "<(PRODUCT_DIR)/libeay32.dll",
                    "<(PRODUCT_DIR)/msvcr120.dll"
                  ],
                  "destination": "<(module_path)"
                }
            ]
          }]
        ]
      }
    ]
  }
  