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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
298 "serialization/serialization_utils.cc", | 300 "serialization/serialization_utils.cc", |
299 "serialization/serialization_utils.h", | 301 "serialization/serialization_utils.h", |
300 ] | 302 ] |
301 deps = [ | 303 deps = [ |
302 "//base", | 304 "//base", |
303 ] | 305 ] |
304 } | 306 } |
305 } | 307 } |
306 | 308 |
307 if (is_chromeos) { | 309 if (is_chromeos) { |
310 mojom("interfaces") { | |
311 sources = [ | |
312 "leak_detector/leak_detector_remote.mojom", | |
313 ] | |
314 } | |
315 } | |
316 | |
317 if (is_chromeos) { | |
Ilya Sherman
2016/06/17 22:18:20
nit: Please combine the two ChromeOS stanzas. Als
Simon Que
2016/06/18 04:17:53
Done.
| |
308 source_set("leak_detector_unit_tests") { | 318 source_set("leak_detector_unit_tests") { |
309 testonly = true | 319 testonly = true |
310 sources = [ | 320 sources = [ |
311 "leak_detector/call_stack_manager_unittest.cc", | 321 "leak_detector/call_stack_manager_unittest.cc", |
312 "leak_detector/call_stack_table_unittest.cc", | 322 "leak_detector/call_stack_table_unittest.cc", |
313 "leak_detector/leak_analyzer_unittest.cc", | 323 "leak_detector/leak_analyzer_unittest.cc", |
314 "leak_detector/leak_detector_impl_unittest.cc", | 324 "leak_detector/leak_detector_impl_unittest.cc", |
315 "leak_detector/leak_detector_unittest.cc", | 325 "leak_detector/leak_detector_unittest.cc", |
316 "leak_detector/ranked_set_unittest.cc", | 326 "leak_detector/ranked_set_unittest.cc", |
317 ] | 327 ] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
367 | 377 |
368 if (is_linux) { | 378 if (is_linux) { |
369 sources += [ "serialization/serialization_utils_unittest.cc" ] | 379 sources += [ "serialization/serialization_utils_unittest.cc" ] |
370 deps += [ ":serialization" ] | 380 deps += [ ":serialization" ] |
371 } | 381 } |
372 | 382 |
373 if (is_chromeos) { | 383 if (is_chromeos) { |
374 deps += [ ":leak_detector_unit_tests" ] | 384 deps += [ ":leak_detector_unit_tests" ] |
375 } | 385 } |
376 } | 386 } |
OLD | NEW |