| { |
| 'target_defaults': { |
| 'variables': { |
| 'deps': [ |
| 'libchrome-<(libbase_ver)', |
| 'libchromeos-<(libbase_ver)', |
| ], |
| }, |
| }, |
| 'targets': [ |
| { |
| 'target_name': 'libgerm', |
| 'type': 'static_library', |
| 'sources': [ |
| 'daemon.cc', |
| 'launcher.cc', |
| ], |
| }, |
| { |
| 'target_name': 'germ', |
| 'type': 'executable', |
| 'dependencies': [ |
| 'libgerm', |
| ], |
| 'sources': ['main.cc'], |
| }, |
| ], |
| 'conditions': [ |
| ['USE_test == 1', { |
| 'targets': [ |
| { |
| 'target_name': 'germ_unittest', |
| 'type': 'executable', |
| 'includes': ['../common-mk/common_test.gypi'], |
| 'dependencies': ['libgerm'], |
| 'sources': [ |
| 'run_all_tests.cc', |
| ], |
| }, |
| ], |
| }], |
| ], |
| } |