OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 # GYP version: chrome/chrome_common.gyp:common | 25 # GYP version: chrome/chrome_common.gyp:common |
26 static_library("common") { | 26 static_library("common") { |
27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") | 27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") |
28 defines = [] | 28 defines = [] |
29 | 29 |
30 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 30 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 ":version", | 33 ":version", |
34 #":installer_util", TODO(GYP) | |
35 "//base:base", | 34 "//base:base", |
36 "//base:i18n", | 35 "//base:i18n", |
37 "//base:prefs", | 36 "//base:prefs", |
38 "//base:base_static", | 37 "//base:base_static", |
39 "//chrome:resources", | 38 "//chrome:resources", |
40 "//chrome:strings", | 39 "//chrome:strings", |
41 "//chrome/app/theme:theme_resources", | 40 "//chrome/app/theme:theme_resources", |
42 "//chrome/common:constants", | 41 "//chrome/common:constants", |
43 "//chrome/common/net", | 42 "//chrome/common/net", |
44 "//chrome/common/safe_browsing:proto", | 43 "//chrome/common/safe_browsing:proto", |
45 #"//components/cloud_devices:common", TODO(GYP) | 44 "//components/cloud_devices/common", |
46 #"//components/json_schema", TODO(GYP) | 45 "//components/metrics", |
47 "//components/metrics", | 46 "//components/policy:policy_component_common", |
48 #"//components/components.gyp:policy_component_common", TODO(GYP) | 47 "//components/translate/core/common", |
49 "//components/translate:translate_core_common", | |
50 "//components/variations", | 48 "//components/variations", |
51 "//content/public/common", | 49 "//content/public/common", |
52 "//crypto", | 50 "//crypto", |
53 "//extensions:extensions_resources", | 51 "//extensions:extensions_resources", |
54 "//extensions/strings", | 52 "//extensions/strings", |
55 #"//media/cast/cast.gyp:cast_transport", TODO(GYP) | |
56 "//net", | 53 "//net", |
57 "//skia", | 54 "//skia", |
58 "//third_party/icu", | 55 "//third_party/icu", |
59 "//third_party/libxml", | 56 "//third_party/libxml", |
60 "//third_party/sqlite", | 57 "//third_party/sqlite", |
61 "//third_party/zlib:zip", | 58 "//third_party/zlib:zip", |
62 "//ui/resources:resources", | 59 "//ui/resources:resources", |
63 "//url", | 60 "//url", |
| 61 #":installer_util", TODO(GYP) |
| 62 #"//components/json_schema", TODO(GYP) |
| 63 #"//media/cast/cast.gyp:cast_transport", TODO(GYP) |
64 ] | 64 ] |
65 | 65 |
66 if (!is_ios) { | 66 if (!is_ios) { |
67 deps += [ | 67 deps += [ |
68 "//chrome/common/extensions/api", | 68 "//chrome/common/extensions/api", |
69 #'<(DEPTH)/components/components.gyp:autofill_core_common', TODO(GYP) | |
70 #'<(DEPTH)/components/components.gyp:autofill_content_common', TODO(GYP) | |
71 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) | |
72 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) | |
73 #'<(DEPTH)/components/components.gyp:translate_content_common', TODO(GYP) | |
74 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | |
75 "//components/visitedlink/common", | 69 "//components/visitedlink/common", |
76 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) | 70 "//components/autofill/content/common", |
77 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) | 71 "//components/autofill/core/common", |
| 72 "//components/translate/content/common", |
78 "//ipc", | 73 "//ipc", |
79 "//third_party/adobe/flash:flapper_version_h", | 74 "//third_party/adobe/flash:flapper_version_h", |
80 "//third_party/re2", | 75 "//third_party/re2", |
81 "//third_party/widevine/cdm:version_h", | 76 "//third_party/widevine/cdm:version_h", |
| 77 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) |
| 78 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) |
| 79 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
| 80 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) |
| 81 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) |
82 ] | 82 ] |
83 } | 83 } |
84 | 84 |
85 if (safe_browsing_mode == 1) { | 85 if (safe_browsing_mode == 1) { |
86 defines += [ "FULL_SAFE_BROWSING" ] | 86 defines += [ "FULL_SAFE_BROWSING" ] |
87 sources += rebase_path( | 87 sources += rebase_path( |
88 gypi_values.chrome_common_full_safe_browsing_sources, | 88 gypi_values.chrome_common_full_safe_browsing_sources, |
89 ".", "//chrome") | 89 ".", "//chrome") |
90 } | 90 } |
91 if (safe_browsing_mode == 2) { | 91 if (safe_browsing_mode == 2) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 deps = [ | 162 deps = [ |
163 "//base", | 163 "//base", |
164 "//base/third_party/dynamic_annotations", | 164 "//base/third_party/dynamic_annotations", |
165 "//third_party/widevine/cdm:version_h", | 165 "//third_party/widevine/cdm:version_h", |
166 # TODO(GYP) | 166 # TODO(GYP) |
167 #'../components/components.gyp:bookmarks_common', | 167 #'../components/components.gyp:bookmarks_common', |
168 #'../components/nacl.gyp:nacl_switches', | 168 #'../components/nacl.gyp:nacl_switches', |
169 ] | 169 ] |
170 } | 170 } |
OLD | NEW |