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 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'app_list', | 11 'target_name': 'app_list', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 15 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
16 '../../skia/skia.gyp:skia', | 16 '../../skia/skia.gyp:skia', |
17 '../compositor/compositor.gyp:compositor', | 17 '../compositor/compositor.gyp:compositor', |
18 '../ui.gyp:ui', | 18 '../ui.gyp:ui', |
19 '../views/views.gyp:views', | |
20 ], | 19 ], |
21 'defines': [ | 20 'defines': [ |
22 'APP_LIST_IMPLEMENTATION', | 21 'APP_LIST_IMPLEMENTATION', |
23 ], | 22 ], |
24 'sources': [ | 23 'sources': [ |
25 'app_list_background.cc', | |
26 'app_list_background.h', | |
27 'app_list_constants.cc', | 24 'app_list_constants.cc', |
28 'app_list_constants.h', | 25 'app_list_constants.h', |
29 'app_list_export.h', | 26 'app_list_export.h', |
30 'app_list_item_model.cc', | 27 'app_list_item_model.cc', |
31 'app_list_item_model.h', | 28 'app_list_item_model.h', |
32 'app_list_item_model_observer.h', | 29 'app_list_item_model_observer.h', |
33 'app_list_item_view.cc', | |
34 'app_list_item_view.h', | |
35 'app_list_model.cc', | 30 'app_list_model.cc', |
36 'app_list_model.h', | 31 'app_list_model.h', |
37 'app_list_model_observer.h', | 32 'app_list_model_observer.h', |
38 'app_list_switches.cc', | 33 'app_list_switches.cc', |
39 'app_list_switches.h', | 34 'app_list_switches.h', |
40 'app_list_view.cc', | |
41 'app_list_view.h', | |
42 'app_list_view_delegate.h', | 35 'app_list_view_delegate.h', |
43 'apps_grid_view.cc', | |
44 'apps_grid_view.h', | |
45 'apps_grid_view_delegate.h', | 36 'apps_grid_view_delegate.h', |
46 'contents_view.cc', | 37 'cocoa/app_list_view_window.h', |
47 'contents_view.h', | 38 'cocoa/app_list_view_window.mm', |
48 'page_switcher.cc', | |
49 'page_switcher.h', | |
50 'pagination_model.cc', | 39 'pagination_model.cc', |
51 'pagination_model.h', | 40 'pagination_model.h', |
52 'pagination_model_observer.h', | 41 'pagination_model_observer.h', |
53 'pulsing_block_view.cc', | 42 'search_box_model.cc', |
54 'pulsing_block_view.h', | |
55 'search_box_model.h', | 43 'search_box_model.h', |
56 'search_box_model.cc', | |
57 'search_box_model_observer.h', | 44 'search_box_model_observer.h', |
58 'search_box_view.cc', | |
59 'search_box_view.h', | |
60 'search_box_view_delegate.h', | 45 'search_box_view_delegate.h', |
61 'search_result.cc', | 46 'search_result.cc', |
62 'search_result.h', | 47 'search_result.h', |
63 'search_result_view.cc', | |
64 'search_result_view.h', | |
65 'search_result_list_view.cc', | |
66 'search_result_list_view.h', | |
67 'search_result_list_view_delegate.h', | 48 'search_result_list_view_delegate.h', |
| 49 'search_result_view_delegate.h', |
| 50 'views/app_list_background.cc', |
| 51 'views/app_list_background.h', |
| 52 'views/app_list_item_view.cc', |
| 53 'views/app_list_item_view.h', |
| 54 'views/app_list_view.cc', |
| 55 'views/app_list_view.h', |
| 56 'views/apps_grid_view.cc', |
| 57 'views/apps_grid_view.h', |
| 58 'views/contents_view.cc', |
| 59 'views/contents_view.h', |
| 60 'views/page_switcher.cc', |
| 61 'views/page_switcher.h', |
| 62 'views/pulsing_block_view.cc', |
| 63 'views/pulsing_block_view.h', |
| 64 'views/search_box_view.cc', |
| 65 'views/search_box_view.h', |
| 66 'views/search_result_list_view.cc', |
| 67 'views/search_result_list_view.h', |
| 68 'views/search_result_view.cc', |
| 69 'views/search_result_view.h', |
68 ], | 70 ], |
69 'conditions': [ | 71 'conditions': [ |
70 ['use_aura==1', { | 72 ['use_aura==1', { |
71 'dependencies': [ | 73 'dependencies': [ |
72 '../aura/aura.gyp:aura', | 74 '../aura/aura.gyp:aura', |
73 ], | 75 ], |
74 }], | 76 }], |
| 77 ['toolkit_views==1', { |
| 78 'dependencies': [ |
| 79 '../views/views.gyp:views', |
| 80 ], |
| 81 }, { # toolkit_views==0 |
| 82 'sources/': [ |
| 83 ['exclude', 'views/'], |
| 84 ], |
| 85 }], |
| 86 ['OS!="mac"', { |
| 87 'sources/': [ |
| 88 ['exclude', 'cocoa/'], |
| 89 ], |
| 90 }], |
75 ], | 91 ], |
76 }, | 92 }, |
77 { | 93 { |
78 'target_name': 'app_list_unittests', | 94 'target_name': 'app_list_unittests', |
79 'type': 'executable', | 95 'type': 'executable', |
80 'dependencies': [ | 96 'dependencies': [ |
81 '../../base/base.gyp:base', | 97 '../../base/base.gyp:base', |
82 '../../base/base.gyp:test_support_base', | 98 '../../base/base.gyp:test_support_base', |
83 '../../skia/skia.gyp:skia', | 99 '../../skia/skia.gyp:skia', |
84 '../../testing/gtest.gyp:gtest', | 100 '../../testing/gtest.gyp:gtest', |
85 '../compositor/compositor.gyp:compositor', | 101 '../compositor/compositor.gyp:compositor', |
86 '../compositor/compositor.gyp:compositor_test_support', | 102 '../compositor/compositor.gyp:compositor_test_support', |
87 '../views/views.gyp:views', | |
88 '../views/views.gyp:views_test_support', | |
89 'app_list', | 103 'app_list', |
90 ], | 104 ], |
91 'sources': [ | 105 'sources': [ |
92 'apps_grid_view_unittest.cc', | |
93 'pagination_model_unittest.cc', | 106 'pagination_model_unittest.cc', |
94 'test/apps_grid_view_test_api.cc', | |
95 'test/apps_grid_view_test_api.h', | |
96 'test/app_list_test_suite.cc', | 107 'test/app_list_test_suite.cc', |
97 'test/app_list_test_suite.h', | 108 'test/app_list_test_suite.h', |
98 'test/run_all_unittests.cc', | 109 'test/run_all_unittests.cc', |
| 110 'cocoa/app_list_view_window_unittest.mm', |
| 111 'views/apps_grid_view_unittest.cc', |
| 112 'views/test/apps_grid_view_test_api.cc', |
| 113 'views/test/apps_grid_view_test_api.h', |
| 114 ], |
| 115 'conditions': [ |
| 116 ['toolkit_views==1', { |
| 117 'dependencies': [ |
| 118 '../views/views.gyp:views', |
| 119 '../views/views.gyp:views_test_support', |
| 120 ], |
| 121 }, { # toolkit_views==0 |
| 122 'sources/': [ |
| 123 ['exclude', 'views/'], |
| 124 ] |
| 125 }], |
| 126 ['OS=="mac"', { |
| 127 'dependencies': [ |
| 128 '../ui.gyp:ui_test_support', |
| 129 ], |
| 130 }, { # OS!="mac" |
| 131 'sources/': [ |
| 132 ['exclude', 'cocoa/'], |
| 133 ], |
| 134 }], |
99 ], | 135 ], |
100 }, | 136 }, |
101 ], | 137 ], |
102 } | 138 } |
OLD | NEW |