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