Reland "Move a good set of gfx unit tests into gfx_unittests target."
It was reverted in r270600 because it broke compilation: lib/libgfx.so:error: undefined reference to 'XCreateRegion' lib/libgfx.so:error: undefined reference to 'XUnionRectWithRegion' lib/libgfx.so:error: undefined reference to 'XPolygonRegion' Original description: This requires to major changes: 1- It requires the introduction of GfxTestSuite to allow us to initialize the ResourceBundle which is required for some of these tests to pass. 2- It requires to split gfx_unittests target out of gfx.gyp, into gfx_tests.gyp. This is necessary because otherwise a circular dependency between ui_base.gyp and gfx.gyp would arise. The circular dependency is the form of: gfx.gyp -> ui_base.gyp -> gfx.gyp And is created because gfx_unittests now requires ResourceBundle to link which is in ui_base target. BUG=331829 TEST=ui_unittests,gfx_unittests R=sadrul@chromium.org, danakj@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/291753002 git-svn-id: http://src.chromium.org/svn/trunk/src/build@272088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
b38b0db5d6
Коммит
cb9a15cdfd
20
all.gyp
20
all.gyp
|
@ -38,7 +38,7 @@
|
|||
['OS=="ios"', {
|
||||
'dependencies': [
|
||||
'../ios/ios.gyp:*',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
],
|
||||
}],
|
||||
|
@ -256,7 +256,7 @@
|
|||
'../net/net.gyp:net_unittests',
|
||||
'../sql/sql.gyp:sql_unittests',
|
||||
'../sync/sync.gyp:sync_unit_tests',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
],
|
||||
|
@ -771,7 +771,7 @@
|
|||
'../sql/sql.gyp:sql_unittests_apk',
|
||||
'../sync/sync.gyp:sync_unit_tests_apk',
|
||||
'../ui/events/events.gyp:events_unittests_apk',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests_apk',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
|
||||
'../ui/ui_unittests.gyp:ui_unittests_apk',
|
||||
'../android_webview/android_webview.gyp:android_webview_test_apk',
|
||||
'../chrome/chrome.gyp:chrome_shell_test_apk',
|
||||
|
@ -871,7 +871,7 @@
|
|||
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
|
||||
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
|
||||
'../tools/telemetry/telemetry.gyp:*',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
'../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
|
||||
|
@ -906,7 +906,7 @@
|
|||
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
|
||||
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
|
||||
'../tools/telemetry/telemetry.gyp:*',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
'../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
|
||||
|
@ -954,7 +954,7 @@
|
|||
'../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
|
||||
'../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
|
||||
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
],
|
||||
|
@ -1005,7 +1005,7 @@
|
|||
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
|
||||
'../tools/telemetry/telemetry.gyp:*',
|
||||
'../ui/events/events.gyp:events_unittests',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../ui/views/views.gyp:views_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
|
@ -1109,7 +1109,7 @@
|
|||
'../sql/sql.gyp:sql_unittests',
|
||||
'../sync/sync.gyp:sync_unit_tests',
|
||||
'../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/ui_unittests.gyp:ui_unittests',
|
||||
'../ui/views/views.gyp:views_unittests',
|
||||
'../url/url.gyp:url_unittests',
|
||||
|
@ -1154,8 +1154,7 @@
|
|||
'../ui/aura/aura.gyp:*',
|
||||
'../ui/compositor/compositor.gyp:*',
|
||||
'../ui/events/events.gyp:*',
|
||||
'../ui/wm/wm.gyp:*',
|
||||
'../ui/gfx/gfx.gyp:gfx_unittests',
|
||||
'../ui/gfx/gfx_tests.gyp:gfx_unittests',
|
||||
'../ui/keyboard/keyboard.gyp:*',
|
||||
'../ui/message_center/message_center.gyp:*',
|
||||
'../ui/snapshot/snapshot.gyp:snapshot_unittests',
|
||||
|
@ -1163,6 +1162,7 @@
|
|||
'../ui/views/examples/examples.gyp:views_examples_with_content_exe',
|
||||
'../ui/views/views.gyp:views',
|
||||
'../ui/views/views.gyp:views_unittests',
|
||||
'../ui/wm/wm.gyp:*',
|
||||
'../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
|
||||
'blink_tests',
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче