Update V8 to version 4.6.72.
[chromium-blink-merge.git] / chromecast / app / BUILD.gn
blob7b0732d44cc750fe278d2a437a5b741daf2cef4f
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   ]
77 grit("chromecast_settings") {
78   source = "//chromecast/app/resources/chromecast_settings.grd"
80   resource_ids = "//chromecast/app/resources/resource_ids"
82   outputs = [
83     "grit/chromecast_settings.h",
84     "chromecast_settings_am.pak",
85     "chromecast_settings_ar.pak",
86     "chromecast_settings_bg.pak",
87     "chromecast_settings_bn.pak",
88     "chromecast_settings_ca.pak",
89     "chromecast_settings_cs.pak",
90     "chromecast_settings_da.pak",
91     "chromecast_settings_de.pak",
92     "chromecast_settings_el.pak",
93     "chromecast_settings_en-GB.pak",
94     "chromecast_settings_en-US.pak",
95     "chromecast_settings_es.pak",
96     "chromecast_settings_es-419.pak",
97     "chromecast_settings_et.pak",
98     "chromecast_settings_fa.pak",
99     "chromecast_settings_fake-bidi.pak",
100     "chromecast_settings_fi.pak",
101     "chromecast_settings_fil.pak",
102     "chromecast_settings_fr.pak",
103     "chromecast_settings_gu.pak",
104     "chromecast_settings_he.pak",
105     "chromecast_settings_hi.pak",
106     "chromecast_settings_hr.pak",
107     "chromecast_settings_hu.pak",
108     "chromecast_settings_id.pak",
109     "chromecast_settings_it.pak",
110     "chromecast_settings_ja.pak",
111     "chromecast_settings_kn.pak",
112     "chromecast_settings_ko.pak",
113     "chromecast_settings_lt.pak",
114     "chromecast_settings_lv.pak",
115     "chromecast_settings_ml.pak",
116     "chromecast_settings_mr.pak",
117     "chromecast_settings_ms.pak",
118     "chromecast_settings_nl.pak",
119     "chromecast_settings_nb.pak",
120     "chromecast_settings_pl.pak",
121     "chromecast_settings_pt-BR.pak",
122     "chromecast_settings_pt-PT.pak",
123     "chromecast_settings_ro.pak",
124     "chromecast_settings_ru.pak",
125     "chromecast_settings_sk.pak",
126     "chromecast_settings_sl.pak",
127     "chromecast_settings_sr.pak",
128     "chromecast_settings_sv.pak",
129     "chromecast_settings_sw.pak",
130     "chromecast_settings_ta.pak",
131     "chromecast_settings_te.pak",
132     "chromecast_settings_th.pak",
133     "chromecast_settings_tr.pak",
134     "chromecast_settings_uk.pak",
135     "chromecast_settings_vi.pak",
136     "chromecast_settings_zh-CN.pak",
137     "chromecast_settings_zh-TW.pak",
138   ]