Index: chrome/common/extensions/api/api.gyp |
diff --git a/chrome/common/extensions/api/api.gyp b/chrome/common/extensions/api/api.gyp |
index 3c90b0d7375035f3ccd413b0b0c747554ff7633e..4d0f652f151d8c9612a7807dd03b19763a92ba0b 100644 |
--- a/chrome/common/extensions/api/api.gyp |
+++ b/chrome/common/extensions/api/api.gyp |
@@ -18,11 +18,30 @@ |
], |
'variables': { |
'chromium_code': 1, |
+ # Disable schema compiler to generate model extension API code. |
+ # Only register the extension functions in extension system. |
+ 'non_compiled_schema_files': [ |
+ 'adview.json', |
+ 'browsing_data.json', |
+ 'chromeos_info_private.json', |
+ 'echo_private.json', |
+ 'enterprise_platform_keys_private.json', |
Yoyo Zhou
2013/10/21 17:20:34
This one looks needed on chromeos.
Haojian Wu
2013/10/22 00:54:58
Done.
|
+ 'extension.json', |
+ 'file_browser_private.json', |
Yoyo Zhou
2013/10/21 17:20:34
And this one.
Haojian Wu
2013/10/22 00:54:58
Done.
|
+ 'idltest.idl', |
+ 'infobars.json', |
+ 'input_ime.json', |
Yoyo Zhou
2013/10/21 17:20:34
Also this one.
Haojian Wu
2013/10/22 00:54:58
Done.
|
+ 'media_player_private.json', |
+ 'music_manager_private.idl', |
+ 'preferences_private.json', |
+ 'principals_private.idl', |
+ 'terminal_private.json', |
+ 'top_sites.json', |
+ ], |
'conditions': [ |
['OS!="android"', { |
'schema_files': [ |
'activity_log_private.json', |
- 'adview.json', |
'alarms.idl', |
'app_current_window_internal.idl', |
'app_runtime.idl', |
@@ -33,9 +52,7 @@ |
'bookmark_manager_private.json', |
'bookmarks.json', |
'braille_display_private.idl', |
- 'browsing_data.json', |
'cast_channel.idl', |
- 'chromeos_info_private.json', |
'cloud_print_private.json', |
'command_line_private.json', |
'content_settings.json', |
@@ -48,16 +65,12 @@ |
'dns.idl', |
'downloads.idl', |
'downloads_internal.idl', |
- 'echo_private.json', |
- 'enterprise_platform_keys_private.json', |
'events.json', |
'experimental_accessibility.json', |
'experimental_discovery.idl', |
'experimental_history.json', |
'experimental_identity.idl', |
- 'extension.json', |
'feedback_private.idl', |
- 'file_browser_private.json', |
'file_system.idl', |
'font_settings.json', |
'hangouts_private.idl', |
@@ -66,27 +79,20 @@ |
'identity.idl', |
'identity_private.idl', |
'idle.json', |
- 'idltest.idl', |
'image_writer_private.idl', |
- 'infobars.json', |
- 'input_ime.json', |
'location.idl', |
'management.json', |
'manifest_types.json', |
'mdns.idl', |
'media_galleries.idl', |
'media_galleries_private.idl', |
- 'media_player_private.json', |
'metrics_private.json', |
- 'music_manager_private.idl', |
'networking_private.json', |
'notifications.idl', |
'omnibox.json', |
'page_capture.json', |
'permissions.json', |
'power.idl', |
- 'preferences_private.json', |
- 'principals_private.idl', |
'push_messaging.idl', |
'runtime.json', |
'serial.idl', |
@@ -106,9 +112,7 @@ |
'system_storage.idl', |
'tab_capture.idl', |
'tabs.json', |
- 'terminal_private.json', |
'test.json', |
- 'top_sites.json', |
'usb.idl', |
'virtual_keyboard_private.json', |
'web_navigation.json', |