mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move atom_macro.rs to generated dir.
This commit is contained in:
parent
869e5e025e
commit
5b57c5513c
4 changed files with 6 additions and 3 deletions
|
@ -258,7 +258,7 @@ def write_pseudo_element_helper(atoms, target_filename):
|
|||
def generate_atoms(dist):
|
||||
style_path = os.path.dirname(os.path.dirname(__file__))
|
||||
atoms = collect_atoms(dist)
|
||||
write_atom_macro(atoms, os.path.join(style_path, "gecko_string_cache/atom_macro.rs"))
|
||||
write_atom_macro(atoms, os.path.join(style_path, "gecko/generated/atom_macro.rs"))
|
||||
write_pseudo_element_helper(atoms, os.path.join(style_path, "gecko/generated/pseudo_element_helper.rs"))
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,10 @@ use std::slice;
|
|||
|
||||
#[macro_use]
|
||||
#[allow(improper_ctypes, non_camel_case_types, missing_docs)]
|
||||
pub mod atom_macro;
|
||||
pub mod atom_macro {
|
||||
include!("../gecko/generated/atom_macro.rs");
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
pub mod namespace;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue