1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/build/temp_gyp/googleurl.gyp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,105 @@ 1.4 +# Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.5 +# Use of this source code is governed by a BSD-style license that can be 1.6 +# found in the LICENSE file. 1.7 + 1.8 +# TODO(mark): Upstream this file to googleurl. 1.9 +{ 1.10 + 'variables': { 1.11 + 'chromium_code': 1, 1.12 + }, 1.13 + 'targets': [ 1.14 + { 1.15 + 'target_name': 'googleurl', 1.16 + 'type': '<(component)', 1.17 + 'dependencies': [ 1.18 + '../../base/base.gyp:base', 1.19 + '../../third_party/icu/icu.gyp:icudata', 1.20 + '../../third_party/icu/icu.gyp:icui18n', 1.21 + '../../third_party/icu/icu.gyp:icuuc', 1.22 + ], 1.23 + 'sources': [ 1.24 + '../../googleurl/src/gurl.cc', 1.25 + '../../googleurl/src/gurl.h', 1.26 + '../../googleurl/src/url_canon.h', 1.27 + '../../googleurl/src/url_canon_etc.cc', 1.28 + '../../googleurl/src/url_canon_fileurl.cc', 1.29 + '../../googleurl/src/url_canon_filesystemurl.cc', 1.30 + '../../googleurl/src/url_canon_host.cc', 1.31 + '../../googleurl/src/url_canon_icu.cc', 1.32 + '../../googleurl/src/url_canon_icu.h', 1.33 + '../../googleurl/src/url_canon_internal.cc', 1.34 + '../../googleurl/src/url_canon_internal.h', 1.35 + '../../googleurl/src/url_canon_internal_file.h', 1.36 + '../../googleurl/src/url_canon_ip.cc', 1.37 + '../../googleurl/src/url_canon_ip.h', 1.38 + '../../googleurl/src/url_canon_mailtourl.cc', 1.39 + '../../googleurl/src/url_canon_path.cc', 1.40 + '../../googleurl/src/url_canon_pathurl.cc', 1.41 + '../../googleurl/src/url_canon_query.cc', 1.42 + '../../googleurl/src/url_canon_relative.cc', 1.43 + '../../googleurl/src/url_canon_stdstring.h', 1.44 + '../../googleurl/src/url_canon_stdurl.cc', 1.45 + '../../googleurl/src/url_file.h', 1.46 + '../../googleurl/src/url_parse.cc', 1.47 + '../../googleurl/src/url_parse.h', 1.48 + '../../googleurl/src/url_parse_file.cc', 1.49 + '../../googleurl/src/url_parse_internal.h', 1.50 + '../../googleurl/src/url_util.cc', 1.51 + '../../googleurl/src/url_util.h', 1.52 + ], 1.53 + 'direct_dependent_settings': { 1.54 + 'include_dirs': [ 1.55 + '../..', 1.56 + ], 1.57 + }, 1.58 + 'defines': [ 1.59 + 'FULL_FILESYSTEM_URL_SUPPORT=1', 1.60 + ], 1.61 + 'conditions': [ 1.62 + ['component=="shared_library"', { 1.63 + 'defines': [ 1.64 + 'GURL_DLL', 1.65 + 'GURL_IMPLEMENTATION=1', 1.66 + ], 1.67 + 'direct_dependent_settings': { 1.68 + 'defines': [ 1.69 + 'GURL_DLL', 1.70 + ], 1.71 + }, 1.72 + }], 1.73 + ], 1.74 + }, 1.75 + { 1.76 + 'target_name': 'googleurl_unittests', 1.77 + 'type': 'executable', 1.78 + 'dependencies': [ 1.79 + 'googleurl', 1.80 + '../../base/base.gyp:base_i18n', 1.81 + '../../base/base.gyp:run_all_unittests', 1.82 + '../../testing/gtest.gyp:gtest', 1.83 + '../../third_party/icu/icu.gyp:icuuc', 1.84 + ], 1.85 + 'sources': [ 1.86 + '../../googleurl/src/gurl_unittest.cc', 1.87 + '../../googleurl/src/url_canon_unittest.cc', 1.88 + '../../googleurl/src/url_parse_unittest.cc', 1.89 + '../../googleurl/src/url_test_utils.h', 1.90 + '../../googleurl/src/url_util_unittest.cc', 1.91 + ], 1.92 + 'defines': [ 1.93 + 'FULL_FILESYSTEM_URL_SUPPORT=1', 1.94 + ], 1.95 + 'conditions': [ 1.96 + ['os_posix==1 and OS!="mac" and OS!="ios"', { 1.97 + 'conditions': [ 1.98 + ['linux_use_tcmalloc==1', { 1.99 + 'dependencies': [ 1.100 + '../../base/allocator/allocator.gyp:allocator', 1.101 + ], 1.102 + }], 1.103 + ], 1.104 + }], 1.105 + ], 1.106 + }, 1.107 + ], 1.108 +}