summaryrefslogtreecommitdiffstats
path: root/ui/ui_base.gypi
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 17:24:39 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 17:24:39 +0000
commit6ecdfa3f5a6fcc570a18c789389b1c8cdf294c04 (patch)
tree8ff1d930f92e36b364c45251791dbc2b27caf0cc /ui/ui_base.gypi
parent7f036f8e35fc23141788448a0d1a37df695135e6 (diff)
downloadchromium_src-6ecdfa3f5a6fcc570a18c789389b1c8cdf294c04.zip
chromium_src-6ecdfa3f5a6fcc570a18c789389b1c8cdf294c04.tar.gz
chromium_src-6ecdfa3f5a6fcc570a18c789389b1c8cdf294c04.tar.bz2
Normalize the top-level ui/ module.
This CL creates four .gypi files that are included in /ui/ui.gyp. This allows for a single unittest binary for all the submodules, rather than having individual unittest binaries for each submodule. To not break the buildbot, this creates a fake target that copies ui_unittests to gfx_unittests as temporary scaffolding. BUG=72317 TEST=gfx_unittests (really ui_unittests) passes Review URL: http://codereview.chromium.org/6688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui_base.gypi')
-rw-r--r--ui/ui_base.gypi73
1 files changed, 73 insertions, 0 deletions
diff --git a/ui/ui_base.gypi b/ui/ui_base.gypi
new file mode 100644
index 0000000..bd45e3a
--- /dev/null
+++ b/ui/ui_base.gypi
@@ -0,0 +1,73 @@
+# Copyright (c) 2011 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': 'ui_base',
+ 'type': '<(library)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../skia/skia.gyp:skia',
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ 'ui_gfx',
+ ],
+ # Export these dependencies since text_elider.h includes ICU headers.
+ 'export_dependent_settings': [
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ ],
+ 'sources': [
+ 'base/accessibility/accessibility_types.h',
+ 'base/accessibility/accessible_view_state.h',
+ 'base/accessibility/accessible_view_state.cc',
+ 'base/animation/animation.cc',
+ 'base/animation/animation.h',
+ 'base/animation/animation_container.cc',
+ 'base/animation/animation_container.h',
+ 'base/animation/animation_container_element.h',
+ 'base/animation/animation_container_observer.h',
+ 'base/animation/animation_delegate.h',
+ 'base/animation/linear_animation.cc',
+ 'base/animation/linear_animation.h',
+ 'base/animation/multi_animation.cc',
+ 'base/animation/multi_animation.h',
+ 'base/animation/slide_animation.cc',
+ 'base/animation/slide_animation.h',
+ 'base/animation/throb_animation.cc',
+ 'base/animation/throb_animation.h',
+ 'base/animation/tween.cc',
+ 'base/animation/tween.h',
+ 'base/clipboard/clipboard.cc',
+ 'base/clipboard/clipboard.h',
+ 'base/clipboard/clipboard_linux.cc',
+ 'base/clipboard/clipboard_mac.mm',
+ 'base/clipboard/clipboard_util_win.cc',
+ 'base/clipboard/clipboard_util_win.h',
+ 'base/clipboard/clipboard_win.cc',
+ 'base/clipboard/scoped_clipboard_writer.cc',
+ 'base/clipboard/scoped_clipboard_writer.h',
+ 'base/range/range.cc',
+ 'base/range/range.h',
+ 'base/range/range.mm',
+ ],
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gtk',
+ '../build/linux/system.gyp:x11',
+ '../build/linux/system.gyp:xext',
+ ],
+ }],
+ ],
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: