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