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

Unified Diff: chrome/common/extensions/api/api.gyp

Issue 24449006: Add non_compiled_schema_files in api.gyp to disable schema model code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos build error Created 7 years, 2 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 | « build/json_schema_bundle_compile.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fc9bb9eca6eb3a017df8cdf666eda885f79547ee 100644
--- a/chrome/common/extensions/api/api.gyp
+++ b/chrome/common/extensions/api/api.gyp
@@ -18,11 +18,25 @@
],
'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',
+ 'extension.json',
+ 'idltest.idl',
+ 'infobars.json',
+ 'media_player_private.json',
+ 'music_manager_private.idl',
+ 'preferences_private.json',
+ 'principals_private.idl',
+ '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 +47,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',
@@ -55,7 +67,6 @@
'experimental_discovery.idl',
'experimental_history.json',
'experimental_identity.idl',
- 'extension.json',
'feedback_private.idl',
'file_browser_private.json',
'file_system.idl',
@@ -66,9 +77,7 @@
'identity.idl',
'identity_private.idl',
'idle.json',
- 'idltest.idl',
'image_writer_private.idl',
- 'infobars.json',
'input_ime.json',
'location.idl',
'management.json',
@@ -76,17 +85,13 @@
'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',
@@ -108,7 +113,6 @@
'tabs.json',
'terminal_private.json',
'test.json',
- 'top_sites.json',
'usb.idl',
'virtual_keyboard_private.json',
'web_navigation.json',
« no previous file with comments | « build/json_schema_bundle_compile.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698