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

Unified Diff: platform_tools/android/gyp_gen/vars_dict_lib.py

Issue 198063002: Updates to Android.mk generation. (Closed) Base URL: https://skia.googlesource.com/skia.git@android_mk
Patch Set: Rebase Created 6 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: platform_tools/android/gyp_gen/vars_dict_lib.py
diff --git a/platform_tools/android/gyp_gen/vars_dict_lib.py b/platform_tools/android/gyp_gen/vars_dict_lib.py
index eedb8a36b9c7e5adcef4e774068147a7673c2811..ca43443d8ef139bcdbc52fad6dddf8f6be8522f5 100644
--- a/platform_tools/android/gyp_gen/vars_dict_lib.py
+++ b/platform_tools/android/gyp_gen/vars_dict_lib.py
@@ -57,6 +57,12 @@ class OrderedSet(object):
"""
return self.__li[index]
+ def reset(self):
+ """
+ Reset to empty.
+ """
+ self.__li = []
+
VAR_NAMES = ['LOCAL_CFLAGS',
'LOCAL_CPPFLAGS',
'LOCAL_SRC_FILES',
@@ -64,6 +70,7 @@ VAR_NAMES = ['LOCAL_CFLAGS',
'LOCAL_STATIC_LIBRARIES',
'LOCAL_C_INCLUDES',
'LOCAL_EXPORT_C_INCLUDE_DIRS',
+ 'DEFINES',
'KNOWN_TARGETS']
class VarsDict(collections.namedtuple('VarsDict', VAR_NAMES)):

Powered by Google App Engine
This is Rietveld 408576698