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