Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 6a359db8fee8d0c26afa7e3f91bcd96e5f3da4f9..72f7dc261ea1af26e2488fcfd832f5cd27892d76 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -118,75 +118,6 @@ |
}, |
], # targets |
}], |
- ['linux_use_libgps==1', { |
- 'targets': [ |
- { |
- 'target_name': 'libgps', |
- 'type': 'static_library', |
- 'all_dependent_settings': { |
- 'defines': [ |
- 'USE_LIBGPS', |
- ], |
- 'include_dirs': [ |
- '<(SHARED_INTERMEDIATE_DIR)', |
- ], |
- 'conditions': [ |
- ['linux_link_libgps==1', { |
- 'cflags': [ |
- '<!@(<(pkg-config) --cflags libgps)', |
- ], |
- 'link_settings': { |
- 'ldflags': [ |
- '<!@(<(pkg-config) --libs-only-L --libs-only-other libgps)', |
- ], |
- 'libraries': [ |
- '<!@(<(pkg-config) --libs-only-l libgps)', |
- ], |
- } |
- }], |
- ], |
- }, |
- 'include_dirs': [ |
- '../..', |
- ], |
- 'hard_dependency': 1, |
- 'actions': [ |
- { |
- 'variables': { |
- 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libgps.h', |
- 'output_cc': '<(INTERMEDIATE_DIR)/libgps_loader.cc', |
- 'generator': '../../tools/generate_library_loader/generate_library_loader.py', |
- }, |
- 'action_name': 'generate_libgps_loader', |
- 'inputs': [ |
- '<(generator)', |
- ], |
- 'outputs': [ |
- '<(output_h)', |
- '<(output_cc)', |
- ], |
- 'action': ['python', |
- '<(generator)', |
- '--name', 'LibGpsLoader', |
- '--output-h', '<(output_h)', |
- '--output-cc', '<(output_cc)', |
- '--header', '<gps.h>', |
- '--bundled-header', '"third_party/gpsd/release-3.1/gps.h"', |
- '--link-directly=<(linux_link_libgps)', |
- 'gps_open', |
- 'gps_close', |
- 'gps_read', |
- # We don't use gps_shm_read() directly, just to make |
- # sure that libgps has the shared memory support. |
- 'gps_shm_read', |
- ], |
- 'message': 'Generating libgps library loader.', |
- 'process_outputs_as_sources': 1, |
- }, |
- ], |
- }, |
- ], |
- }], |
], # conditions |
'targets': [ |
{ |