Bug 1773070 - Rename generated header name as per Matrix suggestion. r=smaug

For now this is fine, if we want to generate more stuff in the future
changing the header name is trivial.

Differential Revision: https://phabricator.services.mozilla.com/D148554
This commit is contained in:
Emilio Cobos Álvarez 2022-06-07 23:09:53 +00:00
Родитель 255763ef57
Коммит 03dad94e95
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -35,6 +35,6 @@
\
InternalType GetInternalValue() const { return bits; }
#include "mozilla/dom/rust_generated.h"
#include "mozilla/dom/GeneratedElementDocumentState.h"
#endif

Просмотреть файл

@ -296,12 +296,12 @@ if CONFIG["FUZZING"]:
if CONFIG["COMPILE_ENVIRONMENT"]:
EXPORTS.mozilla.dom += [
"!rust_generated.h",
"!GeneratedElementDocumentState.h",
"RustTypes.h",
]
CbindgenHeader(
"rust_generated.h",
"GeneratedElementDocumentState.h",
inputs=["rust"],
)

Просмотреть файл

@ -6,7 +6,7 @@ header = """/* This Source Code Form is subject to the terms of the Mozilla Publ
#error "Don't include this file directly, include mozilla/dom/RustTypes.h instead"
#endif
"""
include_guard = "mozilla_dom_rust_generated_h"
include_guard = "mozilla_dom_GeneratedElementDocumentState_h"
include_version = true
language = "C++"
namespaces = ["mozilla", "dom"]