зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
255763ef57
Коммит
03dad94e95
|
@ -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"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче