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 # GN version: //ui/app_list/shower | 11 # GN version: //ui/app_list/presenter |
12 'target_name': 'app_list_shower', | 12 'target_name': 'app_list_presenter', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../../base/base.gyp:base', | 15 '../../../base/base.gyp:base', |
16 '../../../skia/skia.gyp:skia', | 16 '../../../skia/skia.gyp:skia', |
17 '../../aura/aura.gyp:aura', | 17 '../../aura/aura.gyp:aura', |
18 '../../compositor/compositor.gyp:compositor', | 18 '../../compositor/compositor.gyp:compositor', |
19 '../../events/events.gyp:events_base', | 19 '../../events/events.gyp:events_base', |
20 '../../events/events.gyp:events', | 20 '../../events/events.gyp:events', |
21 '../../gfx/gfx.gyp:gfx_geometry', | 21 '../../gfx/gfx.gyp:gfx_geometry', |
22 '../../views/views.gyp:views', | 22 '../../views/views.gyp:views', |
23 '../app_list.gyp:app_list', | 23 '../app_list.gyp:app_list', |
24 ], | 24 ], |
25 'defines': [ | 25 'defines': [ |
26 'APP_LIST_SHOWER_IMPLEMENTATION', | 26 'APP_LIST_PRESENTER_IMPLEMENTATION', |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
29 # Note: sources list duplicated in GN build. | 29 # Note: sources list duplicated in GN build. |
30 'app_list_shower.h', | 30 'app_list_presenter.h', |
31 'app_list_shower_delegate.h', | 31 'app_list_presenter_delegate.h', |
32 'app_list_shower_delegate_factory.h', | 32 'app_list_presenter_delegate_factory.h', |
33 'app_list_shower_export.h', | 33 'app_list_presenter_export.h', |
34 'app_list_shower_impl.cc', | 34 'app_list_presenter_impl.cc', |
35 'app_list_shower_impl.h', | 35 'app_list_presenter_impl.h', |
36 ], | 36 ], |
37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
38 'msvs_disabled_warnings': [ 4267, ], | 38 'msvs_disabled_warnings': [ 4267, ], |
39 }, | 39 }, |
40 { | 40 { |
41 # GN version: //ui/app_list/shower:test_support | 41 # GN version: //ui/app_list/presenter:test_support |
42 'target_name': 'app_list_shower_test_support', | 42 'target_name': 'app_list_presenter_test_support', |
43 'type': 'static_library', | 43 'type': 'static_library', |
44 'dependencies': [ | 44 'dependencies': [ |
45 '../../../base/base.gyp:base', | 45 '../../../base/base.gyp:base', |
46 '../../../skia/skia.gyp:skia', | 46 '../../../skia/skia.gyp:skia', |
47 'app_list_shower', | 47 'app_list_presenter', |
48 ], | 48 ], |
49 'sources': [ | 49 'sources': [ |
50 # Note: sources list duplicated in GN build. | 50 # Note: sources list duplicated in GN build. |
51 'test/app_list_shower_impl_test_api.cc', | 51 'test/app_list_presenter_impl_test_api.cc', |
52 'test/app_list_shower_impl_test_api.h', | 52 'test/app_list_presenter_impl_test_api.h', |
53 ], | 53 ], |
54 }, | 54 }, |
55 { | 55 { |
56 # GN version: //ui/app_list/shower:app_list_shower_unittests | 56 # GN version: //ui/app_list/presenter:app_list_presenter_unittests |
57 'target_name': 'app_list_shower_unittests', | 57 'target_name': 'app_list_presenter_unittests', |
58 'type': 'executable', | 58 'type': 'executable', |
59 'dependencies': [ | 59 'dependencies': [ |
60 '../../../base/base.gyp:base', | 60 '../../../base/base.gyp:base', |
61 '../../../base/base.gyp:test_support_base', | 61 '../../../base/base.gyp:test_support_base', |
62 '../../../skia/skia.gyp:skia', | 62 '../../../skia/skia.gyp:skia', |
63 '../../../testing/gtest.gyp:gtest', | 63 '../../../testing/gtest.gyp:gtest', |
64 '../../aura/aura.gyp:aura_test_support', | 64 '../../aura/aura.gyp:aura_test_support', |
65 '../../resources/ui_resources.gyp:ui_test_pak', | 65 '../../resources/ui_resources.gyp:ui_test_pak', |
66 '../../views/views.gyp:views', | 66 '../../views/views.gyp:views', |
67 '../../wm/wm.gyp:wm', | 67 '../../wm/wm.gyp:wm', |
68 '../app_list.gyp:app_list_test_support', | 68 '../app_list.gyp:app_list_test_support', |
69 'app_list_shower', | 69 'app_list_presenter', |
70 'app_list_shower_test_support', | 70 'app_list_presenter_test_support', |
71 ], | 71 ], |
72 'sources': [ | 72 'sources': [ |
73 # Note: sources list duplicated in GN build. | 73 # Note: sources list duplicated in GN build. |
74 'app_list_shower_impl_unittest.cc', | 74 'app_list_presenter_impl_unittest.cc', |
75 'test/run_all_unittests.cc', | 75 'test/run_all_unittests.cc', |
76 ], | 76 ], |
77 # Disable c4267 warnings until we fix size_t to int truncations. | 77 # Disable c4267 warnings until we fix size_t to int truncations. |
78 'msvs_disabled_warnings': [ 4267, ], | 78 'msvs_disabled_warnings': [ 4267, ], |
79 }, | 79 }, |
80 ], | 80 ], |
81 'conditions': [ | 81 'conditions': [ |
82 ['test_isolation_mode != "noop"', { | 82 ['test_isolation_mode != "noop"', { |
83 'targets': [ | 83 'targets': [ |
84 { | 84 { |
85 'target_name': 'app_list_shower_unittests_run', | 85 'target_name': 'app_list_presenter_unittests_run', |
86 'type': 'none', | 86 'type': 'none', |
87 'dependencies': [ | 87 'dependencies': [ |
88 'app_list_shower_unittests', | 88 'app_list_presenter_unittests', |
89 ], | 89 ], |
90 'includes': [ | 90 'includes': [ |
91 '../../../build/isolate.gypi', | 91 '../../../build/isolate.gypi', |
92 ], | 92 ], |
93 'sources': [ | 93 'sources': [ |
94 'app_list_shower_unittests.isolate', | 94 'app_list_presenter_unittests.isolate', |
95 ], | 95 ], |
96 'conditions': [ | 96 'conditions': [ |
97 ['use_x11 == 1', { | 97 ['use_x11 == 1', { |
98 'dependencies': [ | 98 'dependencies': [ |
99 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 99 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
100 ], | 100 ], |
101 }], | 101 }], |
102 ], | 102 ], |
103 }, | 103 }, |
104 ], | 104 ], |
105 }], | 105 }], |
106 ], | 106 ], |
107 } | 107 } |
OLD | NEW |