Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / chrome / BUILD.gn
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.
4
5 import("//build/config/features.gni")
6
7 # GYP version: chrome/chrome_resources.gyp:chrome_resources
8 group("resources") {
9   deps = [
10     # Note: GYP lists some dependencies in addition to these actions. However,
11     # these are just dependencies for the actions themselves, which our actions
12     # list individually when needed.
13     "//chrome/browser:resources",
14     "//chrome/common:resources",
15     "//chrome/renderer:resources",
16   ]
17
18   if (enable_extensions) {
19     deps += [ "//chrome/common:extensions_api_resources" ]
20   }
21 }
22
23 # GYP version: chrome/chrome_resources.gyp:chrome_extra_resources
24 group("extra_resources") {
25   deps = [
26     "//chrome/browser/resources:invalidations_resources",
27     "//chrome/browser/resources:memory_internals_resources",
28     "//chrome/browser/resources:net_internals_resources",
29     "//chrome/browser/resources:password_manager_internals_resources",
30     "//chrome/browser/resources:signin_internals_resources",
31     "//chrome/browser/resources:sync_internals_resources",
32     "//chrome/browser/resources:translate_internals_resources",
33   ]
34   if (!is_ios) {
35     deps += [
36       "//chrome/browser/resources:component_extension_resources",
37       "//chrome/browser/resources:options_resources",
38       "//chrome/browser/resources:quota_internals_resources",
39       "//chrome/browser/resources:sync_file_system_internals_resources",
40     ]
41   }
42
43   if (enable_chromevox_next) {
44     deps += [
45       #'browser/resources/chromeos/chromevox2/chromevox.gyp:chromevox2',  TODO(GYP)
46     ]
47   } else {
48     deps += [
49       #'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox',  TODO(GYP)
50     ]
51   }
52 }
53
54 # GYP version: chrome/chrome_resources.gyp:chrome_strings
55 group("strings") {
56   deps = [
57     "//chrome/app:chromium_strings",
58     "//chrome/app:generated_resources",
59     "//chrome/app:google_chrome_strings",
60     "//chrome/app/resources:locale_settings",
61   ]
62 }