Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(922)

Unified Diff: sky/engine/build/scripts/name_macros.py

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings2/mojo_natives.cc ('k') | sky/engine/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « sky/engine/bindings2/mojo_natives.cc ('k') | sky/engine/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698