OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # We have 2 separate browser targets because //components/html_viewer requires |
| 6 # startup_metric_utils_browser, but has symbols that conflict with mojo symbols |
| 7 # that startup_metric_utils_browser_message_filter indirectly depends on. |
| 8 |
5 { | 9 { |
6 'targets': [ | 10 'targets': [ |
7 { | 11 { |
8 'target_name': 'startup_metric_utils_browser', | 12 'target_name': 'startup_metric_utils_browser', |
9 'type': 'static_library', | 13 'type': 'static_library', |
10 'dependencies': [ | 14 'dependencies': [ |
11 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
12 ], | 16 ], |
13 'include_dirs': [ | 17 'include_dirs': [ |
14 '..', | 18 '..', |
15 ], | 19 ], |
16 'sources': [ | 20 'sources': [ |
17 'startup_metric_utils/browser/startup_metric_utils.cc', | 21 'startup_metric_utils/browser/startup_metric_utils.cc', |
18 'startup_metric_utils/browser/startup_metric_utils.h', | 22 'startup_metric_utils/browser/startup_metric_utils.h', |
19 ], | 23 ], |
20 }, | 24 }, |
| 25 { |
| 26 'target_name': 'startup_metric_utils_browser_message_filter', |
| 27 'type': 'static_library', |
| 28 'dependencies': [ |
| 29 '../base/base.gyp:base', |
| 30 '../content/content.gyp:content_browser', |
| 31 'startup_metric_utils_browser', |
| 32 'startup_metric_utils_common', |
| 33 ], |
| 34 'include_dirs': [ |
| 35 '..', |
| 36 ], |
| 37 'sources': [ |
| 38 'startup_metric_utils/browser/startup_metric_message_filter.cc', |
| 39 'startup_metric_utils/browser/startup_metric_message_filter.h', |
| 40 ], |
| 41 }, |
| 42 { |
| 43 'target_name': 'startup_metric_utils_common', |
| 44 'type': 'static_library', |
| 45 'dependencies': [ |
| 46 '../ipc/ipc.gyp:ipc', |
| 47 ], |
| 48 'include_dirs': [ |
| 49 '..', |
| 50 ], |
| 51 'sources': [ |
| 52 'startup_metric_utils/common/startup_metric_message_generator.cc', |
| 53 'startup_metric_utils/common/startup_metric_message_generator.h', |
| 54 'startup_metric_utils/common/startup_metric_messages.h', |
| 55 ], |
| 56 }, |
21 ], | 57 ], |
22 } | 58 } |
OLD | NEW |