blob: 1166d46db5440669228cd60fcb59aabcb388a925 [file] [log] [blame]
blundell11d93bc2015-07-31 12:33:121# Copyright 2015 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 'targets': [
7 {
8 # GN version: //components/toolbar
9 'target_name': 'toolbar',
10 'type': 'static_library',
11 'dependencies': [
12 '../base/base.gyp:base',
sdefresne3adc092b2016-02-04 14:18:3613 '../net/net.gyp:net',
14 '../ui/base/ui_base.gyp:ui_base',
15 '../ui/gfx/gfx.gyp:gfx',
jam5becfb52016-02-08 22:41:2216 '../ui/gfx/gfx.gyp:gfx_vector_icons',
blundell11d93bc2015-07-31 12:33:1217 '../url/url.gyp:url_lib',
sdefresne3adc092b2016-02-04 14:18:3618 'components_resources.gyp:components_resources',
19 'components_strings.gyp:components_strings',
20 'google_core_browser',
21 'prefs/prefs.gyp:prefs',
blundellc1f77e72016-01-13 10:56:3022 'security_state',
sdefresne3adc092b2016-02-04 14:18:3623 'url_formatter/url_formatter.gyp:url_formatter',
blundell11d93bc2015-07-31 12:33:1224 ],
25 'include_dirs': [
26 '..',
27 ],
28 'sources': [
29 # Note: sources list duplicated in GN build.
30 'toolbar/toolbar_model.cc',
31 'toolbar/toolbar_model.h',
sdefresne3adc092b2016-02-04 14:18:3632 'toolbar/toolbar_model_delegate.h',
33 'toolbar/toolbar_model_impl.cc',
34 'toolbar/toolbar_model_impl.h',
blundell11d93bc2015-07-31 12:33:1235 ],
36 },
blundell44f5d3722016-01-28 16:27:5237 {
38 # GN version: //components/toolbar:test_support
39 'target_name': 'toolbar_test_support',
40 'type': 'static_library',
41 'dependencies': [
estade6238b2032016-03-22 03:32:4042 '../ui/gfx/gfx.gyp:gfx_vector_icons',
jif46a4d542016-02-24 19:44:4843 'components_resources.gyp:components_resources',
blundell44f5d3722016-01-28 16:27:5244 'toolbar',
45 ],
46 'include_dirs': [
47 '..',
48 ],
49 'sources': [
50 'toolbar/test_toolbar_model.cc',
51 'toolbar/test_toolbar_model.h',
52 ],
53 'conditions': [
54 ['toolkit_views==1', {
55 # Needed to get the TOOLKIT_VIEWS define.
56 'dependencies': [
57 '<(DEPTH)/ui/views/views.gyp:views',
58 ],
59 }],
60 ],
61 },
blundell11d93bc2015-07-31 12:33:1262 ],
63}