@@ -24,10 +24,10 @@ declare_args() {
2424 # If it is non-empty, it should be the absolute path to impellerc.
2525 impeller_use_prebuilt_impellerc = " "
2626
27- # Whether to use a prebuilt scene_importer .
28- # If this is the empty string, scene_importer will be built.
29- # If it is non-empty, it should be the absolute path to scene_importer .
30- impeller_use_prebuilt_scene_importer = " "
27+ # Whether to use a prebuilt scenec .
28+ # If this is the empty string, scenec will be built.
29+ # If it is non-empty, it should be the absolute path to scenec .
30+ impeller_use_prebuilt_scenec = " "
3131
3232 # If enabled, all OpenGL calls will be traced. Because additional trace
3333 # overhead may be substantial, this is not enabled by default.
@@ -622,32 +622,31 @@ template("impeller_shaders") {
622622 }
623623}
624624
625- # Dispatches to the build or prebuilt scene_importer depending on the value of
626- # the impeller_use_prebuilt_scene_importer argument. Forwards all variables to
625+ # Dispatches to the build or prebuilt scenec depending on the value of
626+ # the impeller_use_prebuilt_scenec argument. Forwards all variables to
627627# compiled_action_foreach or action_foreach as appropriate.
628- template (" _scene_importer " ) {
629- if (impeller_use_prebuilt_scene_importer == " " ) {
628+ template (" _scenec " ) {
629+ if (impeller_use_prebuilt_scenec == " " ) {
630630 compiled_action_foreach (target_name ) {
631631 forward_variables_from (invoker , " *" )
632- tool = " //flutter/impeller/scene/importer:scene_importer "
632+ tool = " //flutter/impeller/scene/importer:scenec "
633633 }
634634 } else {
635635 action_foreach (target_name ) {
636636 forward_variables_from (invoker , " *" , [ " args" ])
637637 script = " //build/gn_run_binary.py"
638- scene_importer_path =
639- rebase_path (impeller_use_prebuilt_scene_importer , root_build_dir )
640- args = [ scene_importer_path ] + invoker .args
638+ scenec_path = rebase_path (impeller_use_prebuilt_scenec , root_build_dir )
639+ args = [ scenec_path ] + invoker .args
641640 }
642641 }
643642}
644643
645- template (" scene_importer " ) {
644+ template (" scenec " ) {
646645 assert (defined (invoker .geometry ), " Geometry input files must be specified." )
647646 assert (defined (invoker .type ),
648647 " The type of geometry to be parsed (gltf, etc..)." )
649648
650- _scene_importer (target_name ) {
649+ _scenec (target_name ) {
651650 sources = invoker .geometry
652651 generated_dir = " $target_gen_dir "
653652
0 commit comments