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',
], ],
}, },
{ {
......
...@@ -8,78 +8,84 @@ ...@@ -8,78 +8,84 @@
}, },
'targets': [ 'targets': [
{ {
# TODO(tfarina): Rename this target to ui_base_unittests.
# In order to do this we will need to keep this target, add a dummy
# ui_base_unittests target that just points to ui_unittests, change
# buildbot code to reference the new 'ui_base_unittests' target.
# After buildbot is updated, we can make the changes in Chromium and
# remove 'ui_unittests' target. crbug.com/331829
'target_name': 'ui_unittests', 'target_name': 'ui_unittests',
'type': '<(gtest_target_type)', 'type': '<(gtest_target_type)',
'dependencies': [ 'dependencies': [
'../base/base.gyp:base', '../../base/base.gyp:base',
'../base/base.gyp:test_support_base', '../../base/base.gyp:test_support_base',
'../net/net.gyp:net', '../../net/net.gyp:net',
'../skia/skia.gyp:skia', '../../skia/skia.gyp:skia',
'../testing/gmock.gyp:gmock', '../../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest', '../../testing/gtest.gyp:gtest',
'../third_party/icu/icu.gyp:icui18n', '../../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc', '../../third_party/icu/icu.gyp:icuuc',
'../url/url.gyp:url_lib', '../../url/url.gyp:url_lib',
'base/ui_base.gyp:ui_base', '../events/events.gyp:events_base',
'base/ui_base.gyp:ui_base_test_support', '../gfx/gfx.gyp:gfx_test_support',
'events/events.gyp:events_base', '../resources/ui_resources.gyp:ui_resources',
'gfx/gfx.gyp:gfx_test_support', '../resources/ui_resources.gyp:ui_test_pak',
'resources/ui_resources.gyp:ui_resources', '../strings/ui_strings.gyp:ui_strings',
'resources/ui_resources.gyp:ui_test_pak', 'ui_base.gyp:ui_base',
'strings/ui_strings.gyp:ui_strings', 'ui_base.gyp:ui_base_test_support',
], ],
# iOS uses a small subset of ui. common_sources are the only files that # iOS uses a small subset of ui. common_sources are the only files that
# are built on iOS. # are built on iOS.
'common_sources' : [ 'common_sources' : [
# Note: file list duplicated in GN build. # Note: file list duplicated in GN build.
'base/layout_unittest.cc', 'layout_unittest.cc',
'base/l10n/l10n_util_mac_unittest.mm', 'l10n/l10n_util_mac_unittest.mm',
'base/l10n/l10n_util_unittest.cc', 'l10n/l10n_util_unittest.cc',
'base/l10n/l10n_util_win_unittest.cc', 'l10n/l10n_util_win_unittest.cc',
'base/l10n/time_format_unittest.cc', 'l10n/time_format_unittest.cc',
'base/models/tree_node_iterator_unittest.cc', 'models/tree_node_iterator_unittest.cc',
'base/resource/data_pack_literal.cc', 'resource/data_pack_literal.cc',
'base/resource/data_pack_unittest.cc', 'resource/data_pack_unittest.cc',
'base/resource/resource_bundle_unittest.cc', 'resource/resource_bundle_unittest.cc',
'base/test/run_all_unittests.cc', 'test/run_all_unittests.cc',
], ],
'all_sources': [ 'all_sources': [
# Note: file list duplicated in GN build. # Note: file list duplicated in GN build.
'<@(_common_sources)', '<@(_common_sources)',
'base/accelerators/accelerator_manager_unittest.cc', 'accelerators/accelerator_manager_unittest.cc',
'base/accelerators/menu_label_accelerator_util_linux_unittest.cc', 'accelerators/menu_label_accelerator_util_linux_unittest.cc',
'base/clipboard/custom_data_helper_unittest.cc', 'clipboard/custom_data_helper_unittest.cc',
'base/cocoa/base_view_unittest.mm', 'cocoa/base_view_unittest.mm',
'base/cocoa/cocoa_base_utils_unittest.mm', 'cocoa/cocoa_base_utils_unittest.mm',
'base/cocoa/controls/blue_label_button_unittest.mm', 'cocoa/controls/blue_label_button_unittest.mm',
'base/cocoa/controls/hover_image_menu_button_unittest.mm', 'cocoa/controls/hover_image_menu_button_unittest.mm',
'base/cocoa/controls/hyperlink_button_cell_unittest.mm', 'cocoa/controls/hyperlink_button_cell_unittest.mm',
'base/cocoa/focus_tracker_unittest.mm', 'cocoa/focus_tracker_unittest.mm',
'base/cocoa/fullscreen_window_manager_unittest.mm', 'cocoa/fullscreen_window_manager_unittest.mm',
'base/cocoa/hover_image_button_unittest.mm', 'cocoa/hover_image_button_unittest.mm',
'base/cocoa/menu_controller_unittest.mm', 'cocoa/menu_controller_unittest.mm',
'base/cocoa/nsgraphics_context_additions_unittest.mm', 'cocoa/nsgraphics_context_additions_unittest.mm',
'base/cocoa/tracking_area_unittest.mm', 'cocoa/tracking_area_unittest.mm',
'base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc', 'dragdrop/os_exchange_data_provider_aurax11_unittest.cc',
'base/ime/candidate_window_unittest.cc', 'ime/candidate_window_unittest.cc',
'base/ime/chromeos/character_composer_unittest.cc', 'ime/chromeos/character_composer_unittest.cc',
'base/ime/composition_text_util_pango_unittest.cc', 'ime/composition_text_util_pango_unittest.cc',
'base/ime/input_method_base_unittest.cc', 'ime/input_method_base_unittest.cc',
'base/ime/input_method_chromeos_unittest.cc', 'ime/input_method_chromeos_unittest.cc',
'base/ime/remote_input_method_win_unittest.cc', 'ime/remote_input_method_win_unittest.cc',
'base/ime/win/imm32_manager_unittest.cc', 'ime/win/imm32_manager_unittest.cc',
'base/ime/win/tsf_input_scope_unittest.cc', 'ime/win/tsf_input_scope_unittest.cc',
'base/models/list_model_unittest.cc', 'models/list_model_unittest.cc',
'base/models/list_selection_model_unittest.cc', 'models/list_selection_model_unittest.cc',
'base/models/tree_node_model_unittest.cc', 'models/tree_node_model_unittest.cc',
'base/test/data/resource.h', 'test/data/resource.h',
'base/text/bytes_formatting_unittest.cc', 'text/bytes_formatting_unittest.cc',
'base/view_prop_unittest.cc', 'view_prop_unittest.cc',
'base/webui/web_ui_util_unittest.cc', 'webui/web_ui_util_unittest.cc',
'base/x/selection_requestor_unittest.cc', 'x/selection_requestor_unittest.cc',
], ],
'include_dirs': [ 'include_dirs': [
'../', '../..',
], ],
'conditions': [ 'conditions': [
['OS!="ios"', { ['OS!="ios"', {
...@@ -99,19 +105,19 @@ ...@@ -99,19 +105,19 @@
'action_name': 'copy_test_data', 'action_name': 'copy_test_data',
'variables': { 'variables': {
'test_data_files': [ 'test_data_files': [
'base/test/data', 'test/data',
], ],
'test_data_prefix' : 'ui', 'test_data_prefix' : 'base',
}, },
'includes': [ '../build/copy_test_data_ios.gypi' ], 'includes': [ '../../build/copy_test_data_ios.gypi' ],
}, },
], ],
}], }],
['OS == "win"', { ['OS == "win"', {
'sources': [ 'sources': [
'base/dragdrop/os_exchange_data_win_unittest.cc', 'dragdrop/os_exchange_data_win_unittest.cc',
'base/win/hwnd_subclass_unittest.cc', 'win/hwnd_subclass_unittest.cc',
'base/win/open_file_name_win_unittest.cc', 'win/open_file_name_win_unittest.cc',
], ],
'msvs_settings': { 'msvs_settings': {
'VCLinkerTool': { 'VCLinkerTool': {
...@@ -136,44 +142,44 @@ ...@@ -136,44 +142,44 @@
}], }],
['OS == "android"', { ['OS == "android"', {
'dependencies': [ 'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code', '../../testing/android/native_test.gyp:native_test_native_code',
], ],
}], }],
['use_pango == 1', { ['use_pango == 1', {
'dependencies': [ 'dependencies': [
'../build/linux/system.gyp:pangocairo', '../../build/linux/system.gyp:pangocairo',
], ],
'conditions': [ 'conditions': [
['use_allocator!="none"', { ['use_allocator!="none"', {
'dependencies': [ 'dependencies': [
'../base/allocator/allocator.gyp:allocator', '../../base/allocator/allocator.gyp:allocator',
], ],
}], }],
], ],
}], }],
['use_x11==1', { ['use_x11==1', {
'dependencies': [ 'dependencies': [
'../build/linux/system.gyp:x11', '../../build/linux/system.gyp:x11',
'../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
'events/platform/x11/x11_events_platform.gyp:x11_events_platform', '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
'gfx/x/gfx_x11.gyp:gfx_x11', '../gfx/x/gfx_x11.gyp:gfx_x11',
], ],
}], }],
['OS!="win" or use_aura==0', { ['OS!="win" or use_aura==0', {
'sources!': [ 'sources!': [
'base/view_prop_unittest.cc', 'view_prop_unittest.cc',
], ],
}], }],
['use_x11==1 and use_aura==1', { ['use_x11==1 and use_aura==1', {
'sources': [ 'sources': [
'base/cursor/cursor_loader_x11_unittest.cc', 'cursor/cursor_loader_x11_unittest.cc',
], ],
}], }],
['OS=="mac"', { ['OS=="mac"', {
'dependencies': [ 'dependencies': [
'../third_party/mozilla/mozilla.gyp:mozilla', '../../third_party/mozilla/mozilla.gyp:mozilla',
'events/events.gyp:events_test_support', '../events/events.gyp:events_test_support',
'ui_unittests_bundle', 'ui_base_tests_bundle',
], ],
'conditions': [ 'conditions': [
['component=="static_library"', { ['component=="static_library"', {
...@@ -184,35 +190,35 @@ ...@@ -184,35 +190,35 @@
}], }],
['use_aura==1 or toolkit_views==1', { ['use_aura==1 or toolkit_views==1', {
'sources': [ 'sources': [
'base/dragdrop/os_exchange_data_unittest.cc', 'dragdrop/os_exchange_data_unittest.cc',
], ],
'dependencies': [ 'dependencies': [
'events/events.gyp:events', '../events/events.gyp:events',
'events/events.gyp:events_base', '../events/events.gyp:events_base',
'events/events.gyp:events_test_support', '../events/events.gyp:events_test_support',
'events/platform/events_platform.gyp:events_platform', '../events/platform/events_platform.gyp:events_platform',
], ],
}], }],
['chromeos==1', { ['chromeos==1', {
'dependencies': [ 'dependencies': [
'../chromeos/chromeos.gyp:chromeos', '../../chromeos/chromeos.gyp:chromeos',
'aura/aura.gyp:aura_test_support', '../aura/aura.gyp:aura_test_support',
'chromeos/ui_chromeos.gyp:ui_chromeos', '../chromeos/ui_chromeos.gyp:ui_chromeos',
'events/events.gyp:gesture_detection', '../events/events.gyp:gesture_detection',
], ],
'sources': [ 'sources': [
'chromeos/touch_exploration_controller_unittest.cc' '../chromeos/touch_exploration_controller_unittest.cc'
], ],
'sources!': [ 'sources!': [
'base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc', 'dragdrop/os_exchange_data_provider_aurax11_unittest.cc',
'base/x/selection_requestor_unittest.cc', 'x/selection_requestor_unittest.cc',
], ],
}], }],
['use_x11==0', { ['use_x11==0', {
'sources!': [ 'sources!': [
'base/ime/chromeos/character_composer_unittest.cc', 'ime/chromeos/character_composer_unittest.cc',
'base/ime/input_method_chromeos_unittest.cc', 'ime/input_method_chromeos_unittest.cc',
'base/ime/composition_text_util_pango_unittest.cc', 'ime/composition_text_util_pango_unittest.cc',
], ],
}], }],
], ],
...@@ -221,7 +227,7 @@ ...@@ -221,7 +227,7 @@
'sources/': [ 'sources/': [
# Pull in specific Mac files for iOS (which have been filtered out # Pull in specific Mac files for iOS (which have been filtered out
# by file name rules). # by file name rules).
['include', '^base/l10n/l10n_util_mac_unittest\\.mm$'], ['include', '^l10n/l10n_util_mac_unittest\\.mm$'],
], ],
}], }],
], ],
...@@ -232,12 +238,12 @@ ...@@ -232,12 +238,12 @@
['OS == "mac"', { ['OS == "mac"', {
'targets': [ 'targets': [
{ {
'target_name': 'ui_unittests_bundle', 'target_name': 'ui_base_tests_bundle',
'type': 'shared_library', 'type': 'shared_library',
'dependencies': [ 'dependencies': [
'resources/ui_resources.gyp:ui_test_pak', '../resources/ui_resources.gyp:ui_test_pak',
], ],
'includes': [ 'ui_unittests_bundle.gypi' ], 'includes': [ 'ui_base_tests_bundle.gypi' ],
}, },
], ],
}], }],
...@@ -252,7 +258,7 @@ ...@@ -252,7 +258,7 @@
'variables': { 'variables': {
'test_suite_name': 'ui_unittests', 'test_suite_name': 'ui_unittests',
}, },
'includes': [ '../build/apk_test.gypi' ], 'includes': [ '../../build/apk_test.gypi' ],
}, },
], ],
}], }],
......
...@@ -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