OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'googlemock', |
| 9 'type': 'static_library', |
| 10 'dependencies': [ |
| 11 'googletest.gyp:googletest', |
| 12 ], |
| 13 'sources': [ |
| 14 'src/googlemock/include/gmock/gmock-actions.h', |
| 15 'src/googlemock/include/gmock/gmock-cardinalities.h', |
| 16 'src/googlemock/include/gmock/gmock-generated-actions.h', |
| 17 'src/googlemock/include/gmock/gmock-generated-function-mockers.h', |
| 18 'src/googlemock/include/gmock/gmock-generated-matchers.h', |
| 19 'src/googlemock/include/gmock/gmock-generated-nice-strict.h', |
| 20 'src/googlemock/include/gmock/gmock-matchers.h', |
| 21 'src/googlemock/include/gmock/gmock-spec-builders.h', |
| 22 'src/googlemock/include/gmock/gmock.h', |
| 23 'src/googlemock/include/gmock/internal/gmock-generated-internal-utils.h'
, |
| 24 'src/googlemock/include/gmock/internal/gmock-internal-utils.h', |
| 25 'src/googlemock/include/gmock/internal/gmock-port.h', |
| 26 |
| 27 # gmock helpers. |
| 28 'gmock_custom/gmock/internal/custom/gmock-port.h', |
| 29 |
| 30 'src/googlemock/src/gmock-cardinalities.cc', |
| 31 'src/googlemock/src/gmock-internal-utils.cc', |
| 32 'src/googlemock/src/gmock-matchers.cc', |
| 33 'src/googlemock/src/gmock-spec-builders.cc', |
| 34 'src/googlemock/src/gmock.cc', |
| 35 |
| 36 ], |
| 37 'sources!': [ |
| 38 'src/googlemock/src/gmock-all.cc', # Not needed by our build. |
| 39 ], |
| 40 'include_dirs': [ |
| 41 'gmock_custom', |
| 42 'src/googlemock', # TODO(pwnall): from gmock.gyp, but not in gn? |
| 43 'src/googlemock/include', |
| 44 ], |
| 45 'all_dependent_settings': { |
| 46 'include_dirs': [ |
| 47 'gmock_custom', |
| 48 'src/googlemock/include', # So gmock headers can find themselves. |
| 49 ], |
| 50 }, |
| 51 'conditions': [ |
| 52 ['want_separate_host_toolset==1', { |
| 53 'toolsets': ['host', 'target'], |
| 54 }, { |
| 55 'toolsets': ['target'], |
| 56 }], |
| 57 ], |
| 58 }, |
| 59 |
| 60 { |
| 61 'target_name': 'googlemock_main', |
| 62 'type': 'static_library', |
| 63 'dependencies': [ |
| 64 'googlemock', |
| 65 ], |
| 66 'sources': [ |
| 67 'src/googlemock/src/gmock_main.cc', |
| 68 ], |
| 69 }, |
| 70 ], |
| 71 } |
OLD | NEW |