Index: sky/engine/build/scripts/name_macros.py |
diff --git a/sky/engine/build/scripts/name_macros.py b/sky/engine/build/scripts/name_macros.py |
index cebc50c58d9d22b749a65a011ed215b7e54a9942..f6c114933988621cd3493bd3f18d98d4e3412914 100644 |
--- a/sky/engine/build/scripts/name_macros.py |
+++ b/sky/engine/build/scripts/name_macros.py |
@@ -131,14 +131,8 @@ class Writer(in_generator.Writer): |
# Avoid duplicate includes. |
if cpp_name in includes: |
continue |
- if self.suffix == 'Modules': |
- subdir_name = 'modules' |
- else: |
- subdir_name = 'core' |
- include = '#include "%(path)s"\n#include "bindings/%(subdir_name)s/v8/V8%(script_name)s.h"' % { |
+ include = '#include "%(path)s"\n' % { |
'path': self._headers_header_include_path(entry), |
- 'script_name': name_utilities.script_name(entry), |
- 'subdir_name': subdir_name, |
} |
includes[cpp_name] = self.wrap_with_condition(include, entry['Conditional']) |
return includes.values() |