OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'include_dirs': [ | 7 'include_dirs': [ |
8 '../..', # add it first, so src/base headers are used instead of the ones | 8 '../..', # add it first, so src/base headers are used instead of the ones |
9 # brought with the library as cc files would be taken from the | 9 # brought with the library as cc files would be taken from the |
10 # main chrome tree as well. | 10 # main chrome tree as well. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 'action': [ | 70 'action': [ |
71 '/wo4309', | 71 '/wo4309', |
72 ], | 72 ], |
73 }], | 73 }], |
74 ], | 74 ], |
75 }, | 75 }, |
76 { | 76 { |
77 'target_name': 'libphonenumber_unittests', | 77 'target_name': 'libphonenumber_unittests', |
78 'type': 'executable', | 78 'type': 'executable', |
79 'sources': [ | 79 'sources': [ |
80 '../../base/test/run_all_unittests.cc', | |
81 'src/phonenumbers/test_metadata.cc', | 80 'src/phonenumbers/test_metadata.cc', |
82 'src/test/phonenumbers/asyoutypeformatter_test.cc', | 81 'src/test/phonenumbers/asyoutypeformatter_test.cc', |
83 'src/test/phonenumbers/phonenumbermatch_test.cc', | 82 'src/test/phonenumbers/phonenumbermatch_test.cc', |
84 'src/test/phonenumbers/phonenumbermatcher_test.cc', | 83 'src/test/phonenumbers/phonenumbermatcher_test.cc', |
85 'src/test/phonenumbers/phonenumberutil_test.cc', | 84 'src/test/phonenumbers/phonenumberutil_test.cc', |
86 'src/test/phonenumbers/regexp_adapter_test.cc', | 85 'src/test/phonenumbers/regexp_adapter_test.cc', |
87 'src/test/phonenumbers/stringutil_test.cc', | 86 'src/test/phonenumbers/stringutil_test.cc', |
88 'src/test/phonenumbers/test_util.cc', | 87 'src/test/phonenumbers/test_util.cc', |
89 'src/test/phonenumbers/unicodestring_test.cc', | 88 'src/test/phonenumbers/unicodestring_test.cc', |
90 ], | 89 ], |
91 'dependencies': [ | 90 'dependencies': [ |
92 '../icu/icu.gyp:icui18n', | 91 '../icu/icu.gyp:icui18n', |
93 '../icu/icu.gyp:icuuc', | 92 '../icu/icu.gyp:icuuc', |
94 '../../base/base.gyp:base', | 93 '../../base/base.gyp:base', |
95 '../../base/base.gyp:test_support_base', | 94 '../../base/base.gyp:run_all_unittests', |
96 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynami
c_annotations', | 95 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynami
c_annotations', |
97 '../../testing/gmock.gyp:gmock', | 96 '../../testing/gmock.gyp:gmock', |
98 '../../testing/gtest.gyp:gtest', | 97 '../../testing/gtest.gyp:gtest', |
99 'libphonenumber', | 98 'libphonenumber', |
100 ], | 99 ], |
101 'conditions': [ | 100 'conditions': [ |
102 ['OS=="win"', { | 101 ['OS=="win"', { |
103 'action': [ | 102 'action': [ |
104 '/wo4309', | 103 '/wo4309', |
105 ], | 104 ], |
106 }], | 105 }], |
107 ], | 106 ], |
108 }] | 107 }] |
109 } | 108 } |
OLD | NEW |