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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libaddressinput/chromium/util/json.cc ('k') | tools/gritsettings/resource_ids » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 {
5 'target_defaults': {
6 'cflags!': [
7 '-fvisibility=hidden',
8 ],
9 'conditions': [
10 ['OS=="mac" or OS=="ios"', {
11 'xcode_settings': {
12 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
13 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'NO',
14 }
15 }],
16 ],
17 },
18 'targets': [
19 {
20 'target_name': 'generated_messages',
21 'type': 'none',
22 'variables': {
23 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
24 },
25 'actions': [
26 {
27 'action_name': 'generate_messages',
28 'variables': {
29 'grit_grd_file': 'src/cpp/res/messages.grd',
30 },
31 'includes': [
32 '../../build/grit_action.gypi',
33 ],
34 },
35 ],
36 'includes': [
37 '../../build/grit_target.gypi',
38 ],
39 },
40 {
41 'target_name': 'libaddressinput',
42 'type': 'static_library',
43 'include_dirs': [
44 'chromium/',
45 'src/cpp/include/',
46 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
47 ],
48 'sources': [
49 'chromium/util/json.cc',
50 'chromium/util/json.h',
51 'src/cpp/include/libaddressinput/address_field.h',
52 'src/cpp/include/libaddressinput/address_ui_component.h',
53 'src/cpp/include/libaddressinput/address_ui.h',
54 'src/cpp/include/libaddressinput/localization.h',
55 'src/cpp/src/address_field.cc',
56 'src/cpp/src/address_field_util.cc',
57 'src/cpp/src/address_field_util.h',
58 'src/cpp/src/address_ui.cc',
59 'src/cpp/src/localization.cc',
60 'src/cpp/src/region_data_constants.cc',
61 'src/cpp/src/region_data_constants.h',
62 'src/cpp/src/rule.cc',
63 'src/cpp/src/rule.h',
64 ],
65 'dependencies': [
66 'generated_messages',
67 '<(DEPTH)/base/base.gyp:base',
68 ],
69 'direct_dependent_settings': {
70 'include_dirs': [
71 'src/cpp/include/',
72 ],
73 },
74 },
75 {
76 'target_name': 'libaddressinput_unittests',
77 'type': '<(gtest_target_type)',
78 'include_dirs': [
79 'src/cpp/src',
80 '<(DEPTH)/testing/gtest/include/',
81 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
82 ],
83 'sources': [
84 'src/cpp/test/address_field_util_test.cc',
85 'src/cpp/test/address_ui_test.cc',
86 'src/cpp/test/localization_test.cc',
87 'src/cpp/test/region_data_constants_test.cc',
88 'src/cpp/test/rule_test.cc',
89 'src/cpp/test/util/json_test.cc',
90 ],
91 'dependencies': [
92 'libaddressinput',
93 '<(DEPTH)/base/base.gyp:run_all_unittests',
94 '<(DEPTH)/testing/gtest.gyp:gtest',
95 ],
96 },
97 ],
98 }
OLDNEW
« 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