mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
4cc0c36830
This allows us to fix a bug where when our current Private Browsing shortcuts are pinned to the Start Menu, they use the regular Firefox Visual Elements (which is the non-Private Browsing logo). I tried to make this as minimal and braindead as possible. Differential Revision: https://phabricator.services.mozilla.com/D151538
30 lines
722 B
Plaintext
30 lines
722 B
Plaintext
SPHINX_TREES["private-browsing-proxy"] = "docs"
|
|
|
|
SOURCES += ["pbproxy.cpp"]
|
|
|
|
# For nsNativeAppSupportWin.h icon definitions
|
|
LOCAL_INCLUDES += ["/toolkit/xre"]
|
|
|
|
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CC_TYPE"] in ("gcc", "clang"):
|
|
# This allows us to use wmain as the entry point on mingw
|
|
LDFLAGS += [
|
|
"-municode",
|
|
]
|
|
|
|
RCINCLUDE = "pbproxy.rc"
|
|
DEFINES["UNICODE"] = 1
|
|
DEFINES["MOZ_APP_NAME"] = 'L"{}"'.format(CONFIG["MOZ_APP_NAME"])
|
|
Program("private_browsing")
|
|
|
|
OS_LIBS += ["shlwapi", "user32"]
|
|
|
|
DEFINES["PBMODE_ICO"] = '"{}/{}/pbmode.ico"'.format(
|
|
TOPSRCDIR,
|
|
CONFIG["MOZ_BRANDING_DIRECTORY"],
|
|
)
|
|
|
|
DisableStlWrapping()
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Firefox", "Shell Integration")
|