Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 130 { | 130 { |
| 131 'target_name': 'aura_test_support', | 131 'target_name': 'aura_test_support', |
| 132 'type': 'static_library', | 132 'type': 'static_library', |
| 133 'dependencies': [ | 133 'dependencies': [ |
| 134 '../../skia/skia.gyp:skia', | 134 '../../skia/skia.gyp:skia', |
| 135 '../../testing/gtest.gyp:gtest', | 135 '../../testing/gtest.gyp:gtest', |
| 136 '../compositor/compositor.gyp:compositor_test_support', | 136 '../compositor/compositor.gyp:compositor_test_support', |
| 137 '../events/events.gyp:events', | 137 '../events/events.gyp:events', |
| 138 '../gfx/gfx.gyp:gfx', | 138 '../gfx/gfx.gyp:gfx', |
| 139 '../ui.gyp:ui', | 139 '../ui.gyp:ui', |
| 140 '../ui.gyp:ui_pak', | |
| 140 '../ui_unittests.gyp:ui_test_support', | 141 '../ui_unittests.gyp:ui_test_support', |
| 141 'aura', | 142 'aura', |
| 142 'aura_test_support_pak', | |
| 143 ], | 143 ], |
| 144 'include_dirs': [ | 144 'include_dirs': [ |
| 145 '..', | 145 '..', |
| 146 ], | 146 ], |
| 147 'sources': [ | 147 'sources': [ |
| 148 'test/aura_test_base.cc', | 148 'test/aura_test_base.cc', |
| 149 'test/aura_test_base.h', | 149 'test/aura_test_base.h', |
| 150 'test/aura_test_helper.cc', | 150 'test/aura_test_helper.cc', |
| 151 'test/aura_test_helper.h', | 151 'test/aura_test_helper.h', |
| 152 'test/env_test_helper.h', | 152 'test/env_test_helper.h', |
| 153 'test/event_generator.cc', | 153 'test/event_generator.cc', |
| 154 'test/event_generator.h', | 154 'test/event_generator.h', |
| 155 'test/test_aura_initializer.cc', | |
| 156 'test/test_aura_initializer.h', | |
| 157 'test/test_cursor_client.cc', | 155 'test/test_cursor_client.cc', |
| 158 'test/test_cursor_client.h', | 156 'test/test_cursor_client.h', |
| 159 'test/test_event_handler.cc', | 157 'test/test_event_handler.cc', |
| 160 'test/test_event_handler.h', | 158 'test/test_event_handler.h', |
| 161 'test/test_focus_client.cc', | 159 'test/test_focus_client.cc', |
| 162 'test/test_focus_client.h', | 160 'test/test_focus_client.h', |
| 163 'test/test_screen.cc', | 161 'test/test_screen.cc', |
| 164 'test/test_screen.h', | 162 'test/test_screen.h', |
| 165 'test/test_window_tree_client.cc', | 163 'test/test_window_tree_client.cc', |
| 166 'test/test_window_tree_client.h', | 164 'test/test_window_tree_client.h', |
| 167 'test/test_windows.cc', | 165 'test/test_windows.cc', |
| 168 'test/test_windows.h', | 166 'test/test_windows.h', |
| 169 'test/test_window_delegate.cc', | 167 'test/test_window_delegate.cc', |
| 170 'test/test_window_delegate.h', | 168 'test/test_window_delegate.h', |
| 171 'test/ui_controls_factory_aura.h', | 169 'test/ui_controls_factory_aura.h', |
| 172 'test/ui_controls_factory_aurawin.cc', | 170 'test/ui_controls_factory_aurawin.cc', |
| 173 'test/ui_controls_factory_aurax11.cc', | 171 'test/ui_controls_factory_aurax11.cc', |
| 174 'test/window_test_api.cc', | 172 'test/window_test_api.cc', |
| 175 'test/window_test_api.h', | 173 'test/window_test_api.h', |
| 176 ], | 174 ], |
| 177 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 175 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 178 'msvs_disabled_warnings': [ 4267, ], | 176 'msvs_disabled_warnings': [ 4267, ], |
| 179 }, | 177 }, |
| 180 { | 178 { |
| 181 # We build a minimal set of resources required for aura_test_support. | |
| 182 'target_name': 'aura_test_support_pak', | |
| 183 'type': 'none', | |
| 184 'dependencies': [ | |
| 185 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings', | |
| 186 '<(DEPTH)/ui/ui.gyp:ui_resources', | |
| 187 ], | |
| 188 'variables': { | |
| 189 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
| 190 }, | |
| 191 'actions': [ | |
| 192 { | |
| 193 'action_name': 'repack_aura_test_support_pack', | |
| 194 'variables': { | |
| 195 'pak_inputs': [ | |
| 196 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett ings_en-US.pak', | |
| 197 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce nt.pak', | |
| 198 ], | |
| 199 }, | |
| 200 'inputs': [ | |
| 201 '<(repack_path)', | |
| 202 '<@(pak_inputs)', | |
| 203 ], | |
| 204 'outputs': [ | |
| 205 '<(PRODUCT_DIR)/aura_test_support_resources.pak', | |
| 206 ], | |
| 207 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
| 208 '<@(pak_inputs)'], | |
| 209 }, | |
| 210 ], | |
| 211 }, | |
| 212 { | |
| 213 'target_name': 'aura_demo', | 179 'target_name': 'aura_demo', |
| 214 'type': 'executable', | 180 'type': 'executable', |
| 215 'dependencies': [ | 181 'dependencies': [ |
| 216 '../../base/base.gyp:base', | 182 '../../base/base.gyp:base', |
| 217 '../../base/base.gyp:base_i18n', | 183 '../../base/base.gyp:base_i18n', |
| 218 '../../skia/skia.gyp:skia', | 184 '../../skia/skia.gyp:skia', |
| 219 '../../third_party/icu/icu.gyp:icui18n', | 185 '../../third_party/icu/icu.gyp:icui18n', |
| 220 '../../third_party/icu/icu.gyp:icuuc', | 186 '../../third_party/icu/icu.gyp:icuuc', |
| 221 '../compositor/compositor.gyp:compositor', | 187 '../compositor/compositor.gyp:compositor', |
| 222 '../compositor/compositor.gyp:compositor_test_support', | 188 '../compositor/compositor.gyp:compositor_test_support', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 ], | 224 ], |
| 259 'sources': [ | 225 'sources': [ |
| 260 'bench/bench_main.cc', | 226 'bench/bench_main.cc', |
| 261 ], | 227 ], |
| 262 }, | 228 }, |
| 263 { | 229 { |
| 264 'target_name': 'aura_unittests', | 230 'target_name': 'aura_unittests', |
| 265 'type': 'executable', | 231 'type': 'executable', |
| 266 'dependencies': [ | 232 'dependencies': [ |
| 267 '../../base/base.gyp:test_support_base', | 233 '../../base/base.gyp:test_support_base', |
| 268 '../../chrome/chrome_resources.gyp:packed_resources', | |
|
tfarina
2013/10/31 01:23:08
aura_unittests didn't fail for me locally. I expec
tony
2013/10/31 19:48:34
You tested on a clean build right? It looks like
| |
| 269 '../../skia/skia.gyp:skia', | 234 '../../skia/skia.gyp:skia', |
| 270 '../../testing/gtest.gyp:gtest', | 235 '../../testing/gtest.gyp:gtest', |
| 271 '../compositor/compositor.gyp:compositor_test_support', | 236 '../compositor/compositor.gyp:compositor_test_support', |
| 272 '../compositor/compositor.gyp:compositor', | 237 '../compositor/compositor.gyp:compositor', |
| 273 '../events/events.gyp:events', | 238 '../events/events.gyp:events', |
| 274 '../gfx/gfx.gyp:gfx', | 239 '../gfx/gfx.gyp:gfx', |
| 275 '../gl/gl.gyp:gl', | 240 '../gl/gl.gyp:gl', |
| 276 '../ui.gyp:ui', | 241 '../ui.gyp:ui', |
| 277 '../ui.gyp:ui_resources', | 242 '../ui.gyp:ui_resources', |
| 278 '../ui_unittests.gyp:ui_test_support', | 243 '../ui_unittests.gyp:ui_test_support', |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 300 ['OS=="linux" and linux_use_tcmalloc==1', { | 265 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 301 'dependencies': [ | 266 'dependencies': [ |
| 302 # See http://crbug.com/162998#c4 for why this is needed. | 267 # See http://crbug.com/162998#c4 for why this is needed. |
| 303 '../../base/allocator/allocator.gyp:allocator', | 268 '../../base/allocator/allocator.gyp:allocator', |
| 304 ], | 269 ], |
| 305 }], | 270 }], |
| 306 ], | 271 ], |
| 307 }, | 272 }, |
| 308 ], | 273 ], |
| 309 } | 274 } |
| OLD | NEW |