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

Side by Side Diff: chrome/common/extensions/api/api.gyp

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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 'schema_files': [ 21 'schema_files': [
22 'alarms.idl', 22 'alarms.idl',
23 'app_current_window_internal.idl', 23 'app_current_window_internal.idl',
24 'app_runtime.idl', 24 'app_runtime.idl',
25 'app_window.idl', 25 'app_window.idl',
26 'autotest_private.idl', 26 'autotest_private.idl',
27 'bluetooth.idl', 27 'bluetooth.idl',
28 'bookmarks.json', 28 'bookmarks.json',
29 'bookmark_manager_private.json',
30 'browsing_data.json',
29 'cloud_print_private.json', 31 'cloud_print_private.json',
30 'content_settings.json', 32 'content_settings.json',
31 'context_menus.json', 33 'context_menus.json',
32 'cookies.json', 34 'cookies.json',
33 'debugger.json', 35 'debugger.json',
34 'developer_private.idl', 36 'developer_private.idl',
35 'dial.idl', 37 'dial.idl',
36 'downloads.idl', 38 'downloads.idl',
37 'events.json', 39 'events.json',
40 'experimental_accessibility.json',
38 'experimental_discovery.idl', 41 'experimental_discovery.idl',
39 'experimental_dns.idl', 42 'experimental_dns.idl',
40 'experimental_history.json', 43 'experimental_history.json',
41 'experimental_identity.idl', 44 'experimental_identity.idl',
42 'experimental_idltest.idl', 45 'experimental_idltest.idl',
46 'experimental_infobars.json',
43 'experimental_media_galleries.idl', 47 'experimental_media_galleries.idl',
44 'experimental_notification.idl', 48 'experimental_notification.idl',
49 'experimental_power.json',
45 'experimental_record.json', 50 'experimental_record.json',
46 'experimental_system_info_cpu.idl', 51 'experimental_system_info_cpu.idl',
47 'experimental_system_info_memory.idl', 52 'experimental_system_info_memory.idl',
48 'experimental_system_info_storage.idl', 53 'experimental_system_info_storage.idl',
49 'file_browser_handler_internal.json', 54 'file_browser_handler_internal.json',
50 'file_system.idl', 55 'file_system.idl',
51 'font_settings.json', 56 'font_settings.json',
52 'history.json', 57 'history.json',
53 'i18n.json', 58 'i18n.json',
59 'idle.json',
54 'management.json', 60 'management.json',
55 'media_galleries.idl', 61 'media_galleries.idl',
56 'media_galleries_private.idl', 62 'media_galleries_private.idl',
63 'metrics_private.json',
64 'omnibox.json',
57 'page_capture.json', 65 'page_capture.json',
58 'permissions.json', 66 'permissions.json',
59 'push_messaging.idl', 67 'push_messaging.idl',
60 'rtc_private.idl', 68 'rtc_private.idl',
61 'serial.idl', 69 'serial.idl',
62 'session_restore.json', 70 'session_restore.json',
63 'socket.idl', 71 'socket.idl',
64 'storage.json', 72 'storage.json',
65 'sync_file_system.idl', 73 'sync_file_system.idl',
66 'system_indicator.idl', 74 'system_indicator.idl',
67 'system_info_display.idl', 75 'system_info_display.idl',
68 'tab_capture.idl', 76 'tab_capture.idl',
69 'tabs.json', 77 'tabs.json',
78 'test.json',
70 'usb.idl', 79 'usb.idl',
71 'webview.json', 80 'webview.json',
72 'web_navigation.json', 81 'web_navigation.json',
73 'web_request.json', 82 'web_request.json',
74 'windows.json', 83 'windows.json',
75 ], 84 ],
76 'cc_dir': 'chrome/common/extensions/api', 85 'cc_dir': 'chrome/common/extensions/api',
77 'root_namespace': 'extensions::api', 86 'root_namespace': 'extensions::api',
78 }, 87 },
79 'conditions': [ 88 'conditions': [
80 ['OS=="android"', { 89 ['OS=="android"', {
81 'schema_files!': [ 90 'schema_files!': [
82 'usb.idl', 91 'usb.idl',
83 ], 92 ],
84 }], 93 }],
85 ['OS!="chromeos"', { 94 ['OS!="chromeos"', {
86 'schema_files!': [ 95 'schema_files!': [
87 'file_browser_handler_internal.json', 96 'file_browser_handler_internal.json',
88 'rtc_private.idl', 97 'rtc_private.idl',
89 ], 98 ],
90 }], 99 }],
91 ], 100 ],
92 }, 101 },
93 ], 102 ],
94 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698