| 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 | 10 |
| (...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1508 deps += [ "//ui/events/devices" ] | 1508 deps += [ "//ui/events/devices" ] |
| 1509 data_deps += [ "//tools/xdisplaycheck" ] | 1509 data_deps += [ "//tools/xdisplaycheck" ] |
| 1510 } else { | 1510 } else { |
| 1511 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] | 1511 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] |
| 1512 } | 1512 } |
| 1513 if (cld_version == 0 || cld_version == 2) { | 1513 if (cld_version == 0 || cld_version == 2) { |
| 1514 # Unit tests should be independent of the CLD2 access mechanism, just use | 1514 # Unit tests should be independent of the CLD2 access mechanism, just use |
| 1515 # static for simplicity. | 1515 # static for simplicity. |
| 1516 deps += [ "//third_party/cld_2:cld2_static" ] | 1516 deps += [ "//third_party/cld_2:cld2_static" ] |
| 1517 } | 1517 } |
| 1518 if (is_desktop_linux && cpu_arch == "x64") { | 1518 if (is_desktop_linux && current_cpu == "x64") { |
| 1519 # Only add this test for 64 bit builds because otherwise we need the 32 | 1519 # Only add this test for 64 bit builds because otherwise we need the 32 |
| 1520 # bit library on 64 bit systems when running this test. | 1520 # bit library on 64 bit systems when running this test. |
| 1521 sources += | 1521 sources += |
| 1522 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] | 1522 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] |
| 1523 configs += [ | 1523 configs += [ |
| 1524 "//chrome/browser:gnome_keyring", | 1524 "//chrome/browser:gnome_keyring", |
| 1525 "//chrome/browser:gnome_keyring_direct", | 1525 "//chrome/browser:gnome_keyring_direct", |
| 1526 ] | 1526 ] |
| 1527 } | 1527 } |
| 1528 if (is_linux && !is_chromeos) { | 1528 if (is_linux && !is_chromeos) { |
| 1529 sources += | 1529 sources += |
| 1530 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] | 1530 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] |
| 1531 } | 1531 } |
| 1532 if (is_linux && use_aura) { | 1532 if (is_linux && use_aura) { |
| 1533 deps += [ | 1533 deps += [ |
| 1534 "//dbus", | 1534 "//dbus", |
| 1535 "//dbus:test_support", | 1535 "//dbus:test_support", |
| 1536 "//ui/aura:test_support", | 1536 "//ui/aura:test_support", |
| 1537 ] | 1537 ] |
| 1538 } | 1538 } |
| 1539 if (is_linux && is_chrome_branded && cpu_arch == "x86") { | 1539 if (is_linux && is_chrome_branded && current_cpu == "x86") { |
| 1540 ldflags = [ "-Wl,--strip-debug" ] | 1540 ldflags = [ "-Wl,--strip-debug" ] |
| 1541 } | 1541 } |
| 1542 if (is_mac) { | 1542 if (is_mac) { |
| 1543 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources, | 1543 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources, |
| 1544 ".", | 1544 ".", |
| 1545 "//chrome") | 1545 "//chrome") |
| 1546 sources -= [ | 1546 sources -= [ |
| 1547 "../browser/ui/tests/ui_gfx_image_unittest.cc", | 1547 "../browser/ui/tests/ui_gfx_image_unittest.cc", |
| 1548 "../tools/convert_dict/convert_dict_unittest.cc", | 1548 "../tools/convert_dict/convert_dict_unittest.cc", |
| 1549 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", | 1549 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1670 } | 1670 } |
| 1671 if (use_ozone) { | 1671 if (use_ozone) { |
| 1672 # crbug.com/354036 | 1672 # crbug.com/354036 |
| 1673 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] | 1673 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] |
| 1674 } | 1674 } |
| 1675 if (!enable_plugin_installation) { | 1675 if (!enable_plugin_installation) { |
| 1676 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1676 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
| 1677 } | 1677 } |
| 1678 } | 1678 } |
| 1679 } | 1679 } |
| OLD | NEW |