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

Side by Side Diff: net/BUILD.gn

Issue 1227393002: Add data files for base and net. Move GN Python proto outputs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « base/test/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//url/config.gni") 9 import("//url/config.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 "//crypto:test_support", 1378 "//crypto:test_support",
1379 "//gin", 1379 "//gin",
1380 "//net/base/registry_controlled_domains", 1380 "//net/base/registry_controlled_domains",
1381 "//sql", 1381 "//sql",
1382 "//testing/gmock", 1382 "//testing/gmock",
1383 "//testing/gtest", 1383 "//testing/gtest",
1384 "//third_party/zlib", 1384 "//third_party/zlib",
1385 "//url", 1385 "//url",
1386 ] 1386 ]
1387 1387
1388 data = [
1389 "data/",
1390 ]
1391 if (is_linux || is_mac || is_win) {
1392 deps += [
1393 "//third_party/pyftpdlib/",
1394 "//third_party/pywebsocket/",
1395 "//third_party/tlslite/",
1396 ]
1397 data += [ "tools/testserver/" ]
1398 }
1399
1388 if (is_desktop_linux) { 1400 if (is_desktop_linux) {
1389 deps += [ ":epoll_quic_tools" ] 1401 deps += [ ":epoll_quic_tools" ]
1390 } 1402 }
1391 if (is_linux) { 1403 if (is_linux) {
1392 sources += gypi_values.net_linux_test_sources 1404 sources += gypi_values.net_linux_test_sources
1393 sources -= quic_dupe_files 1405 sources -= quic_dupe_files
1394 deps += [ 1406 deps += [
1395 ":balsa", 1407 ":balsa",
1396 ":epoll_quic_tools", 1408 ":epoll_quic_tools",
1397 ":epoll_server", 1409 ":epoll_server",
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 set_sources_assignment_filter(sources_assignment_filter) 1657 set_sources_assignment_filter(sources_assignment_filter)
1646 } 1658 }
1647 1659
1648 if (use_icu_alternatives_on_android) { 1660 if (use_icu_alternatives_on_android) {
1649 sources -= [ 1661 sources -= [
1650 "base/filename_util_unittest.cc", 1662 "base/filename_util_unittest.cc",
1651 "base/net_util_icu_unittest.cc", 1663 "base/net_util_icu_unittest.cc",
1652 ] 1664 ]
1653 deps -= [ "//base:i18n" ] 1665 deps -= [ "//base:i18n" ]
1654 } 1666 }
1667
1668 # Symbols for crashes when running tests on swarming.
1669 if (symbol_level > 0) {
1670 if (is_win) {
1671 data += [ "$root_out_dir/net_unittests.exe.pdb" ]
1672 } else if (is_mac) {
1673 data += [ "$root_out_dir/net_unittests.dSYM/" ]
1674 }
1675 }
1655 } 1676 }
1656 } # !is_android && !is_win && !is_mac 1677 } # !is_android && !is_win && !is_mac
1657 1678
1658 executable("net_perftests") { 1679 executable("net_perftests") {
1659 testonly = true 1680 testonly = true
1660 sources = [ 1681 sources = [
1661 "base/mime_sniffer_perftest.cc", 1682 "base/mime_sniffer_perftest.cc",
1662 "cookies/cookie_monster_perftest.cc", 1683 "cookies/cookie_monster_perftest.cc",
1663 "disk_cache/blockfile/disk_cache_perftest.cc", 1684 "disk_cache/blockfile/disk_cache_perftest.cc",
1664 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", 1685 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc",
(...skipping 23 matching lines...) Expand all
1688 } else { 1709 } else {
1689 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1710 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1690 } 1711 }
1691 1712
1692 if (is_win && icu_use_data_file) { 1713 if (is_win && icu_use_data_file) {
1693 # This is needed to trigger the dll copy step on windows. 1714 # This is needed to trigger the dll copy step on windows.
1694 # TODO(mark): Specifying this here shouldn't be necessary. 1715 # TODO(mark): Specifying this here shouldn't be necessary.
1695 deps += [ "//third_party/icu:icudata" ] 1716 deps += [ "//third_party/icu:icudata" ]
1696 } 1717 }
1697 } 1718 }
OLDNEW
« no previous file with comments | « base/test/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698