Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: components/toolbar.gypi

Issue 1634743003: Componentize TestToolbarModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp dependency Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/toolbar/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/toolbar 8 # GN version: //components/toolbar
9 'target_name': 'toolbar', 9 'target_name': 'toolbar',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../base/base.gyp:base', 12 '../base/base.gyp:base',
13 '../url/url.gyp:url_lib', 13 '../url/url.gyp:url_lib',
14 'security_state', 14 'security_state',
15 ], 15 ],
16 'include_dirs': [ 16 'include_dirs': [
17 '..', 17 '..',
18 ], 18 ],
19 'sources': [ 19 'sources': [
20 # Note: sources list duplicated in GN build. 20 # Note: sources list duplicated in GN build.
21 'toolbar/toolbar_model.cc', 21 'toolbar/toolbar_model.cc',
22 'toolbar/toolbar_model.h', 22 'toolbar/toolbar_model.h',
23 ], 23 ],
24 }, 24 },
25 {
26 # GN version: //components/toolbar:test_support
27 'target_name': 'toolbar_test_support',
28 'type': 'static_library',
29 'dependencies': [
30 '../base/base.gyp:base',
31 '../ui/gfx/gfx.gyp:gfx_vector_icons',
32 'components_resources.gyp:components_resources',
33 'toolbar',
34 ],
35 'include_dirs': [
36 '..',
37 ],
38 'sources': [
39 'toolbar/test_toolbar_model.cc',
40 'toolbar/test_toolbar_model.h',
41 ],
42 'conditions': [
43 ['toolkit_views==1', {
44 # Needed to get the TOOLKIT_VIEWS define.
45 'dependencies': [
46 '<(DEPTH)/ui/views/views.gyp:views',
47 ],
48 }],
49 ],
50 },
25 ], 51 ],
26 } 52 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/toolbar/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698