diff options
author | brettw <brettw@chromium.org> | 2014-11-19 14:22:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 22:23:11 +0000 |
commit | d60468061789084ebd98458b9743726cc1541786 (patch) | |
tree | e0ca59cfbca55ee1869d72e376fef7cbe7692a54 /components/sessions | |
parent | 0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285 (diff) | |
download | chromium_src-d60468061789084ebd98458b9743726cc1541786.zip chromium_src-d60468061789084ebd98458b9743726cc1541786.tar.gz chromium_src-d60468061789084ebd98458b9743726cc1541786.tar.bz2 |
Add chrome sync tests to the GN build.
This adds sync_integration_tests, sync_performance_tests, and the sync test support targets.
I removed some files that were duplicated between the sync integration tests and the test support. In GYP the fact that test support was a static library hid the duplicate symbols.
Add a dependency on sessions_core from sessions test support since it's required to link. Made test support target be a source set (linking source sets into static libraries will often duplicate symbols).
Review URL: https://codereview.chromium.org/717923006
Cr-Commit-Position: refs/heads/master@{#304904}
Diffstat (limited to 'components/sessions')
-rw-r--r-- | components/sessions/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/sessions/BUILD.gn b/components/sessions/BUILD.gn index be2aec2..d5ecde2 100644 --- a/components/sessions/BUILD.gn +++ b/components/sessions/BUILD.gn @@ -48,7 +48,7 @@ source_set("sessions_core") { } } -static_library("test_support") { +source_set("test_support") { testonly = true sources = [ "serialized_navigation_entry_test_helper.cc", @@ -56,6 +56,7 @@ static_library("test_support") { ] deps = [ + ":sessions_core", "//skia", "//testing/gtest", ] |