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

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

Issue 1339963002: Omit save_password_infobar.cc from the build when unused (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn changes Created 5 years, 3 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//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 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 deps += [ 1778 deps += [
1779 "//third_party/google_toolbox_for_mac", 1779 "//third_party/google_toolbox_for_mac",
1780 "//third_party/ocmock", 1780 "//third_party/ocmock",
1781 ] 1781 ]
1782 1782
1783 # TODO(mark): We really want this for all non-static library targets, 1783 # TODO(mark): We really want this for all non-static library targets,
1784 # but when we tried to pull it up to the common.gypi level, it broke 1784 # but when we tried to pull it up to the common.gypi level, it broke
1785 # other things like the ui and startup tests. *shrug* 1785 # other things like the ui and startup tests. *shrug*
1786 ldflags = [ "-Wl,-ObjC" ] 1786 ldflags = [ "-Wl,-ObjC" ]
1787 } 1787 }
1788 if (is_mac || is_android) {
1789 sources += rebase_path(
1790 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_source s,
1791 ".",
1792 "//chrome")
1793 }
1788 if (!is_mac && !is_ios) { 1794 if (!is_mac && !is_ios) {
1789 deps += [ 1795 deps += [
1790 "//chrome/tools/convert_dict:lib", 1796 "//chrome/tools/convert_dict:lib",
1791 "//chrome:packed_extra_resources", 1797 "//chrome:packed_extra_resources",
1792 "//chrome:packed_resources", 1798 "//chrome:packed_resources",
1793 "//third_party/hunspell", 1799 "//third_party/hunspell",
1794 ] 1800 ]
1795 } 1801 }
1796 if (is_win || is_mac) { 1802 if (is_win || is_mac) {
1797 sources += rebase_path( 1803 sources += rebase_path(
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2007 "//third_party/mojo/src/mojo/edk/system", 2013 "//third_party/mojo/src/mojo/edk/system",
2008 ] 2014 ]
2009 2015
2010 if (!is_android && use_ash) { 2016 if (!is_android && use_ash) {
2011 sources += rebase_path( 2017 sources += rebase_path(
2012 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, 2018 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources,
2013 ".", 2019 ".",
2014 "//chrome") 2020 "//chrome")
2015 } 2021 }
2016 } 2022 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698