[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / components / gcm_driver / instance_id / BUILD.gn
blob179828f9f61024afe3ddeefc811abc928749b28a
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 # GYP version: components/gcm_driver.gypi:instance_id_driver
6 source_set("instance_id") {
7   sources = [
8     "instance_id.cc",
9     "instance_id.h",
10     "instance_id_driver.cc",
11     "instance_id_driver.h",
12     "instance_id_impl.cc",
13     "instance_id_impl.h",
14   ]
16   deps = [
17     "//base",
18     "//crypto",
19     "//components/gcm_driver",
20   ]
22   if (is_android) {
23     sources -= [
24       "instance_id_impl.cc",
25       "instance_id_impl.h",
26     ]
27     sources += [
28       "instance_id_android.cc",
29       "instance_id_android.h",
30     ]
31   }
34 source_set("test_support") {
35   testonly = true
36   sources = [
37     "fake_gcm_driver_for_instance_id.cc",
38     "fake_gcm_driver_for_instance_id.h",
39   ]
41   deps = [
42     ":instance_id",
43     "//components/gcm_driver:test_support",
44     "//testing/gtest",
45   ]