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 '../../views/views.gyp:views', |
| 66 '../../wm/wm.gyp:wm', |
| 67 '../app_list.gyp:app_list_test_support', |
| 68 'app_list_shower', |
| 69 'app_list_shower_test_support', |
| 70 ], |
| 71 'sources': [ |
| 72 # Note: sources list duplicated in GN build. |
| 73 'app_list_shower_impl_unittest.cc', |
| 74 'test/run_all_unittests.cc', |
| 75 ], |
| 76 # Disable c4267 warnings until we fix size_t to int truncations. |
| 77 'msvs_disabled_warnings': [ 4267, ], |
| 78 }, |
| 79 ], |
| 80 'conditions': [ |
| 81 ['test_isolation_mode != "noop"', { |
| 82 'targets': [ |
| 83 { |
| 84 'target_name': 'app_list_shower_unittests_run', |
| 85 'type': 'none', |
| 86 'dependencies': [ |
| 87 'app_list_shower_unittests', |
| 88 ], |
| 89 'includes': [ |
| 90 '../../../build/isolate.gypi', |
| 91 ], |
| 92 'sources': [ |
| 93 'app_list_shower_unittests.isolate', |
| 94 ], |
| 95 'conditions': [ |
| 96 ['use_x11 == 1', { |
| 97 'dependencies': [ |
| 98 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 99 ], |
| 100 }], |
| 101 ], |
| 102 }, |
| 103 ], |
| 104 }], |
| 105 ], |
| 106 } |
OLD | NEW |