Commit a7d88010 authored by thestig's avatar thestig Committed by Commit bot

Cleanup: Combine some identical conditionals in chrome gyp targets.

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

Cr-Commit-Position: refs/heads/master@{#292125}
parent 90dac52b
......@@ -377,6 +377,9 @@
],
}],
['enable_printing!=0', {
'dependencies': [
'../printing/printing.gyp:printing',
],
'sources': [
'<@(chrome_renderer_printing_sources)',
]
......@@ -421,11 +424,6 @@
'<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
],
}],
['enable_printing!=0', {
'dependencies': [
'../printing/printing.gyp:printing',
],
}],
],
},
],
......
......@@ -2182,15 +2182,6 @@
['exclude', '^browser/task_manager/'],
],
}],
['chromeos==0', {
'sources!': [
# TODO(zturner): Enable this on Windows. See
# BrowserWithTestWindowTest::SetUp() for a comment explaining why
# this is broken.
'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
'browser/ui/views/select_file_dialog_extension_unittest.cc',
],
}],
['enable_mdns==1', {
'sources': [
'browser/local_discovery/privet_device_lister_unittest.cc',
......@@ -2282,6 +2273,9 @@
'sources/': [
['exclude', '^browser/printing/'],
['exclude', '^browser/ui/webui/print_preview/'],
# No need for service process.
['exclude', '^browser/service/'],
['exclude', '^common/service_'],
['exclude', '^service/'],
],
'sources!': [
......@@ -2350,8 +2344,13 @@
],
'sources!': [
'browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc',
'browser/notifications/login_state_notification_blocker_chromeos_unittest.cc',
'browser/extensions/api/log_private/syslog_parser_unittest.cc',
'browser/notifications/login_state_notification_blocker_chromeos_unittest.cc',
# TODO(zturner): Enable this on Windows. See
# BrowserWithTestWindowTest::SetUp() for a comment explaining why
# this is broken.
'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
'browser/ui/views/select_file_dialog_extension_unittest.cc',
],
}],
['use_x11==1', {
......@@ -2408,6 +2407,10 @@
'../third_party/ocmock/ocmock.gyp:ocmock',
'chrome',
],
'sources': [
'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc',
'utility/media_galleries/iphoto_library_parser_unittest.cc',
],
'sources!': [
'browser/ui/tests/ui_gfx_image_unittest.cc',
'tools/convert_dict/convert_dict_unittest.cc',
......@@ -2442,12 +2445,6 @@
'utility/media_galleries/pmp_column_reader_unittest.cc',
],
}],
['OS=="mac"', {
'sources': [
'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc',
'utility/media_galleries/iphoto_library_parser_unittest.cc',
],
}],
['enable_rlz!=0', {
'dependencies': [
'../rlz/rlz.gyp:test_support_rlz',
......@@ -2635,6 +2632,7 @@
['exclude', '^browser/captive_portal/'],
['exclude', '^browser/diagnostics/'],
['exclude', '^browser/first_run/'],
['exclude', '^browser/importer/'],
['exclude', '^browser/lifetime/'],
['exclude', '^browser/media_galleries/'],
['exclude', '^browser/net/firefox_*'],
......@@ -2677,14 +2675,6 @@
'browser/download/download_dir_policy_handler_unittest.cc'
],
}],
['enable_printing!=1', {
'sources/': [
# No need for service process.
['exclude', '^browser/service/'],
['exclude', '^common/service_'],
['exclude', '^service/'],
],
}],
['enable_themes==0', {
'sources!': [
'browser/ui/webui/theme_source_unittest.cc',
......@@ -2711,12 +2701,6 @@
'common/net/x509_certificate_model_unittest.cc',
],
}],
['OS=="android"', {
'sources/': [
# Android doesn't build the importer.
['exclude', '^browser/importer/'],
],
}],
['enable_managed_users!=1', {
'sources/': [
['exclude', '^browser/supervised_user/'],
......
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