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

Unified Diff: tools/dom/scripts/systemnative.py

Issue 258733009: Rename blink -> _blink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate SDK from dart repo Created 6 years, 8 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 | « tools/dom/scripts/dartdomgenerator.py ('k') | tools/dom/src/blink_native_DOMImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index c9817fe709db0db339578f93be7ea25cdee4428d..3f3043ed8e786e3f356d20fac7de8ead75347aea 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -231,8 +231,8 @@ def GetNativeLibraryEmitter(emitters, template_loader,
def massage_path(path):
# The most robust way to emit path separators is to use / always.
return path.replace('\\', '/')
- template = template_loader.Load('blink_dartium.darttemplate')
- dart_path = os.path.join(dartium_output_dir, 'blink_dartium.dart')
+ template = template_loader.Load('_blink_dartium.darttemplate')
+ dart_path = os.path.join(dartium_output_dir, '_blink_dartium.dart')
library_emitter = emitters.FileEmitter(dart_path)
auxiliary_dir = os.path.relpath(auxiliary_dir, dartium_output_dir)
emitter = \
@@ -255,7 +255,7 @@ class DartiumBackend(HtmlDartGenerator):
self._type_registry = options.type_registry
self._interface_type_info = self._type_registry.TypeInfo(self._interface.id)
self._metadata = options.metadata
- self._native_library_name = "blink"
+ self._native_library_name = "_blink"
# This goes away after the Chrome 35 roll (or whenever we commit to the
# dart:blink refactor)
self._dart_use_blink = dart_use_blink
@@ -395,18 +395,6 @@ class DartiumBackend(HtmlDartGenerator):
template = self._template_loader.Load('dart_implementation.darttemplate')
return template
- def _NativeImplementationTemplate(self):
- template = None
- interface_name = self._interface.doc_js_name
- if (interface_name == self._interface.id or
- not self._database.HasInterface(interface_name)):
- template_file = 'impl_blink_%s.darttemplate' % interface_name
- template = self._template_loader.TryLoad(template_file)
- if not template:
- template = \
- self._template_loader.Load('dart_blink_implementation.darttemplate')
- return template
-
def RootClassName(self):
return 'NativeFieldWrapperClass2'
« no previous file with comments | « tools/dom/scripts/dartdomgenerator.py ('k') | tools/dom/src/blink_native_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698