Revert 258482 "Use cryptohome --action=is_mounted instead of man..."
[chromium-blink-merge.git] / sync / sync_notifier.gypi
blobf8e9d5cd48987502690835b1778d2f590a0f4a1d
1 # Copyright 2013 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.
6   'include_dirs': [
7     '..',
8   ],
9   'defines': [
10     'SYNC_IMPLEMENTATION',
11   ],
12   'dependencies': [
13     '../base/base.gyp:base',
14     '../jingle/jingle.gyp:jingle_glue',
15     '../jingle/jingle.gyp:notifier',
16     '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
17     # TODO(akalin): Remove this (http://crbug.com/133352).
18     '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
19     '../third_party/libjingle/libjingle.gyp:libjingle',
20   ],
21   'export_dependent_settings': [
22     '../jingle/jingle.gyp:notifier',
23     '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
24   ],
25   'sources': [
26     'notifier/ack_handler.cc',
27     'notifier/ack_handler.h',
28     'notifier/dropped_invalidation_tracker.cc',
29     'notifier/dropped_invalidation_tracker.h',
30     'notifier/invalidation_handler.h',
31     'notifier/invalidation_state_tracker.h',
32     'notifier/invalidation_util.cc',
33     'notifier/invalidation_util.h',
34     'notifier/unacked_invalidation_set.cc',
35     'notifier/unacked_invalidation_set.h',
36     'notifier/invalidator.h',
37     'notifier/invalidator_registrar.cc',
38     'notifier/invalidator_registrar.h',
39     'notifier/invalidator_state.cc',
40     'notifier/invalidator_state.h',
41     'notifier/mock_ack_handler.cc',
42     'notifier/mock_ack_handler.h',
43     'notifier/object_id_invalidation_map.cc',
44     'notifier/object_id_invalidation_map.h',
45     'notifier/single_object_invalidation_set.cc',
46     'notifier/single_object_invalidation_set.h',
47   ],
48   'conditions': [
49     ['OS != "android"', {
50       'sources': [
51         'notifier/gcm_network_channel.cc',
52         'notifier/gcm_network_channel.h',
53         'notifier/gcm_network_channel_delegate.h',
54         'notifier/invalidation_notifier.cc',
55         'notifier/invalidation_notifier.h',
56         'notifier/non_blocking_invalidator.cc',
57         'notifier/non_blocking_invalidator.h',
58         'notifier/p2p_invalidator.cc',
59         'notifier/p2p_invalidator.h',
60         'notifier/push_client_channel.cc',
61         'notifier/push_client_channel.h',
62         'notifier/registration_manager.cc',
63         'notifier/registration_manager.h',
64         'notifier/state_writer.h',
65         'notifier/sync_invalidation_listener.cc',
66         'notifier/sync_invalidation_listener.h',
67         'notifier/sync_system_resources.cc',
68         'notifier/sync_system_resources.h',
69       ],
70     }],
71   ],