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

Side by Side Diff: device/geolocation/geolocation.gyp

Issue 2176753003: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam@s comments and rebase (mostly blimp/engine) Created 4 years, 4 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
OLDNEW
(Empty)
1 # Copyright 2016 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 {
6 'variables': {
7 # This turns on e.g. the filename-based detection of which platforms to
8 # include source files on (e.g. files ending in _mac.h or _mac.cc are only
9 # compiled on MacOSX).
10 'chromium_code': 1,
11 },
12 'targets': [
13 {
14 # GN version: //device/geolocation:device_geolocation
15 'target_name': 'device_geolocation',
16 'type': 'static_library',
17 'dependencies': [
18 '<(DEPTH)/base/base.gyp:base',
19 '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
20 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
21 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
22 # TODO(mcasas): move geolocation.mojom to public/interfaces.
23 '<(DEPTH)/third_party/WebKit/public/blink.gyp:mojo_bindings',
24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
25 ],
26 'include_dirs': [
27 '../..',
28 ],
29 'sources': [
30 'access_token_store.h',
31 'android/geolocation_jni_registrar.cc',
32 'android/geolocation_jni_registrar.h',
33 'empty_wifi_data_provider.cc',
34 'empty_wifi_data_provider.h',
35 'geolocation_delegate.cc',
36 'geolocation_delegate.h',
37 'geolocation_export.h',
38 'geolocation_provider.h',
39 'geolocation_provider_impl.cc',
40 'geolocation_provider_impl.h',
41 'geolocation_service_context.h',
42 'geolocation_service_context.cc',
43 'geolocation_service_impl.cc',
44 'geolocation_service_impl.h',
45 'geoposition.cc',
46 'geoposition.h',
47 'location_api_adapter_android.cc',
48 'location_api_adapter_android.h',
49 'location_arbitrator.h',
50 'location_arbitrator_impl.cc',
51 'location_arbitrator_impl.h',
52 'location_provider.h',
53 'location_provider_android.cc',
54 'location_provider_android.h',
55 'location_provider_base.cc',
56 'location_provider_base.h',
57 'network_location_provider.cc',
58 'network_location_provider.h',
59 'network_location_request.cc',
60 'network_location_request.h',
61 'wifi_data.cc',
62 'wifi_data.h',
63 'wifi_data_provider.cc',
64 'wifi_data_provider.h',
65 'wifi_data_provider_chromeos.cc',
66 'wifi_data_provider_chromeos.h',
67 'wifi_data_provider_common.cc',
68 'wifi_data_provider_common.h',
69 'wifi_data_provider_common_win.cc',
70 'wifi_data_provider_common_win.h',
71 'wifi_data_provider_corewlan_mac.mm',
72 'wifi_data_provider_linux.cc',
73 'wifi_data_provider_linux.h',
74 'wifi_data_provider_mac.cc',
75 'wifi_data_provider_mac.h',
76 'wifi_data_provider_manager.cc',
77 'wifi_data_provider_manager.h',
78 'wifi_data_provider_win.cc',
79 'wifi_data_provider_win.h',
80 'wifi_polling_policy.h',
81 ],
82
83 'conditions': [
84 ['OS=="android"', {
85 'sources!': [
86 'network_location_provider.cc',
87 'network_location_provider.h',
88 'network_location_request.cc',
89 'network_location_request.h',
90 ],
91 }],
92
93 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given
94 # android, chromeos, linux and use_dbus.
95 ['chromeos==1', {
96 'dependencies': [
97 '<(DEPTH)/chromeos/chromeos.gyp:chromeos',
98 ],
99 'sources!': [
100 'wifi_data_provider_linux.cc'
101 ],
102 }],
103
104 ['OS=="linux"', {
105 'conditions': [
106 ["use_dbus==1", {
107 'dependencies': [
108 '<(DEPTH)/dbus/dbus.gyp:dbus',
109 ],
110 'sources!': [
111 'empty_wifi_data_provider.cc',
112 ],
113 }, { # use_dbus==0
114 'geolocation_unittest_sources!': [
115 'wifi_data_provider_linux.cc',
116 ],
117 }]
118 ],
119 }],
120
121 ['OS=="mac" or OS=="win"', {
122 'sources!': [
123 'empty_wifi_data_provider.cc',
124 'empty_wifi_data_provider.h',
125 ],
126 }],
127 ],
128 },
129 ],
130 }
OLDNEW
« no previous file with comments | « device/geolocation/fake_access_token_store.cc ('k') | device/geolocation/geolocation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698