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

Unified Diff: Source/build/scripts/name_macros.py

Issue 360053004: Fix some nits as a follow-up for issue 355193003. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | Source/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/name_macros.py
diff --git a/Source/build/scripts/name_macros.py b/Source/build/scripts/name_macros.py
index 9af05b4131cee5d74c79b57c0de0d12ce7aded4a..cebc50c58d9d22b749a65a011ed215b7e54a9942 100644
--- a/Source/build/scripts/name_macros.py
+++ b/Source/build/scripts/name_macros.py
@@ -131,14 +131,14 @@ class Writer(in_generator.Writer):
# Avoid duplicate includes.
if cpp_name in includes:
continue
- if self.suffix == "Modules":
+ 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"' % {
'path': self._headers_header_include_path(entry),
- 'subdir_name': subdir_name,
'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 | « no previous file | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698