summaryrefslogtreecommitdiffstats
path: root/ui/ui_base.gypi
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 20:47:02 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 20:47:02 +0000
commit7aa611b6db3ade2c2a916c29f54c960d50993ed8 (patch)
tree878c4a1af3a250d07216be09412d218332bd570f /ui/ui_base.gypi
parent2a50f8333ef15e41e7e71e342ae26d36d905c439 (diff)
downloadchromium_src-7aa611b6db3ade2c2a916c29f54c960d50993ed8.zip
chromium_src-7aa611b6db3ade2c2a916c29f54c960d50993ed8.tar.gz
chromium_src-7aa611b6db3ade2c2a916c29f54c960d50993ed8.tar.bz2
Files that are in src/ui/base should be compiled into libui_base.a.
Move files that are still in app_base over to ui_base. Take 2: Relanding after fixing a dependency in leveldb. Original change at http://codereview.chromium.org/7082017 BUG=72317 Review URL: http://codereview.chromium.org/7077034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui_base.gypi')
-rw-r--r--ui/ui_base.gypi163
1 files changed, 159 insertions, 4 deletions
diff --git a/ui/ui_base.gypi b/ui/ui_base.gypi
index 1cb4c6e..ed771f1 100644
--- a/ui/ui_base.gypi
+++ b/ui/ui_base.gypi
@@ -9,9 +9,11 @@
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
+ '../net/net.gyp:net',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
+ 'base/strings/ui_strings.gyp:ui_strings',
'ui_gfx',
],
# Export these dependencies since text_elider.h includes ICU headers.
@@ -49,30 +51,183 @@
'base/clipboard/clipboard_win.cc',
'base/clipboard/scoped_clipboard_writer.cc',
'base/clipboard/scoped_clipboard_writer.h',
+ 'base/dragdrop/drag_drop_types_gtk.cc',
+ 'base/dragdrop/drag_drop_types.h',
+ 'base/dragdrop/drag_drop_types_win.cc',
+ 'base/dragdrop/drag_source.cc',
+ 'base/dragdrop/drag_source.h',
+ 'base/dragdrop/drop_target.cc',
+ 'base/dragdrop/drop_target.h',
+ 'base/dragdrop/gtk_dnd_util.cc',
+ 'base/dragdrop/gtk_dnd_util.h',
+ 'base/dragdrop/os_exchange_data.cc',
+ 'base/dragdrop/os_exchange_data.h',
+ 'base/dragdrop/os_exchange_data_provider_gtk.cc',
+ 'base/dragdrop/os_exchange_data_provider_gtk.h',
+ 'base/dragdrop/os_exchange_data_provider_win.cc',
+ 'base/dragdrop/os_exchange_data_provider_win.h',
+ 'base/events.h',
+ 'base/gtk/event_synthesis_gtk.cc',
+ 'base/gtk/event_synthesis_gtk.h',
'base/gtk/g_object_destructor_filo.cc',
'base/gtk/g_object_destructor_filo.h',
'base/gtk/gtk_im_context_util.cc',
'base/gtk/gtk_im_context_util.h',
+ 'base/gtk/gtk_signal.h',
+ 'base/gtk/gtk_signal_registrar.cc',
+ 'base/gtk/gtk_signal_registrar.h',
+ 'base/gtk/gtk_windowing.cc',
+ 'base/gtk/gtk_windowing.h',
'base/ime/composition_text.cc',
'base/ime/composition_text.h',
'base/ime/composition_underline.h',
'base/ime/text_input_type.h',
+ 'base/keycodes/keyboard_code_conversion_gtk.cc',
+ 'base/keycodes/keyboard_code_conversion_gtk.h',
+ 'base/keycodes/keyboard_code_conversion_mac.h',
+ 'base/keycodes/keyboard_code_conversion_mac.mm',
+ 'base/keycodes/keyboard_code_conversion_win.cc',
+ 'base/keycodes/keyboard_code_conversion_win.h',
+ 'base/keycodes/keyboard_code_conversion_x.cc',
+ 'base/keycodes/keyboard_code_conversion_x.h',
+ 'base/keycodes/keyboard_codes.h',
+ 'base/l10n/l10n_font_util.cc',
+ 'base/l10n/l10n_font_util.h',
+ 'base/l10n/l10n_util.cc',
+ 'base/l10n/l10n_util.h',
+ 'base/l10n/l10n_util_collator.h',
+ 'base/l10n/l10n_util_mac.h',
+ 'base/l10n/l10n_util_mac.mm',
+ 'base/l10n/l10n_util_posix.cc',
+ 'base/l10n/l10n_util_win.cc',
+ 'base/l10n/l10n_util_win.h',
+ 'base/message_box_flags.h',
+ 'base/message_box_win.cc',
+ 'base/message_box_win.h',
+ 'base/models/accelerator_cocoa.h',
+ 'base/models/accelerator_cocoa.mm',
+ 'base/models/accelerator_gtk.h',
+ 'base/models/accelerator.h',
+ 'base/models/button_menu_item_model.cc',
+ 'base/models/button_menu_item_model.h',
+ 'base/models/combobox_model.h',
+ 'base/models/menu_model.cc',
+ 'base/models/menu_model.h',
+ 'base/models/menu_model_delegate.h',
+ 'base/models/simple_menu_model.cc',
+ 'base/models/simple_menu_model.h',
+ 'base/models/table_model.cc',
+ 'base/models/table_model.h',
+ 'base/models/table_model_observer.h',
+ 'base/models/tree_model.cc',
+ 'base/models/tree_model.h',
+ 'base/models/tree_node_iterator.h',
+ 'base/models/tree_node_model.h',
'base/range/range.cc',
'base/range/range.h',
'base/range/range.mm',
+ 'base/resource/data_pack.cc',
+ 'base/resource/data_pack.h',
+ 'base/resource/resource_bundle.cc',
+ 'base/resource/resource_bundle.h',
+ 'base/resource/resource_bundle_linux.cc',
+ 'base/resource/resource_bundle_mac.mm',
+ 'base/resource/resource_bundle_posix.cc',
+ 'base/resource/resource_bundle_win.cc',
+ 'base/text/text_elider.cc',
+ 'base/text/text_elider.h',
+ 'base/theme_provider.cc',
+ 'base/theme_provider.h',
+ 'base/ui_base_paths.cc',
+ 'base/ui_base_paths.h',
+ 'base/ui_base_switches.cc',
+ 'base/ui_base_switches.h',
+ 'base/view_prop.cc',
+ 'base/view_prop.h',
+ 'base/win/hwnd_util.cc',
+ 'base/win/hwnd_util.h',
+ 'base/win/ime_input.cc',
+ 'base/win/ime_input.h',
+ 'base/win/window_impl.cc',
+ 'base/win/window_impl.h',
+ 'base/x/active_window_watcher_x.cc',
+ 'base/x/active_window_watcher_x.h',
+ 'base/x/x11_util.cc',
+ 'base/x/x11_util.h',
+ 'base/x/x11_util_internal.h',
],
'conditions': [
['toolkit_uses_gtk == 1', {
'dependencies': [
+ '../build/linux/system.gyp:fontconfig',
'../build/linux/system.gyp:gtk',
'../build/linux/system.gyp:x11',
'../build/linux/system.gyp:xext',
],
+ 'link_settings': {
+ 'libraries': [
+ '-lXrender', # For XRender* function calls in x11_util.cc.
+ ],
+ },
+ 'conditions': [
+ ['toolkit_views==0', {
+ # Note: because of gyp predence rules this has to be defined as
+ # 'sources/' rather than 'sources!'.
+ 'sources/': [
+ ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
+ ['exclude', '^base/dragdrop/os_exchange_data.cc'],
+ ['exclude', '^base/dragdrop/os_exchange_data.h'],
+ ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.cc'],
+ ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.h'],
+ ],
+ }, {
+ # Note: because of gyp predence rules this has to be defined as
+ # 'sources/' rather than 'sources!'.
+ 'sources/': [
+ ['include', '^base/dragdrop/os_exchange_data.cc'],
+ ],
+ }],
+ ],
+ }],
+ ['OS!="win"', {
+ 'sources!': [
+ 'base/dragdrop/drag_source.cc',
+ 'base/dragdrop/drag_source.h',
+ 'base/dragdrop/drag_drop_types.h',
+ 'base/dragdrop/drop_target.cc',
+ 'base/dragdrop/drop_target.h',
+ 'base/dragdrop/os_exchange_data.cc',
+ 'base/view_prop.cc',
+ 'base/view_prop.h',
+ ],
+ 'sources/': [
+ ['exclude', '^base/win/*'],
+ ],
+ }],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
+ '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
+ ],
+ },
}],
- ['OS=="win"', {
- 'sources': [
- 'base/win/ime_input.cc',
- 'base/win/ime_input.h',
+ ['use_x11==1', {
+ 'all_dependent_settings': {
+ 'ldflags': [
+ '-L<(PRODUCT_DIR)',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-lX11',
+ '-ldl',
+ ],
+ },
+ },
+ }, { # use_x11==0
+ 'sources!': [
+ 'base/keycodes/keyboard_code_conversion_x.cc',
+ 'base/keycodes/keyboard_code_conversion_x.h',
],
}],
],