view SConstruct @ 2:babaa75bec07

Added a .plugin bundle, which appears to be loadable into Firefox.
author Atul Varma <varmaa@toolness.com>
date Wed, 30 Apr 2008 17:03:39 -0700
parents b4ef3012aa29
children 9a9f30dde6c1
line wrap: on
line source

env = Environment()

env["MOZ_SDK_DIR"] = "/Users/varmaa/Documents/mozilla-stuff/builds/basic-firefox/dist/sdk"

env.Append(
    CPPPATH = ["${MOZ_SDK_DIR}/include"],
    CPPDEFINES = ["XP_MACOSX"]
)

env.LoadableModule(
    source = ["np_entry.cpp",
               "npn_gate.cpp",
               "npp_gate.cpp",
               "plugin.cpp"],
    target = "#SimplePlugin.plugin/Contents/MacOS/SimplePlugin"
)