Index: build/android/gyp/java_cpp_enum_tests.py |
diff --git a/build/android/gyp/java_cpp_enum_tests.py b/build/android/gyp/java_cpp_enum_tests.py |
index 902bbfad532886f41c7575ac172b3229b0c8d80a..3444cfa254affb6369f18017e5b56d379cecc020 100755 |
--- a/build/android/gyp/java_cpp_enum_tests.py |
+++ b/build/android/gyp/java_cpp_enum_tests.py |
@@ -40,7 +40,17 @@ class TestPreprocess(unittest.TestCase): |
package some.package; |
+import android.support.annotation.IntDef; |
+ |
+import java.lang.annotation.Retention; |
+import java.lang.annotation.RetentionPolicy; |
+ |
public class ClassName { |
+ @IntDef({ |
+ E1, E2 |
+ }) |
+ @Retention(RetentionPolicy.SOURCE) |
+ public @interface ClassNameEnum {} |
public static final int E1 = 1; |
public static final int E2 = 2 << 2; |
} |