Home | History | Annotate | Download | only in chrome
      1 # Copyright 2014 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': 'debugger',
      9       'type': 'static_library',
     10       'variables': { 'enable_wexit_time_destructors': 1, },
     11       'dependencies': [
     12         '../base/base.gyp:base',
     13         '../content/content.gyp:content_browser',
     14         '../net/net.gyp:http_server',
     15         '../net/net.gyp:net',
     16         '../skia/skia.gyp:skia',
     17         '../third_party/icu/icu.gyp:icui18n',
     18         '../third_party/icu/icu.gyp:icuuc',
     19         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
     20         '../third_party/libusb/libusb.gyp:libusb',
     21         'browser/devtools/devtools_protocol_constants.gyp:devtools_protocol_constants',
     22         'chrome_resources.gyp:chrome_extra_resources',
     23         'chrome_resources.gyp:chrome_resources',
     24         'chrome_resources.gyp:chrome_strings',
     25         'chrome_resources.gyp:theme_resources',
     26         'common/extensions/api/api.gyp:chrome_api',
     27       ],
     28       'include_dirs': [
     29         '..',
     30       ],
     31       'sources': [
     32         'browser/devtools/device/adb/adb_client_socket.cc',
     33         'browser/devtools/device/adb/adb_client_socket.h',
     34         'browser/devtools/device/adb/adb_device_info_query.cc',
     35         'browser/devtools/device/adb/adb_device_info_query.h',
     36         'browser/devtools/device/adb/adb_device_provider.cc',
     37         'browser/devtools/device/adb/adb_device_provider.h',
     38         'browser/devtools/device/android_device_manager.cc',
     39         'browser/devtools/device/android_device_manager.h',
     40         'browser/devtools/device/android_web_socket.cc',
     41         'browser/devtools/device/devtools_android_bridge.cc',
     42         'browser/devtools/device/devtools_android_bridge.h',
     43         'browser/devtools/device/port_forwarding_controller.cc',
     44         'browser/devtools/device/port_forwarding_controller.h',
     45         'browser/devtools/device/self_device_provider.cc',
     46         'browser/devtools/device/self_device_provider.h',
     47         'browser/devtools/device/usb/android_rsa.cc',
     48         'browser/devtools/device/usb/android_rsa.h',
     49         'browser/devtools/device/usb/android_usb_device.cc',
     50         'browser/devtools/device/usb/android_usb_device.h',
     51         'browser/devtools/device/usb/android_usb_socket.cc',
     52         'browser/devtools/device/usb/android_usb_socket.h',
     53         'browser/devtools/device/usb/usb_device_provider.cc',
     54         'browser/devtools/device/usb/usb_device_provider.h',
     55         'browser/devtools/browser_list_tabcontents_provider.cc',
     56         'browser/devtools/browser_list_tabcontents_provider.h',
     57         'browser/devtools/chrome_devtools_manager_delegate.cc',
     58         'browser/devtools/chrome_devtools_manager_delegate.h',
     59         'browser/devtools/devtools_contents_resizing_strategy.cc',
     60         'browser/devtools/devtools_contents_resizing_strategy.h',
     61         'browser/devtools/devtools_embedder_message_dispatcher.cc',
     62         'browser/devtools/devtools_embedder_message_dispatcher.h',
     63         'browser/devtools/devtools_file_helper.cc',
     64         'browser/devtools/devtools_file_helper.h',
     65         'browser/devtools/devtools_file_system_indexer.cc',
     66         'browser/devtools/devtools_file_system_indexer.h',
     67         'browser/devtools/devtools_network_conditions.cc',
     68         'browser/devtools/devtools_network_conditions.h',
     69         'browser/devtools/devtools_network_controller.cc',
     70         'browser/devtools/devtools_network_controller.h',
     71         'browser/devtools/devtools_network_interceptor.cc',
     72         'browser/devtools/devtools_network_interceptor.h',
     73         'browser/devtools/devtools_network_transaction.cc',
     74         'browser/devtools/devtools_network_transaction.h',
     75         'browser/devtools/devtools_network_transaction_factory.cc',
     76         'browser/devtools/devtools_network_transaction_factory.h',
     77         'browser/devtools/devtools_protocol.cc',
     78         'browser/devtools/devtools_protocol.h',
     79         'browser/devtools/devtools_target_impl.cc',
     80         'browser/devtools/devtools_target_impl.h',
     81         'browser/devtools/devtools_targets_ui.cc',
     82         'browser/devtools/devtools_targets_ui.h',
     83         'browser/devtools/devtools_toggle_action.cc',
     84         'browser/devtools/devtools_toggle_action.h',
     85         'browser/devtools/devtools_ui_bindings.cc',
     86         'browser/devtools/devtools_ui_bindings.h',
     87         'browser/devtools/devtools_window.cc',
     88         'browser/devtools/devtools_window.h',
     89         'browser/devtools/remote_debugging_server.cc',
     90         'browser/devtools/remote_debugging_server.h',
     91         # These files are generated by devtools_protocol_constants_generator.py.
     92         '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.cc',
     93         '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.h',
     94       ],
     95       'conditions': [
     96         ['OS=="android"', {
     97           'dependencies!': [
     98             '../third_party/libusb/libusb.gyp:libusb',
     99           ],
    100           'sources!': [
    101             'browser/devtools/device/usb/android_rsa.cc',
    102             'browser/devtools/browser_list_tabcontents_provider.cc',
    103             'browser/devtools/devtools_file_system_indexer.cc',
    104             'browser/devtools/devtools_target_impl.cc',
    105             'browser/devtools/devtools_window.cc',
    106             'browser/devtools/devtools_window_base.cc',
    107             'browser/devtools/remote_debugging_server.cc',
    108           ],
    109         }],
    110         ['debug_devtools==1', {
    111           'defines': [
    112             'DEBUG_DEVTOOLS=1',
    113            ],
    114         }],
    115       ],
    116       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
    117       'msvs_disabled_warnings': [ 4267, ],
    118     },
    119   ],
    120 }
    121