| 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 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
| 8 | 8 |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("../chrome_common.gypi") ], | 10 [ rebase_path("../chrome_common.gypi") ], |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 "//chrome") | 118 "//chrome") |
| 119 deps += [ | 119 deps += [ |
| 120 "//device/usb", | 120 "//device/usb", |
| 121 "//chrome/common/extensions/api", | 121 "//chrome/common/extensions/api", |
| 122 "//extensions/common", | 122 "//extensions/common", |
| 123 "//extensions/common/api", | 123 "//extensions/common/api", |
| 124 "//extensions:extensions_resources", | 124 "//extensions:extensions_resources", |
| 125 "//extensions/strings", | 125 "//extensions/strings", |
| 126 "//media/cast:net", | 126 "//media/cast:net", |
| 127 ] | 127 ] |
| 128 if (is_chromeos) { | 128 if (is_chromeos_ui) { |
| 129 sources += | 129 sources += |
| 130 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, | 130 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, |
| 131 ".", | 131 ".", |
| 132 "//chrome") | 132 "//chrome") |
| 133 } | 133 } |
| 134 } | 134 } |
| 135 | 135 |
| 136 if (is_win || is_mac) { | 136 if (is_win || is_mac) { |
| 137 sources += | 137 sources += |
| 138 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") | 138 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") |
| 139 deps += [ "//breakpad:client" ] | 139 deps += [ "//breakpad:client" ] |
| 140 } | 140 } |
| 141 if (is_win || is_mac || is_chromeos) { | 141 if (is_win || is_mac || is_chromeos_ui) { |
| 142 if (use_openssl) { | 142 if (use_openssl) { |
| 143 sources += rebase_path( | 143 sources += rebase_path( |
| 144 gypi_values.chrome_common_networking_private_sources_openssl, | 144 gypi_values.chrome_common_networking_private_sources_openssl, |
| 145 ".", | 145 ".", |
| 146 "//chrome") | 146 "//chrome") |
| 147 | 147 |
| 148 # networking_private_crypto_openssl.cc depends on boringssl. | 148 # networking_private_crypto_openssl.cc depends on boringssl. |
| 149 deps += [ "//third_party/boringssl" ] | 149 deps += [ "//third_party/boringssl" ] |
| 150 } else { | 150 } else { |
| 151 sources += | 151 sources += |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 "channel_info_posix.cc", | 197 "channel_info_posix.cc", |
| 198 "icon_with_badge_image_source.cc", | 198 "icon_with_badge_image_source.cc", |
| 199 "media_galleries/metadata_types.h", | 199 "media_galleries/metadata_types.h", |
| 200 ] | 200 ] |
| 201 } else { | 201 } else { |
| 202 # Non-Android. | 202 # Non-Android. |
| 203 sources += | 203 sources += |
| 204 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") | 204 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") |
| 205 } | 205 } |
| 206 | 206 |
| 207 if (is_chromeos) { | 207 if (is_chromeos_ui) { |
| 208 sources -= [ "channel_info_posix.cc" ] | 208 sources -= [ "channel_info_posix.cc" ] |
| 209 } | 209 } |
| 210 | 210 |
| 211 if (is_win) { | 211 if (is_win) { |
| 212 deps += [ | 212 deps += [ |
| 213 "//components/dom_distiller/core", # Needed by chrome_content_client.cc. | 213 "//components/dom_distiller/core", # Needed by chrome_content_client.cc. |
| 214 "//third_party/wtl", | 214 "//third_party/wtl", |
| 215 ] | 215 ] |
| 216 } | 216 } |
| 217 | 217 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 ":constants", | 354 ":constants", |
| 355 "//base", | 355 "//base", |
| 356 ] | 356 ] |
| 357 } | 357 } |
| 358 | 358 |
| 359 mojom("mojo_bindings") { | 359 mojom("mojo_bindings") { |
| 360 sources = [ | 360 sources = [ |
| 361 "resource_usage_reporter.mojom", | 361 "resource_usage_reporter.mojom", |
| 362 ] | 362 ] |
| 363 } | 363 } |
| OLD | NEW |