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("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
5 declare_args() { | 7 declare_args() { |
6 # Overrides os name in uma metrics log to "Blimp". | 8 # Overrides os name in uma metrics log to "Blimp". |
7 metrics_use_blimp = false | 9 metrics_use_blimp = false |
8 } | 10 } |
9 | 11 |
10 # These are only used by the blimp team, which has entirely migrated to gn, | 12 # These are only used by the blimp team, which has entirely migrated to gn, |
11 # so this logic is not replicated in the gyp file. | 13 # so this logic is not replicated in the gyp file. |
12 if (metrics_use_blimp) { | 14 if (metrics_use_blimp) { |
13 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] | 15 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] |
14 } | 16 } |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 "serialization/serialization_utils.cc", | 298 "serialization/serialization_utils.cc", |
297 "serialization/serialization_utils.h", | 299 "serialization/serialization_utils.h", |
298 ] | 300 ] |
299 deps = [ | 301 deps = [ |
300 "//base", | 302 "//base", |
301 ] | 303 ] |
302 } | 304 } |
303 } | 305 } |
304 | 306 |
305 if (is_chromeos) { | 307 if (is_chromeos) { |
| 308 mojom("interfaces") { |
| 309 sources = [ |
| 310 "leak_detector/leak_detector_remote.mojom", |
| 311 ] |
| 312 } |
| 313 } |
| 314 |
| 315 if (is_chromeos) { |
306 source_set("leak_detector_unit_tests") { | 316 source_set("leak_detector_unit_tests") { |
307 testonly = true | 317 testonly = true |
308 sources = [ | 318 sources = [ |
309 "leak_detector/call_stack_manager_unittest.cc", | 319 "leak_detector/call_stack_manager_unittest.cc", |
310 "leak_detector/call_stack_table_unittest.cc", | 320 "leak_detector/call_stack_table_unittest.cc", |
311 "leak_detector/leak_analyzer_unittest.cc", | 321 "leak_detector/leak_analyzer_unittest.cc", |
312 "leak_detector/leak_detector_impl_unittest.cc", | 322 "leak_detector/leak_detector_impl_unittest.cc", |
313 "leak_detector/leak_detector_unittest.cc", | 323 "leak_detector/leak_detector_unittest.cc", |
314 "leak_detector/ranked_set_unittest.cc", | 324 "leak_detector/ranked_set_unittest.cc", |
315 ] | 325 ] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 | 375 |
366 if (is_linux) { | 376 if (is_linux) { |
367 sources += [ "serialization/serialization_utils_unittest.cc" ] | 377 sources += [ "serialization/serialization_utils_unittest.cc" ] |
368 deps += [ ":serialization" ] | 378 deps += [ ":serialization" ] |
369 } | 379 } |
370 | 380 |
371 if (is_chromeos) { | 381 if (is_chromeos) { |
372 deps += [ ":leak_detector_unit_tests" ] | 382 deps += [ ":leak_detector_unit_tests" ] |
373 } | 383 } |
374 } | 384 } |
OLD | NEW |