OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # TODO(mark): Upstream this file to googleurl. | 5 # TODO(mark): Upstream this file to googleurl. |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'chromium_code': 1, | 8 'chromium_code': 1, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 '../../googleurl/src/gurl_unittest.cc', | 79 '../../googleurl/src/gurl_unittest.cc', |
80 '../../googleurl/src/url_canon_unittest.cc', | 80 '../../googleurl/src/url_canon_unittest.cc', |
81 '../../googleurl/src/url_parse_unittest.cc', | 81 '../../googleurl/src/url_parse_unittest.cc', |
82 '../../googleurl/src/url_test_utils.h', | 82 '../../googleurl/src/url_test_utils.h', |
83 '../../googleurl/src/url_util_unittest.cc', | 83 '../../googleurl/src/url_util_unittest.cc', |
84 # Make sure base and ICU are started up the 'Chromium way' since the | 84 # Make sure base and ICU are started up the 'Chromium way' since the |
85 # build is using the Chromium base & ICU. | 85 # build is using the Chromium base & ICU. |
86 '../../base/test/run_all_unittests.cc', | 86 '../../base/test/run_all_unittests.cc', |
87 ], | 87 ], |
88 'conditions': [ | 88 'conditions': [ |
89 ['OS=="linux" or OS=="freebsd"', { | 89 ['os_posix==1 and OS!="mac"', { |
90 'conditions': [ | 90 'conditions': [ |
91 ['linux_use_tcmalloc==1', { | 91 ['linux_use_tcmalloc==1', { |
92 'dependencies': [ | 92 'dependencies': [ |
93 '../../base/allocator/allocator.gyp:allocator', | 93 '../../base/allocator/allocator.gyp:allocator', |
94 ], | 94 ], |
95 }], | 95 }], |
96 ], | 96 ], |
97 }], | 97 }], |
98 # TODO(victorw): The unittest code uses inline functions that access | 98 # TODO(victorw): The unittest code uses inline functions that access |
99 # global variables, it also uses internal functions that we may not want | 99 # global variables, it also uses internal functions that we may not want |
100 # to export, so skip building unittests for windows multi dll build. | 100 # to export, so skip building unittests for windows multi dll build. |
101 # The googleurl functions are tested by the static library build. | 101 # The googleurl functions are tested by the static library build. |
102 ['OS=="win" and component=="shared_library"', { | 102 ['OS=="win" and component=="shared_library"', { |
103 'type': 'none', | 103 'type': 'none', |
104 }, { | 104 }, { |
105 'type': 'executable', | 105 'type': 'executable', |
106 }], | 106 }], |
107 ], | 107 ], |
108 }, | 108 }, |
109 ], | 109 ], |
110 } | 110 } |
111 | 111 |
112 # Local Variables: | 112 # Local Variables: |
113 # tab-width:2 | 113 # tab-width:2 |
114 # indent-tabs-mode:nil | 114 # indent-tabs-mode:nil |
115 # End: | 115 # End: |
116 # vim: set expandtab tabstop=2 shiftwidth=2: | 116 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |