| 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("//chrome/version.gni") | 5 import("//chrome/version.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 } | 202 } |
| 203 if (enable_mdns) { | 203 if (enable_mdns) { |
| 204 sources += [ | 204 sources += [ |
| 205 "local_discovery/service_discovery_client_impl.cc", | 205 "local_discovery/service_discovery_client_impl.cc", |
| 206 "local_discovery/service_discovery_client_impl.h", | 206 "local_discovery/service_discovery_client_impl.h", |
| 207 ] | 207 ] |
| 208 } | 208 } |
| 209 | 209 |
| 210 if (is_android) { | 210 if (is_android) { |
| 211 sources -= [ | 211 sources -= [ |
| 212 "badge_util.cc", | |
| 213 "channel_info_posix.cc", | 212 "channel_info_posix.cc", |
| 214 "icon_with_badge_image_source.cc", | 213 "icon_with_badge_image_source.cc", |
| 215 "media_galleries/metadata_types.h", | 214 "media_galleries/metadata_types.h", |
| 216 ] | 215 ] |
| 217 } else { | 216 } else { |
| 218 # Non-Android. | 217 # Non-Android. |
| 219 sources += | 218 sources += |
| 220 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") | 219 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") |
| 221 } | 220 } |
| 222 | 221 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 ":constants", | 383 ":constants", |
| 385 "//base", | 384 "//base", |
| 386 ] | 385 ] |
| 387 } | 386 } |
| 388 | 387 |
| 389 mojom("mojo_bindings") { | 388 mojom("mojo_bindings") { |
| 390 sources = [ | 389 sources = [ |
| 391 "resource_usage_reporter.mojom", | 390 "resource_usage_reporter.mojom", |
| 392 ] | 391 ] |
| 393 } | 392 } |
| OLD | NEW |