Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / browser / app / pbproxy / moz.build
blobbf9e0125e0ade95be5dac0ffe0ae02c1d4ebbfa9
1 SPHINX_TREES["private-browsing-proxy"] = "docs"
3 SOURCES += ["pbproxy.cpp"]
5 # For nsNativeAppSupportWin.h icon definitions
6 LOCAL_INCLUDES += ["/toolkit/xre"]
8 if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CC_TYPE"] in ("gcc", "clang"):
9     # This allows us to use wmain as the entry point on mingw
10     LDFLAGS += [
11         "-municode",
12     ]
14 RCINCLUDE = "pbproxy.rc"
15 DEFINES["UNICODE"] = 1
16 DEFINES["MOZ_APP_NAME"] = 'L"{}"'.format(CONFIG["MOZ_APP_NAME"])
17 Program("private_browsing")
19 OS_LIBS += ["shlwapi", "user32"]
21 DEFINES["PBMODE_ICO"] = '"{}/{}/pbmode.ico"'.format(
22     TOPSRCDIR,
23     CONFIG["MOZ_BRANDING_DIRECTORY"],
26 DisableStlWrapping()
28 with Files("**"):
29     BUG_COMPONENT = ("Firefox", "Shell Integration")