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. |
11 'cpp/src', | 11 'cpp/src', |
12 # The libphonenumber source (and test code) expects the | 12 # The libphonenumber source (and test code) expects the |
13 # generated protocol headers to be available with no include | 13 # generated protocol headers to be available with no include |
14 # path, e.g. #include "foo.pb.h". | 14 # path, e.g. #include "foo.pb.h". |
15 '<(SHARED_INTERMEDIATE_DIR)/protoc_out/third_party/libphonenumber', | 15 '<(SHARED_INTERMEDIATE_DIR)/protoc_out/third_party/libphonenumber', |
16 ], | 16 ], |
17 'defines': [ | 17 'defines': [ |
18 'USE_HASH_MAP=1', | 18 'USE_HASH_MAP=1', |
19 'USE_GOOGLE_BASE=1', | 19 'USE_GOOGLE_BASE=1', |
20 ], | 20 ], |
21 }, | 21 }, |
| 22 'includes': [ |
| 23 '../../build/win_precompile.gypi', |
| 24 ], |
22 'targets': [{ | 25 'targets': [{ |
23 'target_name': 'libphonenumber', | 26 'target_name': 'libphonenumber', |
24 'type': 'static_library', | 27 'type': 'static_library', |
25 'dependencies': [ | 28 'dependencies': [ |
26 '../icu/icu.gyp:icui18n', | 29 '../icu/icu.gyp:icui18n', |
27 '../icu/icu.gyp:icuuc', | 30 '../icu/icu.gyp:icuuc', |
28 '../../base/base.gyp:base', | 31 '../../base/base.gyp:base', |
29 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynami
c_annotations', | 32 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynami
c_annotations', |
30 ], | 33 ], |
31 'sources': [ | 34 'sources': [ |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ], | 90 ], |
88 'conditions': [ | 91 'conditions': [ |
89 ['OS=="win"', { | 92 ['OS=="win"', { |
90 'action': [ | 93 'action': [ |
91 '/wo4309', | 94 '/wo4309', |
92 ], | 95 ], |
93 }], | 96 }], |
94 ], | 97 ], |
95 }] | 98 }] |
96 } | 99 } |
OLD | NEW |