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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « build/json_schema_bundle_compile.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'api', 8 'target_name': 'api',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
11 '<@(schema_files)', 11 '<@(schema_files)',
12 ], 12 ],
13 # TODO(jschuh): http://crbug.com/167187 size_t -> int 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int
14 'msvs_disabled_warnings': [ 4267 ], 14 'msvs_disabled_warnings': [ 4267 ],
15 'includes': [ 15 'includes': [
16 '../../../../build/json_schema_bundle_compile.gypi', 16 '../../../../build/json_schema_bundle_compile.gypi',
17 '../../../../build/json_schema_compile.gypi', 17 '../../../../build/json_schema_compile.gypi',
18 ], 18 ],
19 'variables': { 19 'variables': {
20 'chromium_code': 1, 20 'chromium_code': 1,
21 # Disable schema compiler to generate model extension API code.
22 # Only register the extension functions in extension system.
23 'non_compiled_schema_files': [
24 'adview.json',
25 'browsing_data.json',
26 'chromeos_info_private.json',
27 'extension.json',
28 'idltest.idl',
29 'infobars.json',
30 'media_player_private.json',
31 'music_manager_private.idl',
32 'preferences_private.json',
33 'principals_private.idl',
34 'top_sites.json',
35 ],
21 'conditions': [ 36 'conditions': [
22 ['OS!="android"', { 37 ['OS!="android"', {
23 'schema_files': [ 38 'schema_files': [
24 'activity_log_private.json', 39 'activity_log_private.json',
25 'adview.json',
26 'alarms.idl', 40 'alarms.idl',
27 'app_current_window_internal.idl', 41 'app_current_window_internal.idl',
28 'app_runtime.idl', 42 'app_runtime.idl',
29 'app_window.idl', 43 'app_window.idl',
30 'audio.idl', 44 'audio.idl',
31 'autotest_private.idl', 45 'autotest_private.idl',
32 'bluetooth.idl', 46 'bluetooth.idl',
33 'bookmark_manager_private.json', 47 'bookmark_manager_private.json',
34 'bookmarks.json', 48 'bookmarks.json',
35 'braille_display_private.idl', 49 'braille_display_private.idl',
36 'browsing_data.json',
37 'cast_channel.idl', 50 'cast_channel.idl',
38 'chromeos_info_private.json',
39 'cloud_print_private.json', 51 'cloud_print_private.json',
40 'command_line_private.json', 52 'command_line_private.json',
41 'content_settings.json', 53 'content_settings.json',
42 'context_menus.json', 54 'context_menus.json',
43 'cookies.json', 55 'cookies.json',
44 'debugger.json', 56 'debugger.json',
45 'desktop_capture.json', 57 'desktop_capture.json',
46 'developer_private.idl', 58 'developer_private.idl',
47 'dial.idl', 59 'dial.idl',
48 'dns.idl', 60 'dns.idl',
49 'downloads.idl', 61 'downloads.idl',
50 'downloads_internal.idl', 62 'downloads_internal.idl',
51 'echo_private.json', 63 'echo_private.json',
52 'enterprise_platform_keys_private.json', 64 'enterprise_platform_keys_private.json',
53 'events.json', 65 'events.json',
54 'experimental_accessibility.json', 66 'experimental_accessibility.json',
55 'experimental_discovery.idl', 67 'experimental_discovery.idl',
56 'experimental_history.json', 68 'experimental_history.json',
57 'experimental_identity.idl', 69 'experimental_identity.idl',
58 'extension.json',
59 'feedback_private.idl', 70 'feedback_private.idl',
60 'file_browser_private.json', 71 'file_browser_private.json',
61 'file_system.idl', 72 'file_system.idl',
62 'font_settings.json', 73 'font_settings.json',
63 'hangouts_private.idl', 74 'hangouts_private.idl',
64 'history.json', 75 'history.json',
65 'i18n.json', 76 'i18n.json',
66 'identity.idl', 77 'identity.idl',
67 'identity_private.idl', 78 'identity_private.idl',
68 'idle.json', 79 'idle.json',
69 'idltest.idl',
70 'image_writer_private.idl', 80 'image_writer_private.idl',
71 'infobars.json',
72 'input_ime.json', 81 'input_ime.json',
73 'location.idl', 82 'location.idl',
74 'management.json', 83 'management.json',
75 'manifest_types.json', 84 'manifest_types.json',
76 'mdns.idl', 85 'mdns.idl',
77 'media_galleries.idl', 86 'media_galleries.idl',
78 'media_galleries_private.idl', 87 'media_galleries_private.idl',
79 'media_player_private.json',
80 'metrics_private.json', 88 'metrics_private.json',
81 'music_manager_private.idl',
82 'networking_private.json', 89 'networking_private.json',
83 'notifications.idl', 90 'notifications.idl',
84 'omnibox.json', 91 'omnibox.json',
85 'page_capture.json', 92 'page_capture.json',
86 'permissions.json', 93 'permissions.json',
87 'power.idl', 94 'power.idl',
88 'preferences_private.json',
89 'principals_private.idl',
90 'push_messaging.idl', 95 'push_messaging.idl',
91 'runtime.json', 96 'runtime.json',
92 'serial.idl', 97 'serial.idl',
93 'sessions.json', 98 'sessions.json',
94 'signed_in_devices.idl', 99 'signed_in_devices.idl',
95 'socket.idl', 100 'socket.idl',
96 'sockets_tcp.idl', 101 'sockets_tcp.idl',
97 'sockets_tcp_server.idl', 102 'sockets_tcp_server.idl',
98 'sockets_udp.idl', 103 'sockets_udp.idl',
99 'storage.json', 104 'storage.json',
100 'sync_file_system.idl', 105 'sync_file_system.idl',
101 'system_cpu.idl', 106 'system_cpu.idl',
102 'system_display.idl', 107 'system_display.idl',
103 'system_indicator.idl', 108 'system_indicator.idl',
104 'system_memory.idl', 109 'system_memory.idl',
105 'system_private.json', 110 'system_private.json',
106 'system_storage.idl', 111 'system_storage.idl',
107 'tab_capture.idl', 112 'tab_capture.idl',
108 'tabs.json', 113 'tabs.json',
109 'terminal_private.json', 114 'terminal_private.json',
110 'test.json', 115 'test.json',
111 'top_sites.json',
112 'usb.idl', 116 'usb.idl',
113 'virtual_keyboard_private.json', 117 'virtual_keyboard_private.json',
114 'web_navigation.json', 118 'web_navigation.json',
115 'web_request.json', 119 'web_request.json',
116 'webstore_private.json', 120 'webstore_private.json',
117 'webview.json', 121 'webview.json',
118 'windows.json', 122 'windows.json',
119 ], 123 ],
120 }, { # OS=="android" 124 }, { # OS=="android"
121 'schema_files': [ 125 'schema_files': [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 'conditions': [ 173 'conditions': [
170 ['chromeos==1', { 174 ['chromeos==1', {
171 'dependencies': [ 175 'dependencies': [
172 '<(DEPTH)/chrome/chrome.gyp:drive_proto', 176 '<(DEPTH)/chrome/chrome.gyp:drive_proto',
173 ], 177 ],
174 }], 178 }],
175 ], 179 ],
176 }, 180 },
177 ], 181 ],
178 } 182 }
OLDNEW
« 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