Skip to content

Commit 1ff59cb

Browse files
committed
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
1 parent 03c2fad commit 1ff59cb

File tree

3,423 files changed

+129073
-164607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,423 files changed

+129073
-164607
lines changed

.ycm_extra_conf.py

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,55 +12,56 @@
1212
old_bytecode = sys.dont_write_bytecode
1313
sys.dont_write_bytecode = True
1414

15-
path = os.path.abspath(os.path.join(os.path.dirname(__file__), "mach"))
15+
path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'mach'))
1616

1717
# If mach is not here, we're on the objdir go to the srcdir.
1818
if not os.path.exists(path):
19-
with open(os.path.join(os.path.dirname(__file__), "mozinfo.json")) as info:
19+
with open(os.path.join(os.path.dirname(__file__), 'mozinfo.json')) as info:
2020
config = json.loads(info.read())
21-
path = os.path.join(config["topsrcdir"], "mach")
21+
path = os.path.join(config['topsrcdir'], 'mach')
2222

2323
sys.dont_write_bytecode = old_bytecode
2424

25-
2625
def _is_likely_cpp_header(filename):
27-
if not filename.endswith(".h"):
26+
if not filename.endswith('.h'):
2827
return False
2928

30-
if filename.endswith("Inlines.h") or filename.endswith("-inl.h"):
29+
if filename.endswith('Inlines.h') or filename.endswith('-inl.h'):
3130
return True
3231

33-
cpp_file = filename[:-1] + "cpp"
32+
cpp_file = filename[:-1] + 'cpp'
3433
return os.path.exists(cpp_file)
3534

3635

3736
def Settings(**kwargs):
38-
if kwargs["language"] == "cfamily":
39-
return FlagsForFile(kwargs["filename"])
37+
if kwargs[ 'language' ] == 'cfamily':
38+
return FlagsForFile(kwargs['filename'])
4039
# This is useful for generic language server protocols, like rust-analyzer,
4140
# to discover the right project root instead of guessing based on where the
4241
# closest Cargo.toml is.
4342
return {
44-
"project_directory": ".",
43+
'project_directory': '.',
4544
}
4645

4746

4847
def FlagsForFile(filename):
49-
output = subprocess.check_output([path, "compileflags", filename])
50-
output = output.decode("utf-8")
48+
output = subprocess.check_output([path, 'compileflags', filename])
49+
output = output.decode('utf-8')
5150

5251
flag_list = shlex.split(output)
5352

5453
# This flag is added by Fennec for android build and causes ycmd to fail to parse the file.
5554
# Removing this flag is a workaround until ycmd starts to handle this flag properly.
5655
# https://github.com/Valloric/YouCompleteMe/issues/1490
57-
final_flags = [x for x in flag_list if not x.startswith("-march=armv")]
56+
final_flags = [x for x in flag_list if not x.startswith('-march=armv')]
5857

5958
if _is_likely_cpp_header(filename):
6059
final_flags += ["-x", "c++"]
6160

62-
return {"flags": final_flags, "do_cache": True}
63-
61+
return {
62+
'flags': final_flags,
63+
'do_cache': True
64+
}
6465

65-
if __name__ == "__main__":
66+
if __name__ == '__main__':
6667
print(FlagsForFile(sys.argv[1]))

accessible/android/moz.build

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,38 @@
44
# License, v. 2.0. If a copy of the MPL was not distributed with this
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

7-
EXPORTS.mozilla.a11y += [
8-
"AccessibleWrap.h",
9-
"HyperTextAccessibleWrap.h",
10-
"SessionAccessibility.h",
11-
"TraversalRule.h",
7+
EXPORTS.mozilla.a11y += ['AccessibleWrap.h',
8+
'HyperTextAccessibleWrap.h',
9+
'SessionAccessibility.h',
10+
'TraversalRule.h',
1211
]
1312

1413
SOURCES += [
15-
"AccessibleWrap.cpp",
16-
"DocAccessibleWrap.cpp",
17-
"Platform.cpp",
18-
"ProxyAccessibleWrap.cpp",
19-
"RootAccessibleWrap.cpp",
20-
"SessionAccessibility.cpp",
21-
"TraversalRule.cpp",
14+
'AccessibleWrap.cpp',
15+
'DocAccessibleWrap.cpp',
16+
'Platform.cpp',
17+
'ProxyAccessibleWrap.cpp',
18+
'RootAccessibleWrap.cpp',
19+
'SessionAccessibility.cpp',
20+
'TraversalRule.cpp',
2221
]
2322

2423
LOCAL_INCLUDES += [
25-
"/accessible/base",
26-
"/accessible/generic",
27-
"/accessible/html",
28-
"/accessible/ipc",
29-
"/accessible/ipc/other",
30-
"/accessible/xpcom",
31-
"/accessible/xul",
32-
"/dom/base",
33-
"/widget",
34-
"/widget/android",
24+
'/accessible/base',
25+
'/accessible/generic',
26+
'/accessible/html',
27+
'/accessible/ipc',
28+
'/accessible/ipc/other',
29+
'/accessible/xpcom',
30+
'/accessible/xul',
31+
'/dom/base',
32+
'/widget',
33+
'/widget/android',
3534
]
3635

37-
FINAL_LIBRARY = "xul"
36+
FINAL_LIBRARY = 'xul'
3837

39-
include("/ipc/chromium/chromium-config.mozbuild")
38+
include('/ipc/chromium/chromium-config.mozbuild')
4039

41-
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
42-
CXXFLAGS += ["-Wno-error=shadow"]
40+
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
41+
CXXFLAGS += ['-Wno-error=shadow']

accessible/aom/moz.build

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,40 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
EXPORTS.mozilla.dom += [
8-
"AccessibleNode.h",
8+
'AccessibleNode.h',
99
]
1010

1111
UNIFIED_SOURCES += [
12-
"AccessibleNode.cpp",
12+
'AccessibleNode.cpp',
1313
]
1414

1515
LOCAL_INCLUDES += [
16-
"/accessible/base",
17-
"/accessible/generic",
16+
'/accessible/base',
17+
'/accessible/generic',
1818
]
1919

20-
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
20+
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
2121
LOCAL_INCLUDES += [
22-
"/accessible/atk",
22+
'/accessible/atk',
2323
]
24-
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
24+
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
2525
LOCAL_INCLUDES += [
26-
"/accessible/windows/ia2",
27-
"/accessible/windows/msaa",
26+
'/accessible/windows/ia2',
27+
'/accessible/windows/msaa',
2828
]
29-
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
29+
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
3030
LOCAL_INCLUDES += [
31-
"/accessible/mac",
31+
'/accessible/mac',
3232
]
33-
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
33+
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
3434
LOCAL_INCLUDES += [
35-
"/accessible/android",
35+
'/accessible/android',
3636
]
3737
else:
3838
LOCAL_INCLUDES += [
39-
"/accessible/other",
39+
'/accessible/other',
4040
]
4141

42-
include("/ipc/chromium/chromium-config.mozbuild")
42+
include('/ipc/chromium/chromium-config.mozbuild')
4343

44-
FINAL_LIBRARY = "xul"
44+
FINAL_LIBRARY = 'xul'

accessible/atk/moz.build

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,61 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
EXPORTS.mozilla.a11y += [
8-
"AccessibleWrap.h",
9-
"HyperTextAccessibleWrap.h",
8+
'AccessibleWrap.h',
9+
'HyperTextAccessibleWrap.h',
1010
]
1111

1212
SOURCES += [
13-
"AccessibleWrap.cpp",
14-
"ApplicationAccessibleWrap.cpp",
15-
"AtkSocketAccessible.cpp",
16-
"DocAccessibleWrap.cpp",
17-
"DOMtoATK.cpp",
18-
"nsMaiHyperlink.cpp",
19-
"nsMaiInterfaceAction.cpp",
20-
"nsMaiInterfaceComponent.cpp",
21-
"nsMaiInterfaceDocument.cpp",
22-
"nsMaiInterfaceEditableText.cpp",
23-
"nsMaiInterfaceHyperlinkImpl.cpp",
24-
"nsMaiInterfaceHypertext.cpp",
25-
"nsMaiInterfaceImage.cpp",
26-
"nsMaiInterfaceSelection.cpp",
27-
"nsMaiInterfaceTable.cpp",
28-
"nsMaiInterfaceTableCell.cpp",
29-
"nsMaiInterfaceText.cpp",
30-
"nsMaiInterfaceValue.cpp",
31-
"Platform.cpp",
32-
"RootAccessibleWrap.cpp",
33-
"UtilInterface.cpp",
13+
'AccessibleWrap.cpp',
14+
'ApplicationAccessibleWrap.cpp',
15+
'AtkSocketAccessible.cpp',
16+
'DocAccessibleWrap.cpp',
17+
'DOMtoATK.cpp',
18+
'nsMaiHyperlink.cpp',
19+
'nsMaiInterfaceAction.cpp',
20+
'nsMaiInterfaceComponent.cpp',
21+
'nsMaiInterfaceDocument.cpp',
22+
'nsMaiInterfaceEditableText.cpp',
23+
'nsMaiInterfaceHyperlinkImpl.cpp',
24+
'nsMaiInterfaceHypertext.cpp',
25+
'nsMaiInterfaceImage.cpp',
26+
'nsMaiInterfaceSelection.cpp',
27+
'nsMaiInterfaceTable.cpp',
28+
'nsMaiInterfaceTableCell.cpp',
29+
'nsMaiInterfaceText.cpp',
30+
'nsMaiInterfaceValue.cpp',
31+
'Platform.cpp',
32+
'RootAccessibleWrap.cpp',
33+
'UtilInterface.cpp',
3434
]
3535

3636
LOCAL_INCLUDES += [
37-
"/accessible/base",
38-
"/accessible/generic",
39-
"/accessible/html",
40-
"/accessible/ipc",
41-
"/accessible/ipc/other",
42-
"/accessible/xpcom",
43-
"/accessible/xul",
44-
"/other-licenses/atk-1.0",
37+
'/accessible/base',
38+
'/accessible/generic',
39+
'/accessible/html',
40+
'/accessible/ipc',
41+
'/accessible/ipc/other',
42+
'/accessible/xpcom',
43+
'/accessible/xul',
44+
'/other-licenses/atk-1.0',
4545
]
4646

47-
FINAL_LIBRARY = "xul"
47+
FINAL_LIBRARY = 'xul'
4848

49-
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
50-
CFLAGS += CONFIG["TK_CFLAGS"]
51-
CXXFLAGS += CONFIG["TK_CFLAGS"]
49+
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
50+
CFLAGS += CONFIG['TK_CFLAGS']
51+
CXXFLAGS += CONFIG['TK_CFLAGS']
5252

53-
if CONFIG["MOZ_ENABLE_DBUS"]:
54-
CXXFLAGS += CONFIG["MOZ_DBUS_CFLAGS"]
53+
if CONFIG['MOZ_ENABLE_DBUS']:
54+
CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
5555

56-
include("/ipc/chromium/chromium-config.mozbuild")
56+
include('/ipc/chromium/chromium-config.mozbuild')
5757

58-
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
58+
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
5959
# Used in G_DEFINE_TYPE_EXTENDED macro, probably fixed in newer glib /
6060
# gobject headers. See bug 1243331 comment 3.
6161
CXXFLAGS += [
62-
"-Wno-error=unused-function",
63-
"-Wno-error=shadow",
64-
"-Wno-unused-local-typedefs",
62+
'-Wno-error=unused-function',
63+
'-Wno-error=shadow',
64+
'-Wno-unused-local-typedefs',
6565
]

0 commit comments

Comments
 (0)