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
parent 1c58e2a928
commit e5aa261961
3 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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"],
)

View File

@@ -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"]