OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'views_examples_lib', | 10 'target_name': 'views_examples_lib', |
11 'type': '<(component)', | 11 'type': '<(component)', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../../../base/base.gyp:base', | 13 '../../../base/base.gyp:base', |
14 '../../../skia/skia.gyp:skia', | 14 '../../../skia/skia.gyp:skia', |
15 '../../../third_party/icu/icu.gyp:icui18n', | 15 '../../../third_party/icu/icu.gyp:icui18n', |
16 '../../../third_party/icu/icu.gyp:icuuc', | 16 '../../../third_party/icu/icu.gyp:icuuc', |
17 '../../aura/aura.gyp:aura', | |
18 '../../base/ui_base.gyp:ui_base', | 17 '../../base/ui_base.gyp:ui_base', |
19 '../../events/events.gyp:events', | 18 '../../events/events.gyp:events', |
20 '../../gfx/gfx.gyp:gfx', | 19 '../../gfx/gfx.gyp:gfx', |
21 '../../gfx/gfx.gyp:gfx_geometry', | 20 '../../gfx/gfx.gyp:gfx_geometry', |
22 '../../resources/ui_resources.gyp:ui_resources', | 21 '../../resources/ui_resources.gyp:ui_resources', |
23 '../../resources/ui_resources.gyp:ui_test_pak', | 22 '../../resources/ui_resources.gyp:ui_test_pak', |
24 '../views.gyp:views', | 23 '../views.gyp:views', |
25 ], | 24 ], |
26 'include_dirs': [ | 25 'include_dirs': [ |
27 '../../..', | 26 '../../..', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 'widget_example.h', | 82 'widget_example.h', |
84 ], | 83 ], |
85 'conditions': [ | 84 'conditions': [ |
86 ['OS=="win"', { | 85 ['OS=="win"', { |
87 'include_dirs': [ | 86 'include_dirs': [ |
88 '../../../third_party/wtl/include', | 87 '../../../third_party/wtl/include', |
89 ], | 88 ], |
90 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 89 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
91 'msvs_disabled_warnings': [ 4267, ], | 90 'msvs_disabled_warnings': [ 4267, ], |
92 }], | 91 }], |
| 92 ['use_aura==1', { |
| 93 'dependencies': [ |
| 94 '../../aura/aura.gyp:aura', |
| 95 ], |
| 96 }], |
93 ], | 97 ], |
94 }, # target_name: views_examples_lib | 98 }, # target_name: views_examples_lib |
95 { | 99 { |
96 'target_name': 'views_examples_exe', | 100 'target_name': 'views_examples_exe', |
97 'type': 'executable', | 101 'type': 'executable', |
98 'dependencies': [ | 102 'dependencies': [ |
99 '../../../base/base.gyp:base', | 103 '../../../base/base.gyp:base', |
100 '../../../base/base.gyp:base_i18n', | 104 '../../../base/base.gyp:base_i18n', |
101 '../../aura/aura.gyp:aura', | |
102 '../../base/ui_base.gyp:ui_base', | 105 '../../base/ui_base.gyp:ui_base', |
103 '../../compositor/compositor.gyp:compositor', | 106 '../../compositor/compositor.gyp:compositor', |
104 '../../compositor/compositor.gyp:compositor_test_support', | 107 '../../compositor/compositor.gyp:compositor_test_support', |
105 '../../gfx/gfx.gyp:gfx', | 108 '../../gfx/gfx.gyp:gfx', |
106 '../../resources/ui_resources.gyp:ui_test_pak', | 109 '../../resources/ui_resources.gyp:ui_test_pak', |
107 '../views.gyp:views', | 110 '../views.gyp:views', |
108 '../views.gyp:views_test_support', | 111 '../views.gyp:views_test_support', |
109 'views_examples_lib', | 112 'views_examples_lib', |
110 ], | 113 ], |
111 'sources': [ | 114 'sources': [ |
112 'examples_main.cc', | 115 'examples_main.cc', |
113 ], | 116 ], |
| 117 'conditions': [ |
| 118 ['use_aura==1', { |
| 119 'dependencies': [ |
| 120 '../../aura/aura.gyp:aura', |
| 121 ], |
| 122 }], |
| 123 ], |
114 }, # target_name: views_examples_exe | 124 }, # target_name: views_examples_exe |
115 { | 125 { |
116 'target_name': 'views_examples_with_content_lib', | 126 'target_name': 'views_examples_with_content_lib', |
117 'type': '<(component)', | 127 'type': '<(component)', |
118 'dependencies': [ | 128 'dependencies': [ |
119 '../../../base/base.gyp:base', | 129 '../../../base/base.gyp:base', |
120 '../../../content/content.gyp:content', | 130 '../../../content/content.gyp:content', |
121 '../../../skia/skia.gyp:skia', | 131 '../../../skia/skia.gyp:skia', |
122 '../../../url/url.gyp:url_lib', | 132 '../../../url/url.gyp:url_lib', |
123 '../../events/events.gyp:events', | 133 '../../events/events.gyp:events', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 }, | 178 }, |
169 }, | 179 }, |
170 'dependencies': [ | 180 'dependencies': [ |
171 '../../../sandbox/sandbox.gyp:sandbox', | 181 '../../../sandbox/sandbox.gyp:sandbox', |
172 ], | 182 ], |
173 }], | 183 }], |
174 ], | 184 ], |
175 }, # target_name: views_examples_with_content_exe | 185 }, # target_name: views_examples_with_content_exe |
176 ], | 186 ], |
177 } | 187 } |
OLD | NEW |