| 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", | |
| 215 "media_galleries/metadata_types.h", | 213 "media_galleries/metadata_types.h", |
| 216 ] | 214 ] |
| 217 } else { | 215 } else { |
| 218 # Non-Android. | 216 # Non-Android. |
| 219 sources += | 217 sources += |
| 220 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") | 218 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") |
| 221 } | 219 } |
| 222 | 220 |
| 223 if (is_chromeos) { | 221 if (is_chromeos) { |
| 224 sources -= [ "channel_info_posix.cc" ] | 222 sources -= [ "channel_info_posix.cc" ] |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 ":constants", | 382 ":constants", |
| 385 "//base", | 383 "//base", |
| 386 ] | 384 ] |
| 387 } | 385 } |
| 388 | 386 |
| 389 mojom("mojo_bindings") { | 387 mojom("mojo_bindings") { |
| 390 sources = [ | 388 sources = [ |
| 391 "resource_usage_reporter.mojom", | 389 "resource_usage_reporter.mojom", |
| 392 ] | 390 ] |
| 393 } | 391 } |
| OLD | NEW |