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 /sync | |
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 'sync')
-rw-r--r-- | sync/tools/BUILD.gn | 63 | ||||
-rw-r--r-- | sync/tools/sync_tools.gyp | 3 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sync/tools/BUILD.gn b/sync/tools/BUILD.gn new file mode 100644 index 0000000..9eefdae --- /dev/null +++ b/sync/tools/BUILD.gn @@ -0,0 +1,63 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//testing/test.gni") + +if (is_linux && !is_chromeos) { + # TODO(GYP): Figure out which of these work and are needed on other platforms. + source_set("common") { + testonly = true + + sources = [ + "invalidation_helper.cc", + "invalidation_helper.h", + "null_invalidation_state_tracker.cc", + "null_invalidation_state_tracker.h", + ] + + deps = [ + "//base", + "//components/invalidation", + "//sync", + ] + } + + test("sync_listen_notifications") { + sources = [ + "sync_listen_notifications.cc", + ] + + defines = [ "SYNC_TEST" ] + + deps = [ + ":common", + "//base", + "//components/invalidation", + "//jingle:notifier", + "//net", + "//net:test_support", + "//sync", + "//sync:test_support_sync_core", + ] + } + + test("sync_client") { + sources = [ + "sync_client.cc", + ] + + defines = [ "SYNC_TEST" ] + + deps = [ + ":common", + "//base", + "//components/invalidation", + "//jingle:notifier", + "//net", + "//net:test_support", + "//sync", + "//sync:test_support_sync_core", + ] + } +} diff --git a/sync/tools/sync_tools.gyp b/sync/tools/sync_tools.gyp index 887a5f3..7d97be6 100644 --- a/sync/tools/sync_tools.gyp +++ b/sync/tools/sync_tools.gyp @@ -9,6 +9,7 @@ 'targets': [ { + # GN: //sync/tools:common 'target_name': 'sync_tools_helper', 'type': 'static_library', 'include_dirs': [ @@ -32,6 +33,7 @@ }, # A tool to listen to sync notifications and print them out. { + # GN: //sync/tools:sync_listen_notifications 'target_name': 'sync_listen_notifications', 'type': 'executable', 'defines': [ @@ -53,6 +55,7 @@ # A standalone command-line sync client. { + # GN: //sync/tools:sync_client 'target_name': 'sync_client', 'type': 'executable', 'defines': [ |