| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "//chrome/installer/util", | 55 "//chrome/installer/util", |
| 56 "//components/cloud_devices/common", | 56 "//components/cloud_devices/common", |
| 57 "//components/content_settings/core/common", | 57 "//components/content_settings/core/common", |
| 58 "//components/json_schema", | 58 "//components/json_schema", |
| 59 "//components/metrics", | 59 "//components/metrics", |
| 60 "//components/policy:policy_component_common", | 60 "//components/policy:policy_component_common", |
| 61 "//components/translate/core/common", | 61 "//components/translate/core/common", |
| 62 "//components/variations", | 62 "//components/variations", |
| 63 "//content/public/common", | 63 "//content/public/common", |
| 64 "//crypto", | 64 "//crypto", |
| 65 "//extensions/strings", |
| 65 "//media/cast:net", | 66 "//media/cast:net", |
| 66 "//net", | 67 "//net", |
| 67 "//skia", | 68 "//skia", |
| 68 "//third_party/icu", | 69 "//third_party/icu", |
| 69 "//third_party/libxml", | 70 "//third_party/libxml", |
| 70 "//third_party/sqlite", | 71 "//third_party/sqlite", |
| 71 "//third_party/zlib:zip", | 72 "//third_party/zlib:zip", |
| 72 "//ui/resources:resources", | 73 "//ui/resources:resources", |
| 73 "//url", | 74 "//url", |
| 74 ] | 75 ] |
| (...skipping 22 matching lines...) Expand all Loading... |
| 97 if (enable_extensions) { | 98 if (enable_extensions) { |
| 98 sources += rebase_path( | 99 sources += rebase_path( |
| 99 gypi_values.chrome_common_extensions_sources, | 100 gypi_values.chrome_common_extensions_sources, |
| 100 ".", "//chrome") | 101 ".", "//chrome") |
| 101 deps += [ | 102 deps += [ |
| 102 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. | 103 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. |
| 103 "//device/usb", | 104 "//device/usb", |
| 104 "//chrome/common/extensions/api", | 105 "//chrome/common/extensions/api", |
| 105 "//extensions/common", | 106 "//extensions/common", |
| 106 "//extensions/common/api", | 107 "//extensions/common/api", |
| 107 "//extensions/strings", | |
| 108 "//extensions:extensions_resources", | |
| 109 ] | 108 ] |
| 110 } | 109 } |
| 111 | 110 |
| 112 if (is_win || is_mac) { | 111 if (is_win || is_mac) { |
| 113 sources += rebase_path( | 112 sources += rebase_path( |
| 114 gypi_values.chrome_common_win_mac_sources, | 113 gypi_values.chrome_common_win_mac_sources, |
| 115 ".", "//chrome") | 114 ".", "//chrome") |
| 116 if (use_openssl) { | 115 if (use_openssl) { |
| 117 sources -= [ | 116 sources -= [ |
| 118 "extensions/api/networking_private/networking_private_crypto_nss.cc", | 117 "extensions/api/networking_private/networking_private_crypto_nss.cc", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 sources += [ | 165 sources += [ |
| 167 "local_discovery/service_discovery_client_impl.cc", | 166 "local_discovery/service_discovery_client_impl.cc", |
| 168 "local_discovery/service_discovery_client_impl.h", | 167 "local_discovery/service_discovery_client_impl.h", |
| 169 ] | 168 ] |
| 170 } | 169 } |
| 171 | 170 |
| 172 if (is_android) { | 171 if (is_android) { |
| 173 sources -= [ | 172 sources -= [ |
| 174 "badge_util.cc", | 173 "badge_util.cc", |
| 175 "chrome_version_info_posix.cc", | 174 "chrome_version_info_posix.cc", |
| 176 "extensions/manifest_handlers/minimum_chrome_version_checker.cc", | |
| 177 "icon_with_badge_image_source.cc", | 175 "icon_with_badge_image_source.cc", |
| 178 "media_galleries/metadata_types.h", | 176 "media_galleries/metadata_types.h", |
| 179 "spellcheck_common.cc", | 177 "spellcheck_common.cc", |
| 180 ] | 178 ] |
| 181 } else { | 179 } else { |
| 182 # Non-Android. | 180 # Non-Android. |
| 183 sources += rebase_path( | 181 sources += rebase_path( |
| 184 gypi_values.chrome_common_importer_sources, | 182 gypi_values.chrome_common_importer_sources, |
| 185 ".", "//chrome") | 183 ".", "//chrome") |
| 186 } | 184 } |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 if (is_win || is_mac) { | 300 if (is_win || is_mac) { |
| 303 sources += [ | 301 sources += [ |
| 304 "media_galleries/picasa_test_util.cc", | 302 "media_galleries/picasa_test_util.cc", |
| 305 "media_galleries/picasa_test_util.h", | 303 "media_galleries/picasa_test_util.h", |
| 306 "media_galleries/pmp_test_util.cc", | 304 "media_galleries/pmp_test_util.cc", |
| 307 "media_galleries/pmp_test_util.h", | 305 "media_galleries/pmp_test_util.h", |
| 308 ] | 306 ] |
| 309 } | 307 } |
| 310 | 308 |
| 311 } | 309 } |
| OLD | NEW |