Home | History | Annotate | Download | only in api
      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
      3 # found in the LICENSE file.
      4 
      5 {
      6   'targets': [
      7     {
      8       'target_name': 'api',
      9       'type': 'static_library',
     10       'sources': [
     11         '<@(schema_files)',
     12       ],
     13       # TODO(jschuh): http://crbug.com/167187 size_t -> int
     14       'msvs_disabled_warnings': [ 4267 ],
     15       'includes': [
     16         '../../../../build/json_schema_bundle_compile.gypi',
     17         '../../../../build/json_schema_compile.gypi',
     18       ],
     19       'variables': {
     20         'chromium_code': 1,
     21         'schema_files': [
     22           'alarms.idl',
     23           'activity_log_private.json',
     24           'adview.json',
     25           'app_current_window_internal.idl',
     26           'app_runtime.idl',
     27           'app_window.idl',
     28           'audio.idl',
     29           'autotest_private.idl',
     30           'bluetooth.idl',
     31           'bookmark_manager_private.json',
     32           'bookmarks.json',
     33           'browsing_data.json',
     34           'chromeos_info_private.json',
     35           'cloud_print_private.json',
     36           'command_line_private.json',
     37           'content_settings.json',
     38           'context_menus.json',
     39           'cookies.json',
     40           'debugger.json',
     41           'developer_private.idl',
     42           'diagnostics.idl',
     43           'dial.idl',
     44           'downloads.idl',
     45           'echo_private.json',
     46           'downloads_internal.idl',
     47           'enterprise_platform_keys_private.json',
     48           'events.json',
     49           'experimental_accessibility.json',
     50           'experimental_discovery.idl',
     51           'experimental_dns.idl',
     52           'experimental_history.json',
     53           'experimental_identity.idl',
     54           'experimental_idltest.idl',
     55           'location.idl',
     56           'system_memory.idl',
     57           'extension.json',
     58           'feedback_private.idl',
     59           'file_browser_handler_internal.json',
     60           'file_system.idl',
     61           'font_settings.json',
     62           'history.json',
     63           'i18n.json',
     64           'identity.idl',
     65           'identity_private.idl',
     66           'idle.json',
     67           'infobars.json',
     68           'input_ime.json',
     69           'log_private.idl',
     70           'management.json',
     71           'manifest_types.json',
     72           'media_galleries.idl',
     73           'media_galleries_private.idl',
     74           'media_player_private.json',
     75           'metrics_private.json',
     76           'music_manager_private.idl',
     77           'networking_private.json',
     78           'notifications.idl',
     79           'omnibox.json',
     80           'page_capture.json',
     81           'permissions.json',
     82           'preferences_private.json',
     83           'power.idl',
     84           'push_messaging.idl',
     85           'recovery_private.idl',
     86           'rtc_private.idl',
     87           'runtime.json',
     88           'serial.idl',
     89           'session_restore.json',
     90           'socket.idl',
     91           'storage.json',
     92           'sync_file_system.idl',
     93           'system_indicator.idl',
     94           'system_cpu.idl',
     95           'system_display.idl',
     96           'system_storage.idl',
     97           'system_private.json',
     98           'tab_capture.idl',
     99           'tabs.json',
    100           'terminal_private.json',
    101           'test.json',
    102           'top_sites.json',
    103           'usb.idl',
    104           'wallpaper_private.json',
    105           'web_navigation.json',
    106           'web_request.json',
    107           'webstore_private.json',
    108           'webview.json',
    109           'windows.json',
    110         ],
    111         'cc_dir': 'chrome/common/extensions/api',
    112         'root_namespace': 'extensions::api',
    113       },
    114       'dependencies': [
    115         '<(DEPTH)/skia/skia.gyp:skia',
    116         '<(DEPTH)/sync/sync.gyp:sync',
    117       ],
    118       'conditions': [
    119         ['OS=="android"', {
    120           'schema_files!': [
    121             'usb.idl',
    122           ],
    123         }],
    124         ['OS!="chromeos"', {
    125           'schema_files!': [
    126             'file_browser_handler_internal.json',
    127             'log_private.idl',
    128             'rtc_private.idl',
    129           ],
    130         }],
    131       ],
    132     },
    133   ],
    134 }
    135