Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: third_party/libaddressinput/libaddressinput.gyp

Issue 68323005: Build libaddressinput in Chrome for requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libaddressinput/chromium/util/json.cc ('k') | tools/gritsettings/resource_ids » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libaddressinput/libaddressinput.gyp
diff --git a/third_party/libaddressinput/libaddressinput.gyp b/third_party/libaddressinput/libaddressinput.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..93ac7e46e9de3a4d0dbf1fef616407d164cb5a39
--- /dev/null
+++ b/third_party/libaddressinput/libaddressinput.gyp
@@ -0,0 +1,98 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'target_defaults': {
+ 'cflags!': [
+ '-fvisibility=hidden',
+ ],
+ 'conditions': [
+ ['OS=="mac" or OS=="ios"', {
+ 'xcode_settings': {
+ 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
+ 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'NO',
+ }
+ }],
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'generated_messages',
+ 'type': 'none',
+ 'variables': {
+ 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
+ },
+ 'actions': [
+ {
+ 'action_name': 'generate_messages',
+ 'variables': {
+ 'grit_grd_file': 'src/cpp/res/messages.grd',
+ },
+ 'includes': [
+ '../../build/grit_action.gypi',
+ ],
+ },
+ ],
+ 'includes': [
+ '../../build/grit_target.gypi',
+ ],
+ },
+ {
+ 'target_name': 'libaddressinput',
+ 'type': 'static_library',
+ 'include_dirs': [
+ 'chromium/',
+ 'src/cpp/include/',
+ '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
+ ],
+ 'sources': [
+ 'chromium/util/json.cc',
+ 'chromium/util/json.h',
+ 'src/cpp/include/libaddressinput/address_field.h',
+ 'src/cpp/include/libaddressinput/address_ui_component.h',
+ 'src/cpp/include/libaddressinput/address_ui.h',
+ 'src/cpp/include/libaddressinput/localization.h',
+ 'src/cpp/src/address_field.cc',
+ 'src/cpp/src/address_field_util.cc',
+ 'src/cpp/src/address_field_util.h',
+ 'src/cpp/src/address_ui.cc',
+ 'src/cpp/src/localization.cc',
+ 'src/cpp/src/region_data_constants.cc',
+ 'src/cpp/src/region_data_constants.h',
+ 'src/cpp/src/rule.cc',
+ 'src/cpp/src/rule.h',
+ ],
+ 'dependencies': [
+ 'generated_messages',
+ '<(DEPTH)/base/base.gyp:base',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'src/cpp/include/',
+ ],
+ },
+ },
+ {
+ 'target_name': 'libaddressinput_unittests',
+ 'type': '<(gtest_target_type)',
+ 'include_dirs': [
+ 'src/cpp/src',
+ '<(DEPTH)/testing/gtest/include/',
+ '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
+ ],
+ 'sources': [
+ 'src/cpp/test/address_field_util_test.cc',
+ 'src/cpp/test/address_ui_test.cc',
+ 'src/cpp/test/localization_test.cc',
+ 'src/cpp/test/region_data_constants_test.cc',
+ 'src/cpp/test/rule_test.cc',
+ 'src/cpp/test/util/json_test.cc',
+ ],
+ 'dependencies': [
+ 'libaddressinput',
+ '<(DEPTH)/base/base.gyp:run_all_unittests',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ },
+ ],
+}
« no previous file with comments | « third_party/libaddressinput/chromium/util/json.cc ('k') | tools/gritsettings/resource_ids » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698