Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 1 | { |
| 2 | 'target_defaults': { |
Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 3 | 'variables': { |
| 4 | 'deps': [ |
| 5 | 'libchrome-<(libbase_ver)', |
Bertrand SIMONNET | 4764f52 | 2014-06-04 13:08:52 -0700 | [diff] [blame] | 6 | 'libchromeos-<(libbase_ver)', |
Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 7 | ] |
| 8 | }, |
| 9 | 'cflags_cc': [ |
| 10 | '-fno-exceptions', |
| 11 | ], |
| 12 | }, |
| 13 | 'targets': [ |
| 14 | { |
| 15 | 'target_name': 'libmetrics-<(libbase_ver)', |
| 16 | 'type': 'shared_library', |
| 17 | 'cflags': [ |
| 18 | '-fvisibility=default', |
| 19 | ], |
Bertrand SIMONNET | 4764f52 | 2014-06-04 13:08:52 -0700 | [diff] [blame] | 20 | 'libraries+': [ |
| 21 | '-lpolicy-<(libbase_ver)', |
| 22 | ], |
Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 23 | 'sources': [ |
| 24 | 'c_metrics_library.cc', |
| 25 | 'metrics_library.cc', |
Alex Vakulenko | 788d3b6 | 2014-12-11 09:48:46 -0800 | [diff] [blame] | 26 | 'serialization/metric_sample.cc', |
| 27 | 'serialization/serialization_utils.cc', |
Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 28 | 'timer.cc', |
| 29 | ], |
Bertrand SIMONNET | d83ca80 | 2014-07-09 16:34:29 -0700 | [diff] [blame] | 30 | 'include_dirs': ['.'], |
Ben Chan | 2e6543d | 2014-02-05 23:26:25 -0800 | [diff] [blame] | 31 | }, |
| 32 | ], |
| 33 | } |