diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 11:08:36 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 11:08:36 +0000 |
commit | 1c3ebce3377fb4685b07ed5a47e8a047fac22c23 (patch) | |
tree | 7d40b9070d29d73df1a58a9a14b02ae2d083ad2c /chrome/chrome_debugger.gypi | |
parent | ee22d8807a7a7bbb69dcbb7a37307eadb57a7b2b (diff) | |
download | chromium_src-1c3ebce3377fb4685b07ed5a47e8a047fac22c23.zip chromium_src-1c3ebce3377fb4685b07ed5a47e8a047fac22c23.tar.gz chromium_src-1c3ebce3377fb4685b07ed5a47e8a047fac22c23.tar.bz2 |
Extract core targets out of chrome.gyp.
This patches adds gypi includes for debugger (which should be probably
renamed to devtools in a follow up), plugin and utility targets.
This is to make this gyp file more reasonable and more manageable, as is
it is hard to make changes and even read it.
It also move us closer to the scheme used by content, where which
process/directory has its own gypi file:
content/browser -> content_browser.gypi
content/plugin -> content_plugin.gypi
content/utility -> content_utility.gypi
BUG=None
TEST=None, no functional changes, green trybots.
R=thestig@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/270223007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269223 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_debugger.gypi')
-rw-r--r-- | chrome/chrome_debugger.gypi | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/chrome/chrome_debugger.gypi b/chrome/chrome_debugger.gypi new file mode 100644 index 0000000..035a43d --- /dev/null +++ b/chrome/chrome_debugger.gypi @@ -0,0 +1,102 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'debugger', + 'type': 'static_library', + 'variables': { 'enable_wexit_time_destructors': 1, }, + 'dependencies': [ + '../base/base.gyp:base', + '../content/content.gyp:content_browser', + '../net/net.gyp:http_server', + '../net/net.gyp:net', + '../skia/skia.gyp:skia', + '../third_party/icu/icu.gyp:icui18n', + '../third_party/icu/icu.gyp:icuuc', + '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', + '../third_party/libusb/libusb.gyp:libusb', + 'chrome_resources.gyp:chrome_extra_resources', + 'chrome_resources.gyp:chrome_resources', + 'chrome_resources.gyp:chrome_strings', + 'chrome_resources.gyp:theme_resources', + 'common/extensions/api/api.gyp:chrome_api', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'browser/devtools/device/adb/adb_client_socket.cc', + 'browser/devtools/device/adb/adb_client_socket.h', + 'browser/devtools/device/adb/adb_device_provider.cc', + 'browser/devtools/device/adb/adb_device_provider.h', + 'browser/devtools/device/android_device_manager.cc', + 'browser/devtools/device/android_device_manager.h', + 'browser/devtools/device/android_web_socket.cc', + 'browser/devtools/device/devtools_android_bridge.cc', + 'browser/devtools/device/devtools_android_bridge.h', + 'browser/devtools/device/port_forwarding_controller.cc', + 'browser/devtools/device/port_forwarding_controller.h', + 'browser/devtools/device/self_device_provider.cc', + 'browser/devtools/device/self_device_provider.h', + 'browser/devtools/device/usb/android_rsa.cc', + 'browser/devtools/device/usb/android_rsa.h', + 'browser/devtools/device/usb/android_usb_device.cc', + 'browser/devtools/device/usb/android_usb_device.h', + 'browser/devtools/device/usb/android_usb_socket.cc', + 'browser/devtools/device/usb/android_usb_socket.h', + 'browser/devtools/device/usb/usb_device_provider.cc', + 'browser/devtools/device/usb/usb_device_provider.h', + 'browser/devtools/browser_list_tabcontents_provider.cc', + 'browser/devtools/browser_list_tabcontents_provider.h', + 'browser/devtools/devtools_contents_resizing_strategy.cc', + 'browser/devtools/devtools_contents_resizing_strategy.h', + 'browser/devtools/devtools_embedder_message_dispatcher.cc', + 'browser/devtools/devtools_embedder_message_dispatcher.h', + 'browser/devtools/devtools_file_helper.cc', + 'browser/devtools/devtools_file_helper.h', + 'browser/devtools/devtools_file_system_indexer.cc', + 'browser/devtools/devtools_file_system_indexer.h', + 'browser/devtools/devtools_protocol.cc', + 'browser/devtools/devtools_protocol.h', + 'browser/devtools/devtools_target_impl.cc', + 'browser/devtools/devtools_target_impl.h', + 'browser/devtools/devtools_targets_ui.cc', + 'browser/devtools/devtools_targets_ui.h', + 'browser/devtools/devtools_toggle_action.cc', + 'browser/devtools/devtools_toggle_action.h', + 'browser/devtools/devtools_ui_bindings.cc', + 'browser/devtools/devtools_ui_bindings.h', + 'browser/devtools/devtools_window.cc', + 'browser/devtools/devtools_window.h', + 'browser/devtools/remote_debugging_server.cc', + 'browser/devtools/remote_debugging_server.h', + ], + 'conditions': [ + ['OS=="android"', { + 'dependencies!': [ + '../third_party/libusb/libusb.gyp:libusb', + ], + 'sources!': [ + 'browser/devtools/device/usb/android_rsa.cc', + 'browser/devtools/browser_list_tabcontents_provider.cc', + 'browser/devtools/devtools_file_system_indexer.cc', + 'browser/devtools/devtools_target_impl.cc', + 'browser/devtools/devtools_window.cc', + 'browser/devtools/devtools_window_base.cc', + 'browser/devtools/remote_debugging_server.cc', + ], + }], + ['debug_devtools==1', { + 'defines': [ + 'DEBUG_DEVTOOLS=1', + ], + }], + ], + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [ 4267, ], + }, + ], +} |