| 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 }, | |
| 65 # This target provides basic functionality which is cooked into the build. | 44 # This target provides basic functionality which is cooked into the build. |
| 66 { 'target_name': 'libaddressinput_util', | 45 { 'target_name': 'libaddressinput_util', |
| 67 'type': 'static_library', | 46 'type': 'static_library', |
| 68 'include_dirs': [ | 47 'include_dirs': [ |
| 69 '<(libaddressinput_dir)/cpp/include/', | 48 '<(libaddressinput_dir)/cpp/include/', |
| 70 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', | 49 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', |
| 71 ], | 50 ], |
| 72 'sources': [ | 51 'sources': [ |
| 73 'chromium/canonicalize_string.cc', | 52 'chromium/canonicalize_string.cc', |
| 74 'chromium/json.cc', | 53 'chromium/json.cc', |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 '<(libaddressinput_dir)/cpp/src/util/md5.cc', | 122 '<(libaddressinput_dir)/cpp/src/util/md5.cc', |
| 144 '<(libaddressinput_dir)/cpp/src/util/md5.h', | 123 '<(libaddressinput_dir)/cpp/src/util/md5.h', |
| 145 '<(libaddressinput_dir)/cpp/src/util/trie.cc', | 124 '<(libaddressinput_dir)/cpp/src/util/trie.cc', |
| 146 '<(libaddressinput_dir)/cpp/src/util/trie.h', | 125 '<(libaddressinput_dir)/cpp/src/util/trie.h', |
| 147 ], | 126 ], |
| 148 'defines': [ | 127 'defines': [ |
| 149 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-aggregate-address
/"', | 128 'VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-aggregate-address
/"', |
| 150 ], | 129 ], |
| 151 'dependencies': [ | 130 'dependencies': [ |
| 152 'libaddressinput_strings', | 131 'libaddressinput_strings', |
| 153 'libaddressinput_updated_strings', | |
| 154 'libaddressinput_util', | 132 'libaddressinput_util', |
| 155 '<(DEPTH)/base/base.gyp:base', | 133 '<(DEPTH)/base/base.gyp:base', |
| 156 '<(DEPTH)/base/base.gyp:base_i18n', | 134 '<(DEPTH)/base/base.gyp:base_i18n', |
| 157 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 135 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 158 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 136 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 159 '<(DEPTH)/third_party/re2/re2.gyp:re2', | 137 '<(DEPTH)/third_party/re2/re2.gyp:re2', |
| 160 ], | 138 ], |
| 161 'direct_dependent_settings': { | 139 'direct_dependent_settings': { |
| 162 'defines': [ | 140 'defines': [ |
| 163 'CUSTOM_BASICTYPES="base/basictypes.h"', | 141 'CUSTOM_BASICTYPES="base/basictypes.h"', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 'libaddressinput', | 190 'libaddressinput', |
| 213 'libaddressinput_strings', | 191 'libaddressinput_strings', |
| 214 '<(DEPTH)/base/base.gyp:base_prefs', | 192 '<(DEPTH)/base/base.gyp:base_prefs', |
| 215 '<(DEPTH)/base/base.gyp:run_all_unittests', | 193 '<(DEPTH)/base/base.gyp:run_all_unittests', |
| 216 '<(DEPTH)/net/net.gyp:net_test_support', | 194 '<(DEPTH)/net/net.gyp:net_test_support', |
| 217 '<(DEPTH)/testing/gtest.gyp:gtest', | 195 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 218 ], | 196 ], |
| 219 }, | 197 }, |
| 220 ], | 198 ], |
| 221 } | 199 } |
| OLD | NEW |