| 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 | 7 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "local_discovery/service_discovery_client_impl.h", | 187 "local_discovery/service_discovery_client_impl.h", |
| 188 ] | 188 ] |
| 189 } | 189 } |
| 190 | 190 |
| 191 if (is_android) { | 191 if (is_android) { |
| 192 sources -= [ | 192 sources -= [ |
| 193 "badge_util.cc", | 193 "badge_util.cc", |
| 194 "chrome_version_info_posix.cc", | 194 "chrome_version_info_posix.cc", |
| 195 "icon_with_badge_image_source.cc", | 195 "icon_with_badge_image_source.cc", |
| 196 "media_galleries/metadata_types.h", | 196 "media_galleries/metadata_types.h", |
| 197 "spellcheck_common.cc", | |
| 198 ] | 197 ] |
| 199 } else { | 198 } else { |
| 200 # Non-Android. | 199 # Non-Android. |
| 201 sources += | 200 sources += |
| 202 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") | 201 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") |
| 203 } | 202 } |
| 204 | 203 |
| 205 if (is_chromeos) { | 204 if (is_chromeos) { |
| 206 sources -= [ "chrome_version_info_posix.cc" ] | 205 sources -= [ "chrome_version_info_posix.cc" ] |
| 207 } | 206 } |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 ":constants", | 358 ":constants", |
| 360 "//base", | 359 "//base", |
| 361 ] | 360 ] |
| 362 } | 361 } |
| 363 | 362 |
| 364 mojom("mojo_bindings") { | 363 mojom("mojo_bindings") { |
| 365 sources = [ | 364 sources = [ |
| 366 "resource_usage_reporter.mojom", | 365 "resource_usage_reporter.mojom", |
| 367 ] | 366 ] |
| 368 } | 367 } |
| OLD | NEW |