GN(Android): Add missing dep for components_unittests
[chromium-blink-merge.git] / chromecast / app / BUILD.gn
blobd1a69e21aef485b662ed9d9de9f6fd59e6715f8d
1 # Copyright 2015 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")
6 import("//tools/grit/grit_rule.gni")
8 source_set("app") {
9   sources = [
10     "cast_main_delegate.cc",
11     "cast_main_delegate.h",
12   ]
14   deps = [
15     ":cast_crash_client",
16     "//base",
17     "//chromecast/base",
18     "//chromecast/browser",
19     "//chromecast/common",
20     "//chromecast/renderer",
21     "//components/crash/app:lib",
22     "//content/public/app:both",
23     "//content/public/browser",
24     "//content/public/common",
25     "//ui/base",
26   ]
29 source_set("cast_crash_client") {
30   sources = [
31     "android/cast_crash_reporter_client_android.cc",
32     "android/cast_crash_reporter_client_android.h",
33     "linux/cast_crash_reporter_client.cc",
34     "linux/cast_crash_reporter_client.h",
35   ]
37   configs += [ "//chromecast:config" ]
39   deps = [
40     "//base",
41     "//chromecast/base",
42     "//chromecast/crash",
43     "//components/crash/app",
44     "//components/crash/app:lib",
45     "//content/public/common",
46   ]
49 # TODO(kmackay) Consider renaming this.
50 test("cast_shell_unittests") {
51   sources = [
52     "linux/cast_crash_reporter_client_unittest.cc",
53   ]
55   deps = [
56     ":cast_crash_client",
57     "//base",
58     "//base/test:run_all_unittests",
59     "//base/test:test_support",
60     "//chromecast/crash",
61     "//chromecast/crash:test_support",
62     "//testing/gtest",
63   ]
66 grit("resources") {
67   source = "//chromecast/app/resources/shell_resources.grd"
69   resource_ids = "//chromecast/app/resources/resource_ids"
71   outputs = [
72     "grit/shell_resources.h",
73     "shell_resources.pak",
74     "shell_resources.rc",
75   ]
78 grit("chromecast_settings") {
79   source = "//chromecast/app/resources/chromecast_settings.grd"
81   resource_ids = "//chromecast/app/resources/resource_ids"
83   outputs = [
84     "grit/chromecast_settings.h",
85     "chromecast_settings_am.pak",
86     "chromecast_settings_ar.pak",
87     "chromecast_settings_bg.pak",
88     "chromecast_settings_bn.pak",
89     "chromecast_settings_ca.pak",
90     "chromecast_settings_cs.pak",
91     "chromecast_settings_da.pak",
92     "chromecast_settings_de.pak",
93     "chromecast_settings_el.pak",
94     "chromecast_settings_en-GB.pak",
95     "chromecast_settings_en-US.pak",
96     "chromecast_settings_es.pak",
97     "chromecast_settings_es-419.pak",
98     "chromecast_settings_et.pak",
99     "chromecast_settings_fa.pak",
100     "chromecast_settings_fake-bidi.pak",
101     "chromecast_settings_fi.pak",
102     "chromecast_settings_fil.pak",
103     "chromecast_settings_fr.pak",
104     "chromecast_settings_gu.pak",
105     "chromecast_settings_he.pak",
106     "chromecast_settings_hi.pak",
107     "chromecast_settings_hr.pak",
108     "chromecast_settings_hu.pak",
109     "chromecast_settings_id.pak",
110     "chromecast_settings_it.pak",
111     "chromecast_settings_ja.pak",
112     "chromecast_settings_kn.pak",
113     "chromecast_settings_ko.pak",
114     "chromecast_settings_lt.pak",
115     "chromecast_settings_lv.pak",
116     "chromecast_settings_ml.pak",
117     "chromecast_settings_mr.pak",
118     "chromecast_settings_ms.pak",
119     "chromecast_settings_nl.pak",
120     "chromecast_settings_nb.pak",
121     "chromecast_settings_pl.pak",
122     "chromecast_settings_pt-BR.pak",
123     "chromecast_settings_pt-PT.pak",
124     "chromecast_settings_ro.pak",
125     "chromecast_settings_ru.pak",
126     "chromecast_settings_sk.pak",
127     "chromecast_settings_sl.pak",
128     "chromecast_settings_sr.pak",
129     "chromecast_settings_sv.pak",
130     "chromecast_settings_sw.pak",
131     "chromecast_settings_ta.pak",
132     "chromecast_settings_te.pak",
133     "chromecast_settings_th.pak",
134     "chromecast_settings_tr.pak",
135     "chromecast_settings_uk.pak",
136     "chromecast_settings_vi.pak",
137     "chromecast_settings_zh-CN.pak",
138     "chromecast_settings_zh-TW.pak",
139   ]