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

Side by Side Diff: build/linux/system.gyp

Issue 25752005: Geolocation: delete GpsLocationProvider and third_party/gpsd/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years, 2 months 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
« no previous file with comments | « build/common.gypi ('k') | content/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['sysroot!=""', { 8 ['sysroot!=""', {
9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
10 }, { 10 }, {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 ], 111 ],
112 'libraries': [ 112 'libraries': [
113 '<!@(<(pkg-config) --libs-only-l gdk-2.0)', 113 '<!@(<(pkg-config) --libs-only-l gdk-2.0)',
114 ], 114 ],
115 }, 115 },
116 }], 116 }],
117 ], 117 ],
118 }, 118 },
119 ], # targets 119 ], # targets
120 }], 120 }],
121 ['linux_use_libgps==1', {
122 'targets': [
123 {
124 'target_name': 'libgps',
125 'type': 'static_library',
126 'all_dependent_settings': {
127 'defines': [
128 'USE_LIBGPS',
129 ],
130 'include_dirs': [
131 '<(SHARED_INTERMEDIATE_DIR)',
132 ],
133 'conditions': [
134 ['linux_link_libgps==1', {
135 'cflags': [
136 '<!@(<(pkg-config) --cflags libgps)',
137 ],
138 'link_settings': {
139 'ldflags': [
140 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgps)',
141 ],
142 'libraries': [
143 '<!@(<(pkg-config) --libs-only-l libgps)',
144 ],
145 }
146 }],
147 ],
148 },
149 'include_dirs': [
150 '../..',
151 ],
152 'hard_dependency': 1,
153 'actions': [
154 {
155 'variables': {
156 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libgps.h ',
157 'output_cc': '<(INTERMEDIATE_DIR)/libgps_loader.cc',
158 'generator': '../../tools/generate_library_loader/generate_libra ry_loader.py',
159 },
160 'action_name': 'generate_libgps_loader',
161 'inputs': [
162 '<(generator)',
163 ],
164 'outputs': [
165 '<(output_h)',
166 '<(output_cc)',
167 ],
168 'action': ['python',
169 '<(generator)',
170 '--name', 'LibGpsLoader',
171 '--output-h', '<(output_h)',
172 '--output-cc', '<(output_cc)',
173 '--header', '<gps.h>',
174 '--bundled-header', '"third_party/gpsd/release-3.1/gps. h"',
175 '--link-directly=<(linux_link_libgps)',
176 'gps_open',
177 'gps_close',
178 'gps_read',
179 # We don't use gps_shm_read() directly, just to make
180 # sure that libgps has the shared memory support.
181 'gps_shm_read',
182 ],
183 'message': 'Generating libgps library loader.',
184 'process_outputs_as_sources': 1,
185 },
186 ],
187 },
188 ],
189 }],
190 ], # conditions 121 ], # conditions
191 'targets': [ 122 'targets': [
192 { 123 {
193 'target_name': 'ssl', 124 'target_name': 'ssl',
194 'type': 'none', 125 'type': 'none',
195 'conditions': [ 126 'conditions': [
196 ['_toolset=="target"', { 127 ['_toolset=="target"', {
197 'conditions': [ 128 'conditions': [
198 ['use_openssl==1', { 129 ['use_openssl==1', {
199 'dependencies': [ 130 'dependencies': [
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 ], 864 ],
934 'libraries': [ 865 'libraries': [
935 '<!@(<(pkg-config) --libs-only-l libudev)', 866 '<!@(<(pkg-config) --libs-only-l libudev)',
936 ], 867 ],
937 }, 868 },
938 }], 869 }],
939 ], 870 ],
940 }, 871 },
941 ], 872 ],
942 } 873 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698