[Sync] Componentize UIModelWorker.
[chromium-blink-merge.git] / components / infobars.gypi
blob8c2449c8ae098b9e9852a70c2ab88f3bfdce7503
1 # Copyright 2014 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.
6   'targets': [
7     {
8       # GN version: //components/infobars/core
9       'target_name': 'infobars_core',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../skia/skia.gyp:skia',
17         '../ui/base/ui_base.gyp:ui_base',
18         '../ui/gfx/gfx.gyp:gfx',
19         '../ui/strings/ui_strings.gyp:ui_strings',
20       ],
21       'export_dependent_settings': [
22         '../skia/skia.gyp:skia',
23       ],
24       'sources': [
25         # Note: sources duplicated in GN build.
26         'infobars/core/confirm_infobar_delegate.cc',
27         'infobars/core/confirm_infobar_delegate.h',
28         'infobars/core/infobar.cc',
29         'infobars/core/infobar.h',
30         'infobars/core/infobar_container.cc',
31         'infobars/core/infobar_container.h',
32         'infobars/core/infobar_delegate.cc',
33         'infobars/core/infobar_delegate.h',
34         'infobars/core/infobar_manager.cc',
35         'infobars/core/infobar_manager.h',
36         'infobars/core/infobars_switches.cc',
37         'infobars/core/infobars_switches.h',
38         'infobars/core/simple_alert_infobar_delegate.cc',
39         'infobars/core/simple_alert_infobar_delegate.h',
40       ],
41       'conditions': [
42         ['OS != "ios" and OS != "android"', {
43           'dependencies': [
44             '../ui/gfx/gfx.gyp:gfx_vector_icons',
45             '../ui/native_theme/native_theme.gyp:native_theme',
46           ],
47         }],
48       ],
49     },
50   ],