OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 0, |
| 8 'use_libcc_for_compositor%': 0, |
| 9 'webkit_compositor_tests_sources': [ |
| 10 'WebFloatAnimationCurveTest.cpp', |
| 11 'WebTransformAnimationCurveTest.cpp', |
| 12 ], |
| 13 }, |
| 14 'conditions': [ |
| 15 ['use_libcc_for_compositor==1 and component!="shared_library"', { |
| 16 'targets': [ |
| 17 { |
| 18 'target_name': 'webkit_compositor_unittests', |
| 19 'type' : 'executable', |
| 20 'dependencies': [ |
| 21 '<(DEPTH)/base/base.gyp:test_support_base', |
| 22 '<(DEPTH)/cc/cc.gyp:cc', |
| 23 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 24 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 25 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g
yp:webkit_platform', |
| 26 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 27 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
| 28 'compositor.gyp:webkit_compositor', |
| 29 ], |
| 30 'include_dirs': [ |
| 31 '.', |
| 32 '<(DEPTH)/cc', |
| 33 '<(DEPTH)/cc/stubs', |
| 34 ], |
| 35 'sources': [ |
| 36 '<@(webkit_compositor_tests_sources)', |
| 37 'test/run_all_unittests.cc', |
| 38 ] |
| 39 }, |
| 40 ], |
| 41 }, { |
| 42 'targets': [ |
| 43 { |
| 44 'target_name': 'webkit_compositor_unittests', |
| 45 'type' : 'none', |
| 46 } |
| 47 ], |
| 48 }], |
| 49 ], |
| 50 } |
OLD | NEW |