mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 904831 - Part a: Support MSVC_ENABLE_PGO in moz.build; r=gps
This commit is contained in:
parent
63b648bec1
commit
c285c318c5
@ -134,6 +134,7 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
LIBS='LIBS',
|
||||
LIBXUL_LIBRARY='LIBXUL_LIBRARY',
|
||||
MODULE='MODULE',
|
||||
MSVC_ENABLE_PGO='MSVC_ENABLE_PGO',
|
||||
SDK_LIBRARY='SDK_LIBRARY',
|
||||
SHARED_LIBRARY_LIBS='SHARED_LIBRARY_LIBS',
|
||||
SIMPLE_PROGRAMS='SIMPLE_PROGRAMS',
|
||||
|
@ -215,6 +215,10 @@ VARIABLES = {
|
||||
Implies MOZILLA_INTERNAL_API.
|
||||
"""),
|
||||
|
||||
'MSVC_ENABLE_PGO': (bool, bool, False,
|
||||
"""Whether profile-guided optimization is enabled in this directory.
|
||||
"""),
|
||||
|
||||
'SDK_LIBRARY': (StrictOrderingOnAppendList, list, [],
|
||||
"""Elements of the distributed SDK.
|
||||
|
||||
|
@ -42,3 +42,4 @@ SSRCS = ['bar.S', 'foo.S']
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
LIBXUL_LIBRARY = True
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
@ -207,6 +207,9 @@ class TestRecursiveMakeBackend(BackendTester):
|
||||
'LIBXUL_LIBRARY': [
|
||||
'LIBXUL_LIBRARY := 1',
|
||||
],
|
||||
'MSVC_ENABLE_PGO': [
|
||||
'MSVC_ENABLE_PGO := 1',
|
||||
],
|
||||
'SDK_LIBRARY': [
|
||||
'SDK_LIBRARY += bar.sdk',
|
||||
'SDK_LIBRARY += foo.sdk',
|
||||
|
@ -42,5 +42,6 @@ SSRCS = ['fans.S', 'tans.S']
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
LIBXUL_LIBRARY = True
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
||||
NO_DIST_INSTALL = True
|
||||
|
@ -146,6 +146,7 @@ class TestEmitterBasic(unittest.TestCase):
|
||||
LIBRARY_NAME='lib_name',
|
||||
LIBS=['fans.lib', 'tans.lib'],
|
||||
LIBXUL_LIBRARY=True,
|
||||
MSVC_ENABLE_PGO=True,
|
||||
NO_DIST_INSTALL='1',
|
||||
MODULE='module_name',
|
||||
SDK_LIBRARY=['fans.sdk', 'tans.sdk'],
|
||||
|
Loading…
Reference in New Issue
Block a user