Commit 63e36e6b authored by tfarina's avatar tfarina Committed by Commit bot

ui: Move ui_unittests.gyp into ui/base.

ui_unittests.gyp -> ui_base_tests.gyp (follow gfx_tests.gyp pattern).
ui_unittests_bundle.gypi -> ui/base/ui_base_tests_bundle.gypi
ui_unittests.isolate -> ui_base_tests.isolate

Add a TODO assigned to me to rename ui_unittests target to
ui_base_unittests when buildbot is updated.

BUG=331829,373148,299841,103304
TEST=ui_unittests
R=sky@chromium.org

Review URL: https://codereview.chromium.org/506483002

Cr-Commit-Position: refs/heads/master@{#292146}
parent 8bbc59b5
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
['OS=="ios"', { ['OS=="ios"', {
'dependencies': [ 'dependencies': [
'../ios/ios.gyp:*', '../ios/ios.gyp:*',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
], ],
}], }],
['OS=="android"', { ['OS=="android"', {
...@@ -269,9 +269,9 @@ ...@@ -269,9 +269,9 @@
'../net/net.gyp:net_unittests', '../net/net.gyp:net_unittests',
'../sql/sql.gyp:sql_unittests', '../sql/sql.gyp:sql_unittests',
'../sync/sync.gyp:sync_unit_tests', '../sync/sync.gyp:sync_unit_tests',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/display/display.gyp:display_unittests', '../ui/display/display.gyp:display_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
'conditions': [ 'conditions': [
...@@ -769,8 +769,8 @@ ...@@ -769,8 +769,8 @@
'../tools/android/android_tools.gyp:android_tools', '../tools/android/android_tools.gyp:android_tools',
'../tools/android/android_tools.gyp:memconsumer', '../tools/android/android_tools.gyp:memconsumer',
'../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test', '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/events/events.gyp:events_unittests', '../ui/events/events.gyp:events_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
# Unit test bundles packaged as an apk. # Unit test bundles packaged as an apk.
'../android_webview/android_webview.gyp:android_webview_test_apk', '../android_webview/android_webview.gyp:android_webview_test_apk',
'../android_webview/android_webview.gyp:android_webview_unittests_apk', '../android_webview/android_webview.gyp:android_webview_unittests_apk',
...@@ -794,9 +794,9 @@ ...@@ -794,9 +794,9 @@
'../sql/sql.gyp:sql_unittests_apk', '../sql/sql.gyp:sql_unittests_apk',
'../sync/sync.gyp:sync_unit_tests_apk', '../sync/sync.gyp:sync_unit_tests_apk',
'../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk', '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
'../ui/base/ui_base_tests.gyp:ui_unittests_apk',
'../ui/events/events.gyp:events_unittests_apk', '../ui/events/events.gyp:events_unittests_apk',
'../ui/gfx/gfx_tests.gyp:gfx_unittests_apk', '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
'../ui/ui_unittests.gyp:ui_unittests_apk',
], ],
}, },
{ {
...@@ -878,8 +878,8 @@ ...@@ -878,8 +878,8 @@
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*', '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
'../tools/telemetry/telemetry.gyp:*', '../tools/telemetry/telemetry.gyp:*',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
}, },
...@@ -915,8 +915,8 @@ ...@@ -915,8 +915,8 @@
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*', '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
'../tools/telemetry/telemetry.gyp:*', '../tools/telemetry/telemetry.gyp:*',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
}, },
...@@ -963,8 +963,8 @@ ...@@ -963,8 +963,8 @@
'../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests', '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
'../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests', '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
}, },
...@@ -1014,9 +1014,9 @@ ...@@ -1014,9 +1014,9 @@
'../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
'../tools/perf/clear_system_cache/clear_system_cache.gyp:*', '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
'../tools/telemetry/telemetry.gyp:*', '../tools/telemetry/telemetry.gyp:*',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/events/events.gyp:events_unittests', '../ui/events/events.gyp:events_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../ui/views/views.gyp:views_unittests', '../ui/views/views.gyp:views_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
...@@ -1156,8 +1156,8 @@ ...@@ -1156,8 +1156,8 @@
'../sql/sql.gyp:sql_unittests', '../sql/sql.gyp:sql_unittests',
'../sync/sync.gyp:sync_unit_tests', '../sync/sync.gyp:sync_unit_tests',
'../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/gfx/gfx_tests.gyp:gfx_unittests', '../ui/gfx/gfx_tests.gyp:gfx_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../ui/views/views.gyp:views_unittests', '../ui/views/views.gyp:views_unittests',
'../url/url.gyp:url_unittests', '../url/url.gyp:url_unittests',
], ],
...@@ -1200,6 +1200,7 @@ ...@@ -1200,6 +1200,7 @@
'../remoting/remoting.gyp:remoting_unittests', '../remoting/remoting.gyp:remoting_unittests',
'../ui/app_list/app_list.gyp:*', '../ui/app_list/app_list.gyp:*',
'../ui/aura/aura.gyp:*', '../ui/aura/aura.gyp:*',
'../ui/base/ui_base_tests.gyp:ui_unittests',
'../ui/compositor/compositor.gyp:*', '../ui/compositor/compositor.gyp:*',
'../ui/display/display.gyp:display_unittests', '../ui/display/display.gyp:display_unittests',
'../ui/events/events.gyp:*', '../ui/events/events.gyp:*',
...@@ -1207,7 +1208,6 @@ ...@@ -1207,7 +1208,6 @@
'../ui/keyboard/keyboard.gyp:*', '../ui/keyboard/keyboard.gyp:*',
'../ui/message_center/message_center.gyp:*', '../ui/message_center/message_center.gyp:*',
'../ui/snapshot/snapshot.gyp:snapshot_unittests', '../ui/snapshot/snapshot.gyp:snapshot_unittests',
'../ui/ui_unittests.gyp:ui_unittests',
'../ui/views/examples/examples.gyp:views_examples_with_content_exe', '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
'../ui/views/views.gyp:views', '../ui/views/views.gyp:views',
'../ui/views/views.gyp:views_unittests', '../ui/views/views.gyp:views_unittests',
......
...@@ -40,7 +40,7 @@ _ISOLATE_FILE_PATHS = { ...@@ -40,7 +40,7 @@ _ISOLATE_FILE_PATHS = {
'media_unittests': 'media/media_unittests.isolate', 'media_unittests': 'media/media_unittests.isolate',
'net_unittests': 'net/net_unittests.isolate', 'net_unittests': 'net/net_unittests.isolate',
'sql_unittests': 'sql/sql_unittests.isolate', 'sql_unittests': 'sql/sql_unittests.isolate',
'ui_unittests': 'ui/ui_unittests.isolate', 'ui_unittests': 'ui/base/ui_base_tests.isolate',
'unit_tests': 'chrome/unit_tests.isolate', 'unit_tests': 'chrome/unit_tests.isolate',
'webkit_unit_tests': 'webkit_unit_tests':
'third_party/WebKit/Source/web/WebKitUnitTests.isolate', 'third_party/WebKit/Source/web/WebKitUnitTests.isolate',
......
...@@ -443,7 +443,7 @@ ...@@ -443,7 +443,7 @@
'../content/content_shell_and_tests.gyp:content_shell', '../content/content_shell_and_tests.gyp:content_shell',
'../content/content_shell_and_tests.gyp:content_unittests', '../content/content_shell_and_tests.gyp:content_unittests',
'../net/net.gyp:net_unittests', '../net/net.gyp:net_unittests',
'../ui/ui_unittests.gyp:ui_unittests', '../ui/base/ui_base_tests.gyp:ui_unittests',
], ],
}, },
{ {
......
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
['OS=="android"', { ['OS=="android"', {
'variables': { 'variables': {
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'base/test/data/data_pack_unittest/truncated-header.pak', 'test/data/data_pack_unittest/truncated-header.pak',
'<(PRODUCT_DIR)/locales/en-US.pak', '<(PRODUCT_DIR)/locales/en-US.pak',
], ],
}, },
}], }],
], ],
'includes': [ 'includes': [
'../third_party/icu/icu.isolate', '../../third_party/icu/icu.isolate',
], ],
} }
...@@ -20,15 +20,15 @@ ...@@ -20,15 +20,15 @@
'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Versions/1.0.0.0', 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Versions/1.0.0.0',
'LD_DYLIB_INSTALL_NAME': 'LD_DYLIB_INSTALL_NAME':
'$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NAME)', '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NAME)',
'INFOPLIST_FILE': 'base/test/framework-Info.plist', 'INFOPLIST_FILE': 'test/framework-Info.plist',
}, },
'mac_bundle_resources': [ 'mac_bundle_resources': [
'base/test/framework-Info.plist', 'test/framework-Info.plist',
'<(PRODUCT_DIR)/ui_test.pak', '<(PRODUCT_DIR)/ui_test.pak',
'<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
], ],
'mac_bundle_resources!': [ 'mac_bundle_resources!': [
'base/test/framework-Info.plist', 'test/framework-Info.plist',
], ],
'postbuilds': [ 'postbuilds': [
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment