Index: extensions/common/api/schemas.gypi |
diff --git a/extensions/common/api/schemas.gypi b/extensions/common/api/schemas.gypi |
index d9649bad9e32e62ebc9a9aae8fd8eb081cd6e2a0..1b140bd01ba8d1452358f2b4043faddfa7398c0d 100644 |
--- a/extensions/common/api/schemas.gypi |
+++ b/extensions/common/api/schemas.gypi |
@@ -8,6 +8,10 @@ |
], |
'variables': { |
'chromium_code': 1, |
+ # TODO: Eliminate these on Android. See crbug.com/305852. |
+ 'android_schema_files': [ |
+ 'runtime.json', |
+ ], |
'main_schema_files': [ |
'app_current_window_internal.idl', |
'app_runtime.idl', |
@@ -46,9 +50,6 @@ |
], |
'non_compiled_schema_files': [ |
], |
- # TODO(thestig) Do not include this file in non-extensions builds. |
- # Then the conditional and else block can go away. |
- # Do the same for extensions/common/api/schemas.gni. |
'conditions': [ |
['enable_extensions==1', { |
'schema_files': [ |
@@ -56,6 +57,7 @@ |
], |
}, { |
'schema_files': [ |
+ '<@(android_schema_files)', |
], |
}], |
], |