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 # TODO(GYP) uncomment when this is used below. | 7 gypi_values = exec_script( |
8 #gypi_values = exec_script( | 8 "//build/gypi_to_gn.py", |
9 # "//build/gypi_to_gn.py", | 9 [ rebase_path("../chrome_common.gypi") ], |
10 # [ rebase_path("../chrome_common.gypi") ], | 10 "scope", |
11 # "scope", | 11 [ "../chrome_common.gypi" ]) |
12 # [ "../chrome_common.gypi" ]) | |
13 | 12 |
14 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 13 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
15 # (generate_common_resources action) | 14 # (generate_common_resources action) |
16 grit("resources") { | 15 grit("resources") { |
17 source = "common_resources.grd" | 16 source = "common_resources.grd" |
18 } | 17 } |
19 | 18 |
20 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 19 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
21 # (generate_extensions_api_resources action) | 20 # (generate_extensions_api_resources action) |
22 grit("extensions_api_resources") { | 21 grit("extensions_api_resources") { |
23 source = "extensions_api_resources.grd" | 22 source = "extensions_api_resources.grd" |
24 } | 23 } |
25 | 24 |
26 # GYP version: chrome/chrome_common.gyp:common | 25 # GYP version: chrome/chrome_common.gyp:common |
27 static_library("common") { | 26 static_library("common") { |
28 # TODO(GYP) Uncomment when these compile. | 27 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") |
29 #sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") | |
30 | 28 |
31 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 29 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
32 | 30 |
33 deps = [ | 31 deps = [ |
34 ":version", | 32 ":version", |
35 #":installer_util", TODO(GYP) | 33 #":installer_util", TODO(GYP) |
36 "//base:base", | 34 "//base:base", |
37 "//base:i18n", | 35 "//base:i18n", |
38 "//base:prefs", | 36 "//base:prefs", |
39 "//base:base_static", | 37 "//base:base_static", |
(...skipping 19 matching lines...) Expand all Loading... |
59 "//third_party/icu", | 57 "//third_party/icu", |
60 "//third_party/libxml", | 58 "//third_party/libxml", |
61 "//third_party/sqlite", | 59 "//third_party/sqlite", |
62 "//third_party/zlib:zip", | 60 "//third_party/zlib:zip", |
63 "//ui/resources:resources", | 61 "//ui/resources:resources", |
64 "//url", | 62 "//url", |
65 ] | 63 ] |
66 | 64 |
67 if (!is_ios) { | 65 if (!is_ios) { |
68 deps += [ | 66 deps += [ |
69 #'<(DEPTH)/apps/common/api/api.gyp:apps_api', TODO(GYP) | 67 "//apps/common/api:apps_api", |
70 "//chrome/common/extensions/api", | 68 "//chrome/common/extensions/api", |
71 #'<(DEPTH)/components/components.gyp:autofill_core_common', TODO(GYP) | 69 #'<(DEPTH)/components/components.gyp:autofill_core_common', TODO(GYP) |
72 #'<(DEPTH)/components/components.gyp:autofill_content_common', TODO(GYP) | 70 #'<(DEPTH)/components/components.gyp:autofill_content_common', TODO(GYP) |
73 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) | 71 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(
GYP) |
74 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) | 72 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) |
75 #'<(DEPTH)/components/components.gyp:translate_content_common', TODO(GYP) | 73 #'<(DEPTH)/components/components.gyp:translate_content_common', TODO(GYP) |
76 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | 74 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
77 "//components/visitedlink/common", | 75 "//components/visitedlink/common", |
78 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) | 76 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) |
79 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) | 77 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 151 |
154 deps = [ | 152 deps = [ |
155 "//base", | 153 "//base", |
156 "//base/third_party/dynamic_annotations", | 154 "//base/third_party/dynamic_annotations", |
157 "//third_party/widevine/cdm:version_h", | 155 "//third_party/widevine/cdm:version_h", |
158 # TODO(GYP) | 156 # TODO(GYP) |
159 #'../components/components.gyp:bookmarks_common', | 157 #'../components/components.gyp:bookmarks_common', |
160 #'../components/nacl.gyp:nacl_switches', | 158 #'../components/nacl.gyp:nacl_switches', |
161 ] | 159 ] |
162 } | 160 } |
OLD | NEW |