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.h', |
47 'contents_view.h', | 38 'cocoa/app_list_view.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', | |
54 'pulsing_block_view.h', | |
55 'search_box_model.h', | 42 'search_box_model.h', |
56 'search_box_model.cc', | 43 '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', |
46 'search_result_list_view_delegate.h', | |
47 'search_result_view_delegate.h', | |
61 'search_result.cc', | 48 'search_result.cc', |
62 'search_result.h', | 49 'search_result.h', |
63 'search_result_view.cc', | 50 'views/apps_grid_view.cc', |
64 'search_result_view.h', | 51 'views/contents_view.h', |
65 'search_result_list_view.cc', | 52 'views/app_list_view.cc', |
66 'search_result_list_view.h', | 53 'views/page_switcher.cc', |
67 'search_result_list_view_delegate.h', | 54 'views/app_list_view.h', |
55 'views/contents_view.cc', | |
56 'views/search_result_view.h', | |
57 'views/pulsing_block_view.cc', | |
58 'views/page_switcher.h', | |
59 'views/pulsing_block_view.h', | |
60 'views/search_result_list_view.h', | |
61 'views/search_box_view.cc', | |
62 'views/apps_grid_view.h', | |
63 'views/search_box_view.h', | |
64 'views/app_list_item_view.h', | |
65 'views/search_result_list_view.cc', | |
66 'views/app_list_background.h', | |
67 'views/app_list_background.cc', | |
68 'views/app_list_item_view.cc', | |
69 'views/search_result_view.cc', | |
xiyuan
2013/01/08 17:09:37
sort the files alphabetically.
tapted
2013/01/09 04:29:49
Done. (how did I miss that.. I've now fed it /usr/
| |
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 }, { # OS=="mac" | |
88 'sources/': [ | |
89 ['exclude', 'cocoa/'], | |
90 ] | |
91 }], | |
75 ], | 92 ], |
76 }, | 93 }, |
77 { | 94 { |
78 'target_name': 'app_list_unittests', | 95 'target_name': 'app_list_unittests', |
79 'type': 'executable', | 96 'type': 'executable', |
80 'dependencies': [ | 97 'dependencies': [ |
81 '../../base/base.gyp:base', | 98 '../../base/base.gyp:base', |
82 '../../base/base.gyp:test_support_base', | 99 '../../base/base.gyp:test_support_base', |
83 '../../skia/skia.gyp:skia', | 100 '../../skia/skia.gyp:skia', |
84 '../../testing/gtest.gyp:gtest', | 101 '../../testing/gtest.gyp:gtest', |
85 '../compositor/compositor.gyp:compositor', | 102 '../compositor/compositor.gyp:compositor', |
86 '../compositor/compositor.gyp:compositor_test_support', | 103 '../compositor/compositor.gyp:compositor_test_support', |
87 '../views/views.gyp:views', | |
88 '../views/views.gyp:views_test_support', | |
89 'app_list', | 104 'app_list', |
90 ], | 105 ], |
91 'sources': [ | 106 'sources': [ |
92 'apps_grid_view_unittest.cc', | |
93 'pagination_model_unittest.cc', | 107 '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', | 108 'test/app_list_test_suite.cc', |
97 'test/app_list_test_suite.h', | 109 'test/app_list_test_suite.h', |
98 'test/run_all_unittests.cc', | 110 'test/run_all_unittests.cc', |
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', | |
xiyuan
2013/01/08 17:09:37
sort the file. Header file should precede its cc f
xiyuan
2013/01/08 17:10:37
Disregard this one. The current order is correct.
| |
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 }], | |
99 ], | 126 ], |
100 }, | 127 }, |
101 ], | 128 ], |
102 } | 129 } |
OLD | NEW |