| 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, | |
| 9 'webkit_compositor_bindings_tests_sources': [ | 8 'webkit_compositor_bindings_tests_sources': [ |
| 10 'WebAnimationTest.cpp', | 9 'WebAnimationTest.cpp', |
| 11 'WebFloatAnimationCurveTest.cpp', | 10 'WebFloatAnimationCurveTest.cpp', |
| 12 'WebLayerTest.cpp', | 11 'WebLayerTest.cpp', |
| 13 'WebLayerTreeViewTest.cpp', | 12 'WebLayerTreeViewTest.cpp', |
| 14 'WebTransformAnimationCurveTest.cpp', | 13 'WebTransformAnimationCurveTest.cpp', |
| 15 'WebTransformOperationsTest.cpp', | 14 'WebTransformOperationsTest.cpp', |
| 16 'WebTransformationMatrixTest.cpp', | 15 'WebTransformationMatrixTest.cpp', |
| 17 'test/FakeWebScrollbarThemeGeometry.h', | 16 'test/FakeWebScrollbarThemeGeometry.h', |
| 18 'test/WebLayerTreeViewTestCommon.h', | 17 'test/WebLayerTreeViewTestCommon.h', |
| 19 ], | 18 ], |
| 20 }, | 19 }, |
| 21 'targets': [ | 20 'targets': [ |
| 22 { | 21 { |
| 23 'target_name': 'webkit_compositor_bindings_unittests', | 22 'target_name': 'webkit_compositor_bindings_unittests', |
| 24 'type' : 'executable', | 23 'type' : 'executable', |
| 25 'dependencies': [ | 24 'dependencies': [ |
| 26 '../../base/base.gyp:test_support_base', | 25 '../../base/base.gyp:test_support_base', |
| 26 '../../cc/cc.gyp:cc', |
| 27 '../../cc/cc_tests.gyp:cc_test_support', |
| 28 '../../skia/skia.gyp:skia', |
| 27 '../../testing/gmock.gyp:gmock', | 29 '../../testing/gmock.gyp:gmock', |
| 28 '../../testing/gtest.gyp:gtest', | 30 '../../testing/gtest.gyp:gtest', |
| 31 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 32 'compositor_bindings.gyp:webkit_compositor_bindings', |
| 29 ], | 33 ], |
| 30 'sources': [ | 34 'sources': [ |
| 35 '<@(webkit_compositor_bindings_tests_sources)', |
| 31 'test/run_all_unittests.cc', | 36 'test/run_all_unittests.cc', |
| 32 ], | 37 ], |
| 33 'conditions': [ | 38 'include_dirs': [ |
| 34 ['use_libcc_for_compositor==1', { | 39 '.', |
| 35 'defines': [ | 40 'test', |
| 36 'USE_LIBCC_FOR_COMPOSITOR', | 41 '<(DEPTH)/cc', |
| 37 ], | 42 '<(DEPTH)/cc/stubs', |
| 38 'dependencies': [ | 43 '<(DEPTH)/cc/test', |
| 39 '../../cc/cc.gyp:cc', | 44 '../../third_party/WebKit/Source/Platform/chromium' |
| 40 '../../cc/cc_tests.gyp:cc_test_support', | |
| 41 '../../skia/skia.gyp:skia', | |
| 42 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | |
| 43 'compositor_bindings.gyp:webkit_compositor_bindings', | |
| 44 ], | |
| 45 'include_dirs': [ | |
| 46 '.', | |
| 47 'test', | |
| 48 '<(DEPTH)/cc', | |
| 49 '<(DEPTH)/cc/stubs', | |
| 50 '<(DEPTH)/cc/test', | |
| 51 '../../third_party/WebKit/Source/Platform/chromium' | |
| 52 ], | |
| 53 'sources': [ | |
| 54 '<@(webkit_compositor_bindings_tests_sources)', | |
| 55 ] | |
| 56 }], | |
| 57 ], | 45 ], |
| 58 }, | 46 }, |
| 59 ], | 47 ], |
| 60 } | 48 } |
| OLD | NEW |