GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / sync / tools / BUILD.gn
blob9eefdaeea262b17d91653584baecc2a2082a63ae
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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
7 if (is_linux && !is_chromeos) {
8   # TODO(GYP): Figure out which of these work and are needed on other platforms.
9   source_set("common") {
10     testonly = true
12     sources = [
13       "invalidation_helper.cc",
14       "invalidation_helper.h",
15       "null_invalidation_state_tracker.cc",
16       "null_invalidation_state_tracker.h",
17     ]
19     deps = [
20       "//base",
21       "//components/invalidation",
22       "//sync",
23     ]
24   }
26   test("sync_listen_notifications") {
27     sources = [
28       "sync_listen_notifications.cc",
29     ]
31     defines = [ "SYNC_TEST" ]
33     deps = [
34       ":common",
35       "//base",
36       "//components/invalidation",
37       "//jingle:notifier",
38       "//net",
39       "//net:test_support",
40       "//sync",
41       "//sync:test_support_sync_core",
42     ]
43   }
45   test("sync_client") {
46     sources = [
47       "sync_client.cc",
48     ]
50     defines = [ "SYNC_TEST" ]
52     deps = [
53       ":common",
54       "//base",
55       "//components/invalidation",
56       "//jingle:notifier",
57       "//net",
58       "//net:test_support",
59       "//sync",
60       "//sync:test_support_sync_core",
61     ]
62   }