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. 4 5 { 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/invalidation_notifier.cc', 52 'notifier/invalidation_notifier.h', 53 'notifier/non_blocking_invalidator.cc', 54 'notifier/non_blocking_invalidator.h', 55 'notifier/p2p_invalidator.cc', 56 'notifier/p2p_invalidator.h', 57 'notifier/push_client_channel.cc', 58 'notifier/push_client_channel.h', 59 'notifier/registration_manager.cc', 60 'notifier/registration_manager.h', 61 'notifier/state_writer.h', 62 'notifier/sync_invalidation_listener.cc', 63 'notifier/sync_invalidation_listener.h', 64 'notifier/sync_system_resources.cc', 65 'notifier/sync_system_resources.h', 66 ], 67 }], 68 ], 69 } 70