OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'ui_resources.gypi', | 10 'ui_resources.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'ui', | 14 'target_name': 'ui', |
15 'type': '<(component)', | 15 'type': '<(component)', |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../base/base.gyp:base', | 17 '../base/base.gyp:base', |
18 '../base/base.gyp:base_i18n', | 18 '../base/base.gyp:base_i18n', |
19 '../base/base.gyp:base_static', | 19 '../base/base.gyp:base_static', |
20 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 20 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
21 '../net/net.gyp:net', | 21 '../net/net.gyp:net', |
22 '../skia/skia.gyp:skia', | 22 '../skia/skia.gyp:skia', |
23 '../third_party/icu/icu.gyp:icui18n', | 23 '../third_party/icu/icu.gyp:icui18n', |
24 '../third_party/icu/icu.gyp:icuuc', | 24 '../third_party/icu/icu.gyp:icuuc', |
25 '../third_party/libpng/libpng.gyp:libpng', | 25 '../third_party/libpng/libpng.gyp:libpng', |
26 '../third_party/zlib/zlib.gyp:zlib', | 26 '../third_party/zlib/zlib.gyp:zlib', |
27 '../url/url.gyp:url_lib', | 27 '../url/url.gyp:url_lib', |
28 'base/strings/ui_strings.gyp:ui_strings', | 28 'base/strings/ui_strings.gyp:ui_strings', |
29 'events/events.gyp:events', | 29 'events/events.gyp:events_base', |
30 'gfx/gfx.gyp:gfx', | 30 'gfx/gfx.gyp:gfx', |
31 'ui_resources', | 31 'ui_resources', |
32 ], | 32 ], |
33 'defines': [ | 33 'defines': [ |
34 'UI_IMPLEMENTATION', | 34 'UI_IMPLEMENTATION', |
35 ], | 35 ], |
36 # Export these dependencies since text_elider.h includes ICU headers. | |
37 'export_dependent_settings': [ | 36 'export_dependent_settings': [ |
38 '../net/net.gyp:net', | 37 '../net/net.gyp:net', |
39 '../third_party/icu/icu.gyp:icui18n', | |
40 '../third_party/icu/icu.gyp:icuuc', | |
41 'events/events.gyp:events', | |
42 'gfx/gfx.gyp:gfx', | 38 'gfx/gfx.gyp:gfx', |
43 ], | 39 ], |
44 'sources' : [ | 40 'sources' : [ |
45 'base/accelerators/accelerator.cc', | 41 'base/accelerators/accelerator.cc', |
46 'base/accelerators/accelerator.h', | 42 'base/accelerators/accelerator.h', |
47 'base/accelerators/accelerator_manager.cc', | 43 'base/accelerators/accelerator_manager.cc', |
48 'base/accelerators/accelerator_manager.h', | 44 'base/accelerators/accelerator_manager.h', |
49 'base/accelerators/menu_label_accelerator_util_linux.cc', | 45 'base/accelerators/menu_label_accelerator_util_linux.cc', |
50 'base/accelerators/menu_label_accelerator_util_linux.h', | 46 'base/accelerators/menu_label_accelerator_util_linux.h', |
51 'base/accelerators/platform_accelerator.h', | 47 'base/accelerators/platform_accelerator.h', |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 ['include', '^base/layout'], | 340 ['include', '^base/layout'], |
345 ['include', '^base/resource/'], | 341 ['include', '^base/resource/'], |
346 ['include', '^base/ui_base_'], | 342 ['include', '^base/ui_base_'], |
347 ], | 343 ], |
348 'link_settings': { | 344 'link_settings': { |
349 'libraries': [ | 345 'libraries': [ |
350 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 346 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
351 ], | 347 ], |
352 }, | 348 }, |
353 }], | 349 }], |
| 350 ['toolkit_views==1', { |
| 351 'dependencies': [ |
| 352 'events/events.gyp:events', |
| 353 ], |
| 354 }], |
354 ['use_aura==1', { | 355 ['use_aura==1', { |
355 'sources/': [ | 356 'sources/': [ |
356 ['exclude', 'base/work_area_watcher_observer.h'], | 357 ['exclude', 'base/work_area_watcher_observer.h'], |
357 ['exclude', 'base/x/active_window_watcher_x.cc'], | 358 ['exclude', 'base/x/active_window_watcher_x.cc'], |
358 ['exclude', 'base/x/active_window_watcher_x.h'], | 359 ['exclude', 'base/x/active_window_watcher_x.h'], |
359 ['exclude', 'base/x/active_window_watcher_x_observer.h'], | 360 ['exclude', 'base/x/active_window_watcher_x_observer.h'], |
360 ['exclude', 'base/x/root_window_property_watcher_x.cc'], | 361 ['exclude', 'base/x/root_window_property_watcher_x.cc'], |
361 ['exclude', 'base/x/root_window_property_watcher_x.h'], | 362 ['exclude', 'base/x/root_window_property_watcher_x.h'], |
362 ['exclude', 'base/x/work_area_watcher_x.cc'], | 363 ['exclude', 'base/x/work_area_watcher_x.cc'], |
363 ['exclude', 'base/x/work_area_watcher_x.h'], | 364 ['exclude', 'base/x/work_area_watcher_x.h'], |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 'xcode_settings': { | 721 'xcode_settings': { |
721 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | 722 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', |
722 }, | 723 }, |
723 }], | 724 }], |
724 ], | 725 ], |
725 }, | 726 }, |
726 ], | 727 ], |
727 }], | 728 }], |
728 ], | 729 ], |
729 } | 730 } |
OLD | NEW |