diff options
author | dpranke <dpranke@chromium.org> | 2015-03-07 20:22:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-08 04:23:38 +0000 |
commit | db5527d777f1e0cdbaec2bca579bec33aaf7497e (patch) | |
tree | bd5fff2098e9db5fb1cdaafea0e8809b8d2e59b1 /components/BUILD.gn | |
parent | 53f125e71fe78a1fa0e457622a83487fce117062 (diff) | |
download | chromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.zip chromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.tar.gz chromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.tar.bz2 |
Add remaining trivial targets for the Linux GN build
This patch adds a whole bunch of small targets that
had either already been done but weren't mentioned
in the 'gn_all' group, or needed to be done.
In theory this should produce no change on any platform
other than Linux, except for one small windows target.
R=brettw@chromium.org
TBR=dtu@chromium.org
BUG=432959
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg
Review URL: https://codereview.chromium.org/975123003
Cr-Commit-Position: refs/heads/master@{#319580}
Diffstat (limited to 'components/BUILD.gn')
-rw-r--r-- | components/BUILD.gn | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/components/BUILD.gn b/components/BUILD.gn index d472b0b..1765c1a 100644 --- a/components/BUILD.gn +++ b/components/BUILD.gn @@ -304,3 +304,62 @@ repack("components_tests_pak") { "//ui/strings", ] } + +if (is_linux && !is_chromeos) { + # TODO(GYP): Figure out which of these work and are needed on other platforms. + + # TODO(GYP): Finish me ... + # test("components_browsertests") { + # sources = [ + # "autofill/content/browser/risk/fingerprint_browsertest.cc", + # "autofill/content/renderer/password_form_conversion_utils_browsertest.cc", + # "dom_distiller/content/distiller_page_web_contents_browsertest.cc", + # "password_manager/content/renderer/credential_manager_client_browsertest.cc", + # ] + # + # defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] + # + # deps = [ + # "//components/resources:components_resources", + # "//components/strings", + # "//components/autofill/content/browser", + # "//components/autofill/content/renderer", + # "//components/dom_distiller/content", + # "//components/dom_distiller/core", + # "//components/password_manager/content/renderer", + # "//testing/gmock", + # "//testing/gtest", + # "//content/public/common", + # "//content/public/renderer", + # ] + # + # if (is_android) { + # sources -= [ + # ] + # } + # if (is_linux) { + # # content_extractor_browsertest is a standalone content extraction tool built as + # # a MANUAL component_browsertest. + # sources += [ + # "dom_distiller/standalone/content_extractor_browsertest.cc", + # ] + # } + # } + + test("components_perftests") { + sources = [ + "visitedlink/test/visitedlink_perftest.cc", + ] + + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] + + deps = [ + "//base", + "//base/test:test_support_perf", + "//testing/gtest", + "//content/test:test_support", + "//components/visitedlink/browser", + ] + } +} |