Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/gumbo-parser/gtest.gyp @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 # Copyright 2013 Google Inc. All Rights Reserved. | |
| 2 # | |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 # you may not use this file except in compliance with the License. | |
| 5 # You may obtain a copy of the License at | |
| 6 # | |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 # | |
| 9 # Unless required by applicable law or agreed to in writing, software | |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 # See the License for the specific language governing permissions and | |
| 13 # limitations under the License. | |
| 14 | |
| 15 { | |
| 16 'targets': [ | |
| 17 { | |
| 18 'target_name': 'gtest', | |
| 19 'type': 'static_library', | |
| 20 'include_dirs': [ | |
| 21 'third_party/gtest', | |
| 22 'third_party/gtest/include', | |
| 23 ], | |
| 24 'link_settings': { | |
| 25 'ldflags': ['-lpthread'], | |
| 26 }, | |
| 27 'dependencies': [ | |
| 28 'gtest_prod', | |
| 29 ], | |
| 30 'sources': [ | |
| 31 'third_party/gtest/include/gtest/gtest-death-test.h', | |
| 32 'third_party/gtest/include/gtest/gtest-message.h', | |
| 33 'third_party/gtest/include/gtest/gtest-param-test.h', | |
| 34 'third_party/gtest/include/gtest/gtest-printers.h', | |
| 35 'third_party/gtest/include/gtest/gtest-spi.h', | |
| 36 'third_party/gtest/include/gtest/gtest-test-part.h', | |
| 37 'third_party/gtest/include/gtest/gtest-typed-test.h', | |
| 38 'third_party/gtest/include/gtest/gtest.h', | |
| 39 'third_party/gtest/include/gtest/gtest_pred_impl.h', | |
| 40 'third_party/gtest/include/gtest/internal/gtest-death-test-internal.h', | |
| 41 'third_party/gtest/include/gtest/internal/gtest-filepath.h', | |
| 42 'third_party/gtest/include/gtest/internal/gtest-internal.h', | |
| 43 'third_party/gtest/include/gtest/internal/gtest-linked_ptr.h', | |
| 44 'third_party/gtest/include/gtest/internal/gtest-param-util-generated.h', | |
| 45 'third_party/gtest/include/gtest/internal/gtest-param-util.h', | |
| 46 'third_party/gtest/include/gtest/internal/gtest-port.h', | |
| 47 'third_party/gtest/include/gtest/internal/gtest-string.h', | |
| 48 'third_party/gtest/include/gtest/internal/gtest-tuple.h', | |
| 49 'third_party/gtest/include/gtest/internal/gtest-type-util.h', | |
| 50 'third_party/gtest/src/gtest-all.cc', | |
| 51 'third_party/gtest/src/gtest-death-test.cc', | |
| 52 'third_party/gtest/src/gtest-filepath.cc', | |
| 53 'third_party/gtest/src/gtest-internal-inl.h', | |
| 54 'third_party/gtest/src/gtest-port.cc', | |
| 55 'third_party/gtest/src/gtest-printers.cc', | |
| 56 'third_party/gtest/src/gtest-test-part.cc', | |
| 57 'third_party/gtest/src/gtest-typed-test.cc', | |
| 58 'third_party/gtest/src/gtest.cc', | |
| 59 ], | |
| 60 'sources!': [ | |
| 61 'third_party/gtest/src/gtest-all.cc', # Not needed by our build. | |
| 62 ], | |
| 63 'conditions': [ | |
| 64 ['OS == "mac" or OS == "ios"', { | |
| 65 'sources': [ | |
| 66 'gtest_mac.h', | |
| 67 'gtest_mac.mm', | |
| 68 'platform_test_mac.mm' | |
| 69 ], | |
| 70 'link_settings': { | |
| 71 'libraries': [ | |
| 72 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
| 73 ], | |
| 74 }, | |
| 75 }], | |
| 76 ['OS=="win" and (MSVS_VERSION=="2012" or MSVS_VERSION=="2012e")', { | |
| 77 'defines': [ | |
| 78 '_VARIADIC_MAX=10', | |
| 79 ], | |
| 80 'direct_dependent_settings': { | |
| 81 'defines': [ | |
| 82 '_VARIADIC_MAX=10', | |
| 83 ], | |
| 84 }, | |
| 85 }], | |
| 86 ], | |
| 87 'direct_dependent_settings': { | |
| 88 'defines': [ | |
| 89 'UNIT_TEST', | |
| 90 ], | |
| 91 'include_dirs': [ | |
| 92 'third_party/gtest/include', # So that gtest headers can find themselves. | |
| 93 ], | |
| 94 'target_conditions': [ | |
| 95 ['_type=="executable"', { | |
| 96 'test': 1, | |
| 97 'conditions': [ | |
| 98 ['OS=="mac"', { | |
| 99 'run_as': { | |
| 100 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], | |
| 101 }, | |
| 102 }], | |
| 103 ['OS=="win"', { | |
| 104 'run_as': { | |
| 105 'action????': ['$(TargetPath)', '--gtest_print_time'], | |
| 106 }, | |
| 107 }], | |
| 108 ], | |
| 109 }], | |
| 110 ], | |
| 111 'msvs_disabled_warnings': [4800], | |
| 112 }, | |
| 113 }, | |
| 114 { | |
| 115 'target_name': 'gtest_main', | |
| 116 'type': 'static_library', | |
| 117 'dependencies': [ | |
| 118 'gtest', | |
| 119 ], | |
| 120 'sources': [ | |
| 121 'third_party/gtest/src/gtest_main.cc', | |
| 122 ], | |
| 123 }, | |
| 124 { | |
| 125 'target_name': 'gtest_prod', | |
| 126 'toolsets': ['host', 'target'], | |
| 127 'type': 'none', | |
| 128 'sources': [ | |
| 129 'third_party/gtest/include/gtest/gtest_prod.h', | |
| 130 ], | |
| 131 }, | |
| 132 ], | |
| 133 } |
