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

Unified Diff: ppapi/generators/idl_c_header.py

Issue 281203002: PPAPI: Make generator support "no_interface_string" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | ppapi/generators/idl_gen_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_c_header.py
diff --git a/ppapi/generators/idl_c_header.py b/ppapi/generators/idl_c_header.py
index 22932e66477a42d283803d924d9776943a9aab2d..b4b98227df4cad4697f4c0acbdc76f205cd15b76 100755
--- a/ppapi/generators/idl_c_header.py
+++ b/ppapi/generators/idl_c_header.py
@@ -288,6 +288,9 @@ class HGen(GeneratorByFile):
# Skip this interface if there are no matching versions
if not unique: continue
+ # Skip this interface if it should have no interface string.
+ if node.GetProperty('no_interface_string'): continue
+
last_stable_ver = None
last_dev_rel = None
for rel in unique:
« no previous file with comments | « no previous file | ppapi/generators/idl_gen_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698