| 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/chrome_tests.gni") | 9 import("//chrome/chrome_tests.gni") |
| 10 import("//chrome/test/base/js2gtest.gni") | 10 import("//chrome/test/base/js2gtest.gni") |
| (...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1543 } | 1543 } |
| 1544 if (is_win || is_mac) { | 1544 if (is_win || is_mac) { |
| 1545 sources += rebase_path( | 1545 sources += rebase_path( |
| 1546 chrome_tests_unit_gypi_values.chrome_unit_tests_win_mac_sources, | 1546 chrome_tests_unit_gypi_values.chrome_unit_tests_win_mac_sources, |
| 1547 ".", | 1547 ".", |
| 1548 "//chrome") | 1548 "//chrome") |
| 1549 } | 1549 } |
| 1550 if (is_win || is_mac || is_chromeos) { | 1550 if (is_win || is_mac || is_chromeos) { |
| 1551 sources += [ "../common/extensions/api/networking_private/networking_priva
te_crypto_unittest.cc" ] | 1551 sources += [ "../common/extensions/api/networking_private/networking_priva
te_crypto_unittest.cc" ] |
| 1552 } | 1552 } |
| 1553 if (enable_rlz) { | 1553 if (enable_rlz_support) { |
| 1554 deps += [ "//rlz:test_support" ] | 1554 sources += [ "../browser/rlz/chrome_rlz_tracker_delegate_unittest.cc" ] |
| 1555 } else { | 1555 deps += [ |
| 1556 sources -= [ "../browser/rlz/rlz_unittest.cc" ] | 1556 "//chrome/browser:rlz", |
| 1557 "//components/rlz", |
| 1558 "//rlz:test_support", |
| 1559 ] |
| 1557 } | 1560 } |
| 1558 if (is_win) { | 1561 if (is_win) { |
| 1559 if (!is_component_build) { | 1562 if (!is_component_build) { |
| 1560 # Unit_tests pdb files can get too big when incremental linking is | 1563 # Unit_tests pdb files can get too big when incremental linking is |
| 1561 # on, disabling for this target. | 1564 # on, disabling for this target. |
| 1562 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) | 1565 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) |
| 1563 } | 1566 } |
| 1564 | 1567 |
| 1565 sources += rebase_path( | 1568 sources += rebase_path( |
| 1566 chrome_tests_unit_gypi_values.chrome_unit_tests_win_sources, | 1569 chrome_tests_unit_gypi_values.chrome_unit_tests_win_sources, |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1760 "//third_party/mojo/src/mojo/edk/system", | 1763 "//third_party/mojo/src/mojo/edk/system", |
| 1761 ] | 1764 ] |
| 1762 | 1765 |
| 1763 if (!is_android && use_ash) { | 1766 if (!is_android && use_ash) { |
| 1764 sources += rebase_path( | 1767 sources += rebase_path( |
| 1765 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 1768 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 1766 ".", | 1769 ".", |
| 1767 "//chrome") | 1770 "//chrome") |
| 1768 } | 1771 } |
| 1769 } | 1772 } |
| OLD | NEW |