| 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': 0, |   7     'chromium_code': 0, | 
|   8     'use_libcc_for_compositor%': 0, |   8     'use_libcc_for_compositor%': 0, | 
|   9     'webkit_compositor_tests_sources': [ |   9     'webkit_compositor_bindings_tests_sources': [ | 
|  10       'LayerChromiumTest.cpp', |  10       'LayerChromiumTest.cpp', | 
|  11       'TextureCopierTest.cpp', |  11       'TextureCopierTest.cpp', | 
|  12       'TextureLayerChromiumTest.cpp', |  12       'TextureLayerChromiumTest.cpp', | 
|  13       'ThrottledTextureUploaderTest.cpp', |  13       'ThrottledTextureUploaderTest.cpp', | 
|  14       'TiledLayerChromiumTest.cpp', |  14       'TiledLayerChromiumTest.cpp', | 
|  15       'TreeSynchronizerTest.cpp', |  15       'TreeSynchronizerTest.cpp', | 
|  16       'WebAnimationTest.cpp', |  16       'WebAnimationTest.cpp', | 
|  17       'WebFloatAnimationCurveTest.cpp', |  17       'WebFloatAnimationCurveTest.cpp', | 
|  18       'WebFloatAnimationCurveTest.cpp', |  18       'WebFloatAnimationCurveTest.cpp', | 
|  19       'WebLayerTest.cpp', |  19       'WebLayerTest.cpp', | 
|  20       'WebLayerTreeViewTest.cpp', |  20       'WebLayerTreeViewTest.cpp', | 
|  21       'WebTransformAnimationCurveTest.cpp', |  21       'WebTransformAnimationCurveTest.cpp', | 
|  22       'WebTransformAnimationCurveTest.cpp', |  22       'WebTransformAnimationCurveTest.cpp', | 
|  23       'WebTransformOperationsTest.cpp', |  23       'WebTransformOperationsTest.cpp', | 
|  24       'WebTransformationMatrixTest.cpp', |  24       'WebTransformationMatrixTest.cpp', | 
|  25       'test/FakeWebScrollbarThemeGeometry.h', |  25       'test/FakeWebScrollbarThemeGeometry.h', | 
|  26       'test/WebLayerTreeViewTestCommon.h', |  26       'test/WebLayerTreeViewTestCommon.h', | 
|  27     ], |  27     ], | 
|  28   }, |  28   }, | 
|  29   'conditions': [ |  29   'targets': [ | 
|  30     ['use_libcc_for_compositor==1 and component!="shared_library"', { |  30     { | 
|  31       'targets': [ |  31       'target_name': 'webkit_compositor_bindings_unittests', | 
|  32         { |  32       'type' : 'executable', | 
|  33           'target_name': 'webkit_compositor_unittests', |  33       'dependencies': [ | 
|  34           'type' : 'executable', |  34         '../../base/base.gyp:test_support_base', | 
 |  35         '../../testing/gmock.gyp:gmock', | 
 |  36         '../../testing/gtest.gyp:gtest', | 
 |  37       ], | 
 |  38       'sources': [ | 
 |  39         'test/run_all_unittests.cc', | 
 |  40       ], | 
 |  41       'conditions': [ | 
 |  42         ['use_libcc_for_compositor==1 and component!="shared_library"', { | 
 |  43           'defines': [ | 
 |  44             'USE_LIBCC_FOR_COMPOSITOR', | 
 |  45           ], | 
|  35           'dependencies': [ |  46           'dependencies': [ | 
|  36             '../../base/base.gyp:test_support_base', |  | 
|  37             '../../cc/cc.gyp:cc', |  47             '../../cc/cc.gyp:cc', | 
|  38             '../../cc/cc_tests.gyp:cc_test_support', |  48             '../../cc/cc_tests.gyp:cc_test_support', | 
|  39             '../../skia/skia.gyp:skia', |  49             '../../skia/skia.gyp:skia', | 
|  40             '../../testing/gmock.gyp:gmock', |  | 
|  41             '../../testing/gtest.gyp:gtest', |  | 
|  42             '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
    webkit_platform', |  50             '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
    webkit_platform', | 
|  43             '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |  51             '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | 
|  44             '../../webkit/support/webkit_support.gyp:webkit_support', |  52             '../../webkit/support/webkit_support.gyp:webkit_support', | 
|  45             'compositor.gyp:webkit_compositor', |  53             'compositor_bindings.gyp:webkit_compositor_bindings', | 
|  46           ], |  54           ], | 
|  47           'include_dirs': [ |  55           'include_dirs': [ | 
|  48             '.', |  56             '.', | 
|  49             'test', |  57             'test', | 
|  50             '<(DEPTH)/cc', |  58             '<(DEPTH)/cc', | 
|  51             '<(DEPTH)/cc/stubs', |  59             '<(DEPTH)/cc/stubs', | 
|  52             '<(DEPTH)/cc/test', |  60             '<(DEPTH)/cc/test', | 
|  53           ], |  61           ], | 
|  54           'sources': [ |  62           'sources': [ | 
|  55             '<@(webkit_compositor_tests_sources)', |  63             '<@(webkit_compositor_bindings_tests_sources)', | 
|  56             'test/run_all_unittests.cc', |  | 
|  57           ] |  64           ] | 
|  58         }, |  65         }], | 
|  59       ], |  66       ], | 
|  60     }, { |  67     }, | 
|  61       'targets': [ |  | 
|  62         { |  | 
|  63           'target_name': 'webkit_compositor_unittests', |  | 
|  64           'type' : 'none', |  | 
|  65         } |  | 
|  66       ], |  | 
|  67     }], |  | 
|  68   ], |  68   ], | 
|  69 } |  69 } | 
| OLD | NEW |