We should do refactoring of the scripts.
Now they have some concerns in both structure and script style.
For the structure, bashi@ has a design doc [1].
For the style, pylint warns to use relative imports, which does not work correctly.
We'd like to work for the latter one incrementally, and for the first one in a long way.
[1] https://docs.google.com/document/d/13yQkyEX0_y3n5Mgma6R1yEsKqPESddtzhjsvbArrE1Q/edit?usp=sharing
Just a note. This refactoring will resolve a complex situation of IDL files in GN files.
For example, in https://chromium-review.googlesource.com/c/chromium/src/+/867915
it is difficult to find he needs to move 'Document.idl' from |core_idl_files| to |core_idl_with_modules_dependency_files|.
Now we have 15 GN variables to manage IDL files, and I think we can reduce them into 4-5 variables in clearer rules.
Comment 1 Deleted