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