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