| OLD | NEW |
| (Empty) |
| 1 # 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', | |
| 13 '../net/net.gyp:net', | |
| 14 '../ui/base/ui_base.gyp:ui_base', | |
| 15 '../ui/gfx/gfx.gyp:gfx', | |
| 16 '../ui/gfx/gfx.gyp:gfx_vector_icons', | |
| 17 '../url/url.gyp:url_lib', | |
| 18 'components_resources.gyp:components_resources', | |
| 19 'components_strings.gyp:components_strings', | |
| 20 'google_core_browser', | |
| 21 'prefs/prefs.gyp:prefs', | |
| 22 'security_state', | |
| 23 'url_formatter/url_formatter.gyp:url_formatter', | |
| 24 ], | |
| 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', | |
| 32 'toolbar/toolbar_model_delegate.h', | |
| 33 'toolbar/toolbar_model_impl.cc', | |
| 34 'toolbar/toolbar_model_impl.h', | |
| 35 ], | |
| 36 }, | |
| 37 { | |
| 38 # GN version: //components/toolbar:test_support | |
| 39 'target_name': 'toolbar_test_support', | |
| 40 'type': 'static_library', | |
| 41 'dependencies': [ | |
| 42 '../ui/gfx/gfx.gyp:gfx_vector_icons', | |
| 43 'components_resources.gyp:components_resources', | |
| 44 '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 }, | |
| 62 ], | |
| 63 } | |
| OLD | NEW |