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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/toolbar/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar.gypi
diff --git a/components/toolbar.gypi b/components/toolbar.gypi
index 4a94c602a037da93611235a586309a9387bd1d8f..a690d696f4e0ecc3f0cbef10265d9770cb570620 100644
--- a/components/toolbar.gypi
+++ b/components/toolbar.gypi
@@ -22,5 +22,31 @@
'toolbar/toolbar_model.h',
],
},
+ {
+ # GN version: //components/toolbar:test_support
+ 'target_name': 'toolbar_test_support',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../ui/gfx/gfx.gyp:gfx_vector_icons',
+ 'components_resources.gyp:components_resources',
+ 'toolbar',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'toolbar/test_toolbar_model.cc',
+ 'toolbar/test_toolbar_model.h',
+ ],
+ 'conditions': [
+ ['toolkit_views==1', {
+ # Needed to get the TOOLKIT_VIEWS define.
+ 'dependencies': [
+ '<(DEPTH)/ui/views/views.gyp:views',
+ ],
+ }],
+ ],
+ },
],
}
« 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