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

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: simplify gyp 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 unified diff | Download patch | Annotate | Revision Log
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 },
10 'targets': [
11 {
12 'target_name': 'generated_messages',
13 'type': 'none',
14 'variables': {
15 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
16 },
17 'actions': [
18 {
19 'action_name': 'generate_messages',
20 'variables': {
21 'grit_grd_file': 'src/cpp/res/messages.grd',
22 },
23 'includes': [
24 '../../build/grit_action.gypi',
25 ],
26 },
27 ],
28 'includes': [
29 '../../build/grit_target.gypi',
30 ],
31 },
32 {
33 'target_name': 'libaddressinput',
34 'type': '<(component)',
35 'include_dirs+': [
please use gerrit instead 2013/11/20 00:04:19 I think that <(DEPS) might be forced upon all targ
please use gerrit instead 2013/11/20 00:10:21 s/DEPS/DEPTH/g
Dan Beam 2013/11/20 00:53:48 there's no more use of <(DEPTH) in this rule
36 'chromium/',
37 'src/cpp/include/',
38 'src/cpp/src/',
39 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
40 ],
41 'sources': [
42 'chromium/util/json.cc',
43 'chromium/util/json.h',
44 'src/cpp/include/libaddressinput/address_field.h',
45 'src/cpp/include/libaddressinput/address_ui_component.h',
46 'src/cpp/include/libaddressinput/address_ui.h',
47 'src/cpp/include/libaddressinput/localization.h',
48 'src/cpp/src/address_field.cc',
49 'src/cpp/src/address_field_util.cc',
50 'src/cpp/src/address_ui.cc',
51 'src/cpp/src/localization.cc',
52 'src/cpp/src/region_data_constants.cc',
53 'src/cpp/src/rule.cc',
54 ],
55 'dependencies': [
56 'generated_messages',
57 '<(DEPTH)/base/base.gyp:base',
58 ],
59 'direct_dependent_settings': {
60 'include_dirs': [
61 'chromium/',
62 '<(DEPTH)/',
63 'src/cpp/include/',
64 'src/cpp/src/',
65 '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/',
66 ],
67 },
68 },
69 {
70 'target_name': 'libaddressinput_unittests',
71 'type': '<(gtest_target_type)',
72 'include_dirs+': [
73 '<(DEPTH)/testing/gtest/include/',
74 ],
75 'sources': [
76 'src/cpp/test/address_field_util_test.cc',
77 'src/cpp/test/address_ui_test.cc',
78 'src/cpp/test/localization_test.cc',
79 'src/cpp/test/region_data_constants_test.cc',
80 'src/cpp/test/rule_test.cc',
81 'src/cpp/test/util/json_test.cc',
82 ],
83 'dependencies': [
84 'libaddressinput',
85 '<(DEPTH)/base/base.gyp:run_all_unittests',
86 '<(DEPTH)/testing/gtest.gyp:gtest',
87 ],
88 },
89 ],
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698