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

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

Issue 1412013008: Make unit_test compile on Android & GN part 1/2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chrome_tests_unit.gypi ('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/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 ] 1572 ]
1573 data_deps = [] 1573 data_deps = []
1574 1574
1575 # TODO(GYP) Windows stuff 1575 # TODO(GYP) Windows stuff
1576 # ['incremental_chrome_dll==1', { 1576 # ['incremental_chrome_dll==1', {
1577 # 'UseLibraryDependencyInputs': "true", 1577 # 'UseLibraryDependencyInputs': "true",
1578 1578
1579 if (!is_ios) { 1579 if (!is_ios) {
1580 deps += [ 1580 deps += [
1581 ":unit_tests_js", 1581 ":unit_tests_js",
1582 "//components/audio_modem:test_support",
1583 "//components/autofill/content/browser/wallet:test_support", 1582 "//components/autofill/content/browser/wallet:test_support",
1584 "//components/autofill/content/renderer:test_support", 1583 "//components/autofill/content/renderer:test_support",
1585 "//components/data_reduction_proxy/core/browser:test_support", 1584 "//components/data_reduction_proxy/core/browser:test_support",
1586 "//components/data_use_measurement/core", 1585 "//components/data_use_measurement/core",
1587 "//components/metrics/proto", 1586 "//components/metrics/proto",
1588 "//components/safe_browsing_db", 1587 "//components/safe_browsing_db",
1589 "//components/safe_json:test_support", 1588 "//components/safe_json:test_support",
1590 "//components/webdata_services:test_support", 1589 "//components/webdata_services:test_support",
1591 "//components/strings", 1590 "//components/strings",
1592 "//device/bluetooth:mocks", 1591 "//device/bluetooth:mocks",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 "//chrome") 1638 "//chrome")
1640 } 1639 }
1641 if (enable_spellcheck) { 1640 if (enable_spellcheck) {
1642 sources += rebase_path( 1641 sources += rebase_path(
1643 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sourc es, 1642 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sourc es,
1644 ".", 1643 ".",
1645 "//chrome") 1644 "//chrome")
1646 if (is_mac && !is_ios) { 1645 if (is_mac && !is_ios) {
1647 deps += [ "//third_party/hunspell" ] 1646 deps += [ "//third_party/hunspell" ]
1648 } 1647 }
1648
1649 if (is_android) {
1650 sources -= [
1651 "../common/spellcheck_common_unittest.cc",
1652 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc",
1653 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
1654 "../renderer/spellchecker/spellcheck_unittest.cc",
1655 ]
1656 }
1649 } 1657 }
1650 1658
1651 if (enable_one_click_signin) { 1659 if (enable_one_click_signin) {
1652 sources += [ 1660 sources += [
1653 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc", 1661 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc",
1654 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", 1662 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc",
1655 ] 1663 ]
1656 } 1664 }
1657 1665
1658 if (enable_extensions) { 1666 if (enable_extensions) {
1659 sources += rebase_path( 1667 sources += rebase_path(
1660 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_sources , 1668 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_sources ,
1661 ".", 1669 ".",
1662 "//chrome") 1670 "//chrome")
1663 deps += [ 1671 deps += [
1664 "//chrome/common/extensions/api", 1672 "//chrome/common/extensions/api",
1673 "//components/audio_modem:test_support",
1665 "//device/usb:mocks", 1674 "//device/usb:mocks",
1666 "//extensions:extensions_resources", 1675 "//extensions:extensions_resources",
1667 "//extensions/strings", 1676 "//extensions/strings",
1668 ] 1677 ]
1669 if (enable_configuration_policy) { 1678 if (enable_configuration_policy) {
1670 sources += rebase_path( 1679 sources += rebase_path(
1671 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_polic y_sources, 1680 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_polic y_sources,
1672 ".", 1681 ".",
1673 "//chrome") 1682 "//chrome")
1674 } 1683 }
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 "//third_party/mojo/src/mojo/edk/system", 2177 "//third_party/mojo/src/mojo/edk/system",
2169 ] 2178 ]
2170 2179
2171 if (!is_android && use_ash) { 2180 if (!is_android && use_ash) {
2172 sources += rebase_path( 2181 sources += rebase_path(
2173 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, 2182 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources,
2174 ".", 2183 ".",
2175 "//chrome") 2184 "//chrome")
2176 } 2185 }
2177 } 2186 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698