| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//chrome/test/base/js2gtest.gni") | 9 import("//chrome/test/base/js2gtest.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1532 ] | 1532 ] |
| 1533 } | 1533 } |
| 1534 if (is_win || is_mac) { | 1534 if (is_win || is_mac) { |
| 1535 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_mac_sources, | 1535 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_mac_sources, |
| 1536 ".", | 1536 ".", |
| 1537 "//chrome") | 1537 "//chrome") |
| 1538 } | 1538 } |
| 1539 if (is_win || is_mac || is_chromeos) { | 1539 if (is_win || is_mac || is_chromeos) { |
| 1540 sources += [ "../common/extensions/api/networking_private/networking_priva
te_crypto_unittest.cc" ] | 1540 sources += [ "../common/extensions/api/networking_private/networking_priva
te_crypto_unittest.cc" ] |
| 1541 } | 1541 } |
| 1542 if (enable_rlz_support) { | 1542 if (enable_rlz) { |
| 1543 sources += [ "../browser/rlz/chrome_rlz_tracker_delegate_unittest.cc" ] | 1543 deps += [ "//rlz:test_support" ] |
| 1544 deps += [ | 1544 } else { |
| 1545 "//chrome/browser:rlz", | 1545 sources -= [ "../browser/rlz/rlz_unittest.cc" ] |
| 1546 "//components/rlz", | |
| 1547 "//rlz:test_support", | |
| 1548 ] | |
| 1549 } | 1546 } |
| 1550 if (is_win) { | 1547 if (is_win) { |
| 1551 if (!is_component_build) { | 1548 if (!is_component_build) { |
| 1552 # Unit_tests pdb files can get too big when incremental linking is | 1549 # Unit_tests pdb files can get too big when incremental linking is |
| 1553 # on, disabling for this target. | 1550 # on, disabling for this target. |
| 1554 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) | 1551 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) |
| 1555 } | 1552 } |
| 1556 | 1553 |
| 1557 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources, | 1554 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources, |
| 1558 ".", | 1555 ".", |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1750 "//third_party/mojo/src/mojo/edk/system", | 1747 "//third_party/mojo/src/mojo/edk/system", |
| 1751 ] | 1748 ] |
| 1752 | 1749 |
| 1753 if (!is_android && use_ash) { | 1750 if (!is_android && use_ash) { |
| 1754 sources += | 1751 sources += |
| 1755 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources, | 1752 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 1756 ".", | 1753 ".", |
| 1757 "//chrome") | 1754 "//chrome") |
| 1758 } | 1755 } |
| 1759 } | 1756 } |
| OLD | NEW |