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

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

Issue 1212163011: Componentize chrome/browser/rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation with gn Created 5 years, 5 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/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("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 } 1614 }
1615 if (is_win || is_mac) { 1615 if (is_win || is_mac) {
1616 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_mac_sources, 1616 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_mac_sources,
1617 ".", 1617 ".",
1618 "//chrome") 1618 "//chrome")
1619 } 1619 }
1620 if (is_win || is_mac || is_chromeos) { 1620 if (is_win || is_mac || is_chromeos) {
1621 sources += [ "../common/extensions/api/networking_private/networking_priva te_crypto_unittest.cc" ] 1621 sources += [ "../common/extensions/api/networking_private/networking_priva te_crypto_unittest.cc" ]
1622 } 1622 }
1623 if (enable_rlz) { 1623 if (enable_rlz) {
1624 deps += [ "//rlz:test_support" ] 1624 deps += [
1625 "//components/rlz",
1626 "//rlz:test_support",
1627 ]
1625 } else { 1628 } else {
1626 sources -= [ "../browser/rlz/rlz_unittest.cc" ] 1629 sources -= [ "../browser/rlz/chrome_rlz_tracker_delegate_unittest.cc" ]
1627 } 1630 }
1628 if (is_win) { 1631 if (is_win) {
1629 if (!is_component_build) { 1632 if (!is_component_build) {
1630 # Unit_tests pdb files can get too big when incremental linking is 1633 # Unit_tests pdb files can get too big when incremental linking is
1631 # on, disabling for this target. 1634 # on, disabling for this target.
1632 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) 1635 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP)
1633 } 1636 }
1634 1637
1635 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources, 1638 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources,
1636 ".", 1639 ".",
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 "//third_party/mojo/src/mojo/edk/system", 1831 "//third_party/mojo/src/mojo/edk/system",
1829 ] 1832 ]
1830 1833
1831 if (!is_android && use_ash) { 1834 if (!is_android && use_ash) {
1832 sources += 1835 sources +=
1833 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources, 1836 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources,
1834 ".", 1837 ".",
1835 "//chrome") 1838 "//chrome")
1836 } 1839 }
1837 } 1840 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698