media/webrtc/trunk/build/temp_gyp/googleurl.gyp

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 # Copyright (c) 2012 The Chromium 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.
     5 # TODO(mark): Upstream this file to googleurl.
     6 {
     7   'variables': {
     8     'chromium_code': 1,
     9   },
    10   'targets': [
    11     {
    12       'target_name': 'googleurl',
    13       'type': '<(component)',
    14       'dependencies': [
    15         '../../base/base.gyp:base',
    16         '../../third_party/icu/icu.gyp:icudata',
    17         '../../third_party/icu/icu.gyp:icui18n',
    18         '../../third_party/icu/icu.gyp:icuuc',
    19       ],
    20       'sources': [
    21         '../../googleurl/src/gurl.cc',
    22         '../../googleurl/src/gurl.h',
    23         '../../googleurl/src/url_canon.h',
    24         '../../googleurl/src/url_canon_etc.cc',
    25         '../../googleurl/src/url_canon_fileurl.cc',
    26         '../../googleurl/src/url_canon_filesystemurl.cc',
    27         '../../googleurl/src/url_canon_host.cc',
    28         '../../googleurl/src/url_canon_icu.cc',
    29         '../../googleurl/src/url_canon_icu.h',
    30         '../../googleurl/src/url_canon_internal.cc',
    31         '../../googleurl/src/url_canon_internal.h',
    32         '../../googleurl/src/url_canon_internal_file.h',
    33         '../../googleurl/src/url_canon_ip.cc',
    34         '../../googleurl/src/url_canon_ip.h',
    35         '../../googleurl/src/url_canon_mailtourl.cc',
    36         '../../googleurl/src/url_canon_path.cc',
    37         '../../googleurl/src/url_canon_pathurl.cc',
    38         '../../googleurl/src/url_canon_query.cc',
    39         '../../googleurl/src/url_canon_relative.cc',
    40         '../../googleurl/src/url_canon_stdstring.h',
    41         '../../googleurl/src/url_canon_stdurl.cc',
    42         '../../googleurl/src/url_file.h',
    43         '../../googleurl/src/url_parse.cc',
    44         '../../googleurl/src/url_parse.h',
    45         '../../googleurl/src/url_parse_file.cc',
    46         '../../googleurl/src/url_parse_internal.h',
    47         '../../googleurl/src/url_util.cc',
    48         '../../googleurl/src/url_util.h',
    49       ],
    50       'direct_dependent_settings': {
    51         'include_dirs': [
    52           '../..',
    53         ],
    54       },
    55       'defines': [
    56         'FULL_FILESYSTEM_URL_SUPPORT=1',
    57       ],
    58       'conditions': [
    59         ['component=="shared_library"', {
    60           'defines': [
    61             'GURL_DLL',
    62             'GURL_IMPLEMENTATION=1',
    63           ],
    64           'direct_dependent_settings': {
    65             'defines': [
    66               'GURL_DLL',
    67             ],
    68           },
    69         }],
    70       ],
    71     },
    72     {
    73       'target_name': 'googleurl_unittests',
    74       'type': 'executable',
    75       'dependencies': [
    76         'googleurl',
    77         '../../base/base.gyp:base_i18n',
    78         '../../base/base.gyp:run_all_unittests',
    79         '../../testing/gtest.gyp:gtest',
    80         '../../third_party/icu/icu.gyp:icuuc',
    81       ],
    82       'sources': [
    83         '../../googleurl/src/gurl_unittest.cc',
    84         '../../googleurl/src/url_canon_unittest.cc',
    85         '../../googleurl/src/url_parse_unittest.cc',
    86         '../../googleurl/src/url_test_utils.h',
    87         '../../googleurl/src/url_util_unittest.cc',
    88       ],
    89       'defines': [
    90         'FULL_FILESYSTEM_URL_SUPPORT=1',
    91       ],
    92       'conditions': [
    93         ['os_posix==1 and OS!="mac" and OS!="ios"', {
    94           'conditions': [
    95             ['linux_use_tcmalloc==1', {
    96               'dependencies': [
    97                 '../../base/allocator/allocator.gyp:allocator',
    98               ],
    99             }],
   100           ],
   101         }],
   102       ],
   103     },
   104   ],
   105 }

mercurial