Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Side by Side Diff: chrome/test/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 deps += [ "//ui/events/devices" ] 1506 deps += [ "//ui/events/devices" ]
1507 data_deps += [ "//tools/xdisplaycheck" ] 1507 data_deps += [ "//tools/xdisplaycheck" ]
1508 } else { 1508 } else {
1509 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] 1509 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ]
1510 } 1510 }
1511 if (cld_version == 0 || cld_version == 2) { 1511 if (cld_version == 0 || cld_version == 2) {
1512 # Unit tests should be independent of the CLD2 access mechanism, just use 1512 # Unit tests should be independent of the CLD2 access mechanism, just use
1513 # static for simplicity. 1513 # static for simplicity.
1514 deps += [ "//third_party/cld_2:cld2_static" ] 1514 deps += [ "//third_party/cld_2:cld2_static" ]
1515 } 1515 }
1516 if (is_desktop_linux && cpu_arch == "x64") { 1516 if (is_desktop_linux && current_cpu == "x64") {
1517 # Only add this test for 64 bit builds because otherwise we need the 32 1517 # Only add this test for 64 bit builds because otherwise we need the 32
1518 # bit library on 64 bit systems when running this test. 1518 # bit library on 64 bit systems when running this test.
1519 sources += 1519 sources +=
1520 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] 1520 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ]
1521 configs += [ 1521 configs += [
1522 "//chrome/browser:gnome_keyring", 1522 "//chrome/browser:gnome_keyring",
1523 "//chrome/browser:gnome_keyring_direct", 1523 "//chrome/browser:gnome_keyring_direct",
1524 ] 1524 ]
1525 } 1525 }
1526 if (is_linux && !is_chromeos) { 1526 if (is_linux && !is_chromeos) {
1527 sources += 1527 sources +=
1528 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] 1528 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ]
1529 } 1529 }
1530 if (is_linux && use_aura) { 1530 if (is_linux && use_aura) {
1531 deps += [ 1531 deps += [
1532 "//dbus", 1532 "//dbus",
1533 "//dbus:test_support", 1533 "//dbus:test_support",
1534 "//ui/aura:test_support", 1534 "//ui/aura:test_support",
1535 ] 1535 ]
1536 } 1536 }
1537 if (is_linux && is_chrome_branded && cpu_arch == "x86") { 1537 if (is_linux && is_chrome_branded && current_cpu == "x86") {
1538 ldflags = [ "-Wl,--strip-debug" ] 1538 ldflags = [ "-Wl,--strip-debug" ]
1539 } 1539 }
1540 if (is_mac) { 1540 if (is_mac) {
1541 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources, 1541 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources,
1542 ".", 1542 ".",
1543 "//chrome") 1543 "//chrome")
1544 sources -= [ 1544 sources -= [
1545 "../browser/ui/tests/ui_gfx_image_unittest.cc", 1545 "../browser/ui/tests/ui_gfx_image_unittest.cc",
1546 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", 1546 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
1547 "../tools/convert_dict/convert_dict_unittest.cc", 1547 "../tools/convert_dict/convert_dict_unittest.cc",
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 } 1668 }
1669 if (use_ozone) { 1669 if (use_ozone) {
1670 # crbug.com/354036 1670 # crbug.com/354036
1671 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] 1671 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ]
1672 } 1672 }
1673 if (!enable_plugin_installation) { 1673 if (!enable_plugin_installation) {
1674 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] 1674 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ]
1675 } 1675 }
1676 } 1676 }
1677 } 1677 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome_elf/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698