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