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

Unified Diff: Source/bindings/scripts/utilities.py

Issue 1054443002: Make classes for union types exported. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
Index: Source/bindings/scripts/utilities.py
diff --git a/Source/bindings/scripts/utilities.py b/Source/bindings/scripts/utilities.py
index bf9ade858d790ece6850d63bde60b9ebaa507307..9eddce14cd41c0293be940b65a65d1daf975bcee 100644
--- a/Source/bindings/scripts/utilities.py
+++ b/Source/bindings/scripts/utilities.py
@@ -111,6 +111,14 @@ class ComponentInfoProviderCore(ComponentInfoProvider):
def include_path_for_union_types(self):
return 'bindings/core/v8/UnionTypesCore.h'
+ @property
+ def specifier_for_export(self):
+ return 'CORE_EXPORT '
+
+ @property
+ def include_path_for_export(self):
+ return 'core/CoreExport.h'
+
class ComponentInfoProviderModules(ComponentInfoProvider):
def __init__(self, interfaces_info, component_info_core,
@@ -150,6 +158,14 @@ class ComponentInfoProviderModules(ComponentInfoProvider):
def include_path_for_union_types(self):
return 'bindings/modules/v8/UnionTypesModules.h'
+ @property
+ def specifier_for_export(self):
+ return 'MODULES_EXPORT '
+
+ @property
+ def include_path_for_export(self):
+ return 'modules/ModulesExport.h'
haraken 2015/04/02 09:13:09 I'd propose introducing wtf/Export.h (and remove C
+
def load_interfaces_info_overall_pickle(info_dir):
with open(os.path.join(info_dir, 'modules', 'InterfacesInfoOverall.pickle')) as interface_info_file:

Powered by Google App Engine
This is Rietveld 408576698