| 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 { |
| 11 'target_name': 'aura', | 11 'target_name': 'aura', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
| 15 '../../base/base.gyp:base_i18n', | 15 '../../base/base.gyp:base_i18n', |
| 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| 17 '../../skia/skia.gyp:skia', | 17 '../../skia/skia.gyp:skia', |
| 18 '../compositor/compositor.gyp:compositor', | 18 '../compositor/compositor.gyp:compositor', |
| 19 '../ui.gyp:ui', | 19 '../ui.gyp:ui', |
| 20 '../ui.gyp:ui_resources', | 20 '../ui.gyp:ui_resources', |
| 21 '../ui.gyp:ui_resources_standard', | |
| 22 ], | 21 ], |
| 23 'defines': [ | 22 'defines': [ |
| 24 'AURA_IMPLEMENTATION', | 23 'AURA_IMPLEMENTATION', |
| 25 ], | 24 ], |
| 26 'sources': [ | 25 'sources': [ |
| 27 'aura_switches.cc', | 26 'aura_switches.cc', |
| 28 'aura_switches.h', | 27 'aura_switches.h', |
| 29 'client/activation_client.cc', | 28 'client/activation_client.cc', |
| 30 'client/activation_client.h', | 29 'client/activation_client.h', |
| 31 'client/activation_delegate.cc', | 30 'client/activation_delegate.cc', |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 'test/test_windows.h', | 174 'test/test_windows.h', |
| 176 'test/test_window_delegate.cc', | 175 'test/test_window_delegate.cc', |
| 177 'test/test_window_delegate.h', | 176 'test/test_window_delegate.h', |
| 178 ], | 177 ], |
| 179 }, | 178 }, |
| 180 { | 179 { |
| 181 # We build a minimal set of resources required for test_support_aura. | 180 # We build a minimal set of resources required for test_support_aura. |
| 182 'target_name': 'test_support_aura_pak', | 181 'target_name': 'test_support_aura_pak', |
| 183 'type': 'none', | 182 'type': 'none', |
| 184 'dependencies': [ | 183 'dependencies': [ |
| 185 '<(DEPTH)/ui/ui.gyp:ui_resources_standard', | 184 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 186 ], | 185 ], |
| 187 'variables': { | 186 'variables': { |
| 188 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | 187 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', |
| 189 }, | 188 }, |
| 190 'actions': [ | 189 'actions': [ |
| 191 { | 190 { |
| 192 'action_name': 'repack_test_support_aura_pack', | 191 'action_name': 'repack_test_support_aura_pack', |
| 193 'variables': { | 192 'variables': { |
| 194 'pak_inputs': [ | 193 'pak_inputs': [ |
| 195 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_
standard.pak', | 194 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_standard.
pak', |
| 196 ], | 195 ], |
| 197 }, | 196 }, |
| 198 'inputs': [ | 197 'inputs': [ |
| 199 '<(repack_path)', | 198 '<(repack_path)', |
| 200 '<@(pak_inputs)', | 199 '<@(pak_inputs)', |
| 201 ], | 200 ], |
| 202 'outputs': [ | 201 'outputs': [ |
| 203 '<(PRODUCT_DIR)/test_support_aura_resources.pak', | 202 '<(PRODUCT_DIR)/test_support_aura_resources.pak', |
| 204 ], | 203 ], |
| 205 'action': ['python', '<(repack_path)', '<@(_outputs)', | 204 'action': ['python', '<(repack_path)', '<@(_outputs)', |
| 206 '<@(pak_inputs)'], | 205 '<@(pak_inputs)'], |
| 207 }, | 206 }, |
| 208 ], | 207 ], |
| 209 }, | 208 }, |
| 210 { | 209 { |
| 211 'target_name': 'aura_demo', | 210 'target_name': 'aura_demo', |
| 212 'type': 'executable', | 211 'type': 'executable', |
| 213 'dependencies': [ | 212 'dependencies': [ |
| 214 '../../base/base.gyp:base', | 213 '../../base/base.gyp:base', |
| 215 '../../base/base.gyp:base_i18n', | 214 '../../base/base.gyp:base_i18n', |
| 216 '../../skia/skia.gyp:skia', | 215 '../../skia/skia.gyp:skia', |
| 217 '../../third_party/icu/icu.gyp:icui18n', | 216 '../../third_party/icu/icu.gyp:icui18n', |
| 218 '../../third_party/icu/icu.gyp:icuuc', | 217 '../../third_party/icu/icu.gyp:icuuc', |
| 219 '../compositor/compositor.gyp:compositor', | 218 '../compositor/compositor.gyp:compositor', |
| 220 '../compositor/compositor.gyp:compositor_test_support', | 219 '../compositor/compositor.gyp:compositor_test_support', |
| 221 '../ui.gyp:ui', | 220 '../ui.gyp:ui', |
| 222 '../ui.gyp:ui_resources', | 221 '../ui.gyp:ui_resources', |
| 223 '../ui.gyp:ui_resources_standard', | |
| 224 'aura', | 222 'aura', |
| 225 ], | 223 ], |
| 226 'include_dirs': [ | 224 'include_dirs': [ |
| 227 '..', | 225 '..', |
| 228 ], | 226 ], |
| 229 'sources': [ | 227 'sources': [ |
| 230 'demo/demo_main.cc', | 228 'demo/demo_main.cc', |
| 231 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 229 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_standard.rc', |
| 232 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa
rd.rc', | |
| 233 ], | 230 ], |
| 234 }, | 231 }, |
| 235 { | 232 { |
| 236 'target_name': 'aura_bench', | 233 'target_name': 'aura_bench', |
| 237 'type': 'executable', | 234 'type': 'executable', |
| 238 'dependencies': [ | 235 'dependencies': [ |
| 239 '../../base/base.gyp:base', | 236 '../../base/base.gyp:base', |
| 240 '../../base/base.gyp:base_i18n', | 237 '../../base/base.gyp:base_i18n', |
| 241 '../../skia/skia.gyp:skia', | 238 '../../skia/skia.gyp:skia', |
| 242 '../../third_party/icu/icu.gyp:icui18n', | 239 '../../third_party/icu/icu.gyp:icui18n', |
| 243 '../../third_party/icu/icu.gyp:icuuc', | 240 '../../third_party/icu/icu.gyp:icuuc', |
| 244 '../compositor/compositor.gyp:compositor', | 241 '../compositor/compositor.gyp:compositor', |
| 245 '../compositor/compositor.gyp:compositor_test_support', | 242 '../compositor/compositor.gyp:compositor_test_support', |
| 246 '../ui.gyp:ui', | 243 '../ui.gyp:ui', |
| 247 '../ui.gyp:ui_resources', | 244 '../ui.gyp:ui_resources', |
| 248 '../ui.gyp:ui_resources_standard', | |
| 249 'aura', | 245 'aura', |
| 250 ], | 246 ], |
| 251 'include_dirs': [ | 247 'include_dirs': [ |
| 252 '..', | 248 '..', |
| 253 ], | 249 ], |
| 254 'sources': [ | 250 'sources': [ |
| 255 'bench/bench_main.cc', | 251 'bench/bench_main.cc', |
| 256 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 252 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_standard.rc', |
| 257 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa
rd.rc', | |
| 258 ], | 253 ], |
| 259 }, | 254 }, |
| 260 { | 255 { |
| 261 'target_name': 'aura_unittests', | 256 'target_name': 'aura_unittests', |
| 262 'type': 'executable', | 257 'type': 'executable', |
| 263 'dependencies': [ | 258 'dependencies': [ |
| 264 '../../base/base.gyp:test_support_base', | 259 '../../base/base.gyp:test_support_base', |
| 265 '../../chrome/chrome_resources.gyp:packed_resources', | 260 '../../chrome/chrome_resources.gyp:packed_resources', |
| 266 '../../skia/skia.gyp:skia', | 261 '../../skia/skia.gyp:skia', |
| 267 '../../testing/gtest.gyp:gtest', | 262 '../../testing/gtest.gyp:gtest', |
| 268 '../compositor/compositor.gyp:compositor_test_support', | 263 '../compositor/compositor.gyp:compositor_test_support', |
| 269 '../compositor/compositor.gyp:compositor', | 264 '../compositor/compositor.gyp:compositor', |
| 270 '../gl/gl.gyp:gl', | 265 '../gl/gl.gyp:gl', |
| 271 '../ui.gyp:ui', | 266 '../ui.gyp:ui', |
| 272 '../ui.gyp:ui_resources', | 267 '../ui.gyp:ui_resources', |
| 273 '../ui.gyp:ui_resources_standard', | |
| 274 '../ui.gyp:ui_test_support', | 268 '../ui.gyp:ui_test_support', |
| 275 'test_support_aura', | 269 'test_support_aura', |
| 276 'aura', | 270 'aura', |
| 277 ], | 271 ], |
| 278 'include_dirs': [ | 272 'include_dirs': [ |
| 279 '..', | 273 '..', |
| 280 ], | 274 ], |
| 281 'sources': [ | 275 'sources': [ |
| 282 'gestures/gesture_recognizer_unittest.cc', | 276 'gestures/gesture_recognizer_unittest.cc', |
| 283 'test/run_all_unittests.cc', | 277 'test/run_all_unittests.cc', |
| 284 'test/test_suite.cc', | 278 'test/test_suite.cc', |
| 285 'test/test_suite.h', | 279 'test/test_suite.h', |
| 286 'root_window_unittest.cc', | 280 'root_window_unittest.cc', |
| 287 'shared/compound_event_filter_unittest.cc', | 281 'shared/compound_event_filter_unittest.cc', |
| 288 'shared/input_method_event_filter_unittest.cc', | 282 'shared/input_method_event_filter_unittest.cc', |
| 289 'event_filter_unittest.cc', | 283 'event_filter_unittest.cc', |
| 290 'event_unittest.cc', | 284 'event_unittest.cc', |
| 291 'window_unittest.cc', | 285 'window_unittest.cc', |
| 292 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 286 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_standard.rc', |
| 293 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa
rd.rc', | |
| 294 ], | 287 ], |
| 295 'conditions': [ | 288 'conditions': [ |
| 296 # osmesa GL implementation is used on linux. | 289 # osmesa GL implementation is used on linux. |
| 297 ['OS=="linux"', { | 290 ['OS=="linux"', { |
| 298 'dependencies': [ | 291 'dependencies': [ |
| 299 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 292 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
| 300 ], | 293 ], |
| 301 }], | 294 }], |
| 302 ], | 295 ], |
| 303 }, | 296 }, |
| 304 ], | 297 ], |
| 305 } | 298 } |
| OLD | NEW |