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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial