OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 5 'variables': { |
6 # TODO(rouslan): Use the src/ directory. http://crbug.com/327046 | 6 # TODO(rouslan): Use the src/ directory. http://crbug.com/327046 |
7 'libaddressinput_dir': 'chromium', | 7 'libaddressinput_dir': 'chromium', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 23 matching lines...) Expand all Loading... |
34 }, | 34 }, |
35 'includes': [ | 35 'includes': [ |
36 '../../build/grit_action.gypi', | 36 '../../build/grit_action.gypi', |
37 ], | 37 ], |
38 }, | 38 }, |
39 ], | 39 ], |
40 'includes': [ | 40 'includes': [ |
41 '../../build/grit_target.gypi', | 41 '../../build/grit_target.gypi', |
42 ], | 42 ], |
43 }, | 43 }, |
| 44 { |
| 45 'target_name': 'libaddressinput_updated_strings', |
| 46 'type': 'none', |
| 47 'variables': { |
| 48 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/grit/libaddressinput/', |
| 49 }, |
| 50 'actions': [ |
| 51 { |
| 52 'action_name': 'libaddressinput_updated_strings', |
| 53 'variables': { |
| 54 'grit_grd_file': '../../chrome/app/address_input_strings.grd', |
| 55 }, |
| 56 'includes': [ |
| 57 '../../build/grit_action.gypi', |
| 58 ], |
| 59 }, |
| 60 ], |
| 61 'includes': [ |
| 62 '../../build/grit_target.gypi', |
| 63 ], |
| 64 }, |
44 # This target provides basic functionality which is cooked into the build. | 65 # This target provides basic functionality which is cooked into the build. |
45 { 'target_name': 'libaddressinput_util', | 66 { 'target_name': 'libaddressinput_util', |
46 'type': 'static_library', | 67 'type': 'static_library', |
47 'include_dirs': [ | 68 'include_dirs': [ |
48 '<(libaddressinput_dir)/cpp/include/', | 69 '<(libaddressinput_dir)/cpp/include/', |
49 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', | 70 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', |
50 ], | 71 ], |
51 'sources': [ | 72 'sources': [ |
52 'chromium/canonicalize_string.cc', | 73 'chromium/canonicalize_string.cc', |
53 'chromium/json.cc', | 74 'chromium/json.cc', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 '<(libaddressinput_dir)/cpp/src/util/md5.cc', | 143 '<(libaddressinput_dir)/cpp/src/util/md5.cc', |
123 '<(libaddressinput_dir)/cpp/src/util/md5.h', | 144 '<(libaddressinput_dir)/cpp/src/util/md5.h', |
124 '<(libaddressinput_dir)/cpp/src/util/trie.cc', | 145 '<(libaddressinput_dir)/cpp/src/util/trie.cc', |
125 '<(libaddressinput_dir)/cpp/src/util/trie.h', | 146 '<(libaddressinput_dir)/cpp/src/util/trie.h', |
126 ], | 147 ], |
127 'defines': [ | 148 'defines': [ |
128 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-aggregate-address
/"', | 149 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-aggregate-address
/"', |
129 ], | 150 ], |
130 'dependencies': [ | 151 'dependencies': [ |
131 'libaddressinput_strings', | 152 'libaddressinput_strings', |
| 153 'libaddressinput_updated_strings', |
132 'libaddressinput_util', | 154 'libaddressinput_util', |
133 '<(DEPTH)/base/base.gyp:base', | 155 '<(DEPTH)/base/base.gyp:base', |
134 '<(DEPTH)/base/base.gyp:base_i18n', | 156 '<(DEPTH)/base/base.gyp:base_i18n', |
135 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 157 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
136 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 158 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
137 '<(DEPTH)/third_party/re2/re2.gyp:re2', | 159 '<(DEPTH)/third_party/re2/re2.gyp:re2', |
138 ], | 160 ], |
139 'direct_dependent_settings': { | 161 'direct_dependent_settings': { |
140 'defines': [ | 162 'defines': [ |
141 'CUSTOM_BASICTYPES="base/basictypes.h"', | 163 'CUSTOM_BASICTYPES="base/basictypes.h"', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 'libaddressinput', | 212 'libaddressinput', |
191 'libaddressinput_strings', | 213 'libaddressinput_strings', |
192 '<(DEPTH)/base/base.gyp:base_prefs', | 214 '<(DEPTH)/base/base.gyp:base_prefs', |
193 '<(DEPTH)/base/base.gyp:run_all_unittests', | 215 '<(DEPTH)/base/base.gyp:run_all_unittests', |
194 '<(DEPTH)/net/net.gyp:net_test_support', | 216 '<(DEPTH)/net/net.gyp:net_test_support', |
195 '<(DEPTH)/testing/gtest.gyp:gtest', | 217 '<(DEPTH)/testing/gtest.gyp:gtest', |
196 ], | 218 ], |
197 }, | 219 }, |
198 ], | 220 ], |
199 } | 221 } |
OLD | NEW |