OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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': 'webview_unittests', | |
12 'type': 'executable', | |
13 'dependencies': [ | |
14 '../../../../content/content_shell_and_tests.gyp:test_support_content', | |
msw
2014/04/18 19:57:57
Is it necessary to list the dependencies in common
Yuki
2014/04/22 09:09:02
Removed, but it turned out that we need skiya.gyp:
| |
15 '../../../../testing/gtest.gyp:gtest', | |
16 '../../../accessibility/accessibility.gyp:accessibility', | |
17 '../../views.gyp:views_test_support', | |
18 'webview.gyp:webview', | |
19 'webview_test_support', | |
20 ], | |
21 'include_dirs': [ | |
22 '../../../..', | |
23 ], | |
24 'sources': [ | |
25 'run_all_unittests.cc', | |
26 'webview_unittest.cc', | |
msw
2014/04/18 19:57:57
Could this instead simply be part of views_unittes
Yuki
2014/04/22 09:09:02
Seeing webview.gyp:webview is separated from views
| |
27 ], | |
28 }, | |
29 { | |
11 'target_name': 'webview_test_support', | 30 'target_name': 'webview_test_support', |
12 'type': 'static_library', | 31 'type': 'static_library', |
13 'dependencies': [ | 32 'dependencies': [ |
14 '../../../../base/base.gyp:base', | 33 '../../../../base/base.gyp:base', |
15 '../../../../content/content.gyp:content', | 34 '../../../../content/content.gyp:content', |
16 '../../../../content/content_shell_and_tests.gyp:test_support_content', | 35 '../../../../content/content_shell_and_tests.gyp:test_support_content', |
17 '../../../../ipc/ipc.gyp:test_support_ipc', | 36 '../../../../ipc/ipc.gyp:test_support_ipc', |
18 '../../../../skia/skia.gyp:skia', | 37 '../../../../skia/skia.gyp:skia', |
19 '../../../../testing/gtest.gyp:gtest', | 38 '../../../../testing/gtest.gyp:gtest', |
20 '../../../aura/aura.gyp:aura', | 39 '../../../aura/aura.gyp:aura', |
21 '../../../base/ui_base.gyp:ui_base', | 40 '../../../base/ui_base.gyp:ui_base', |
22 '../../../events/events.gyp:events', | 41 '../../../events/events.gyp:events', |
23 '../../../gfx/gfx.gyp:gfx', | 42 '../../../gfx/gfx.gyp:gfx', |
24 '../../../gfx/gfx.gyp:gfx_geometry', | 43 '../../../gfx/gfx.gyp:gfx_geometry', |
25 '../../views.gyp:views', | 44 '../../views.gyp:views', |
26 '../../views.gyp:views_test_support', | 45 '../../views.gyp:views_test_support', |
27 'webview.gyp:webview', | 46 'webview.gyp:webview', |
28 ], | 47 ], |
29 'include_dirs': [ | 48 'include_dirs': [ |
30 '../../../..', | 49 '../../../..', |
31 ], | 50 ], |
32 'sources': [ | 51 'sources': [ |
33 '../../test/webview_test_helper.cc', | 52 '../../test/webview_test_helper.cc', |
34 '../../test/webview_test_helper.h', | 53 '../../test/webview_test_helper.h', |
35 ], | 54 ], |
36 }, | 55 }, |
37 ], | 56 ], |
38 } | 57 } |
OLD | NEW |