tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

gtest.gypi (1127B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 {
      5   'target_defaults': {
      6     'include_dirs': [
      7       '<(DEPTH)/gtests/google_test/gtest/include',
      8       '<(DEPTH)/gtests/common',
      9       '<(DEPTH)/cpputil',
     10     ],
     11     'cflags': [
     12       '-Wsign-compare',
     13     ],
     14     'xcode_settings': {
     15       'OTHER_CFLAGS': [
     16         '-Wsign-compare',
     17       ],
     18     },
     19     'conditions': [
     20       ['OS=="win"', {
     21         'libraries': [
     22           '-lws2_32',
     23         ],
     24         'conditions': [
     25           ['static_libs==1', {
     26             'libraries': [
     27               '-ladvapi32',
     28             ],
     29           }],
     30         ],
     31       }],
     32       ['OS=="android"', {
     33         'libraries': [
     34           '-lstdc++',
     35         ],
     36       }],
     37       [ 'fuzz==1', {
     38         'defines': [
     39           'UNSAFE_FUZZER_MODE',
     40         ],
     41       }],
     42     ],
     43     'msvs_settings': {
     44       'VCCLCompilerTool': {
     45         'ExceptionHandling': 1,
     46         'PreprocessorDefinitions': [
     47           'NOMINMAX',
     48         ],
     49       },
     50     },
     51   },
     52 }