| OLD | NEW | 
|    1 # Copyright 2016 The Chromium Authors. All rights reserved. |    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 |    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 import("//build/config/features.gni") |    5 import("//build/config/features.gni") | 
|    6  |    6  | 
|    7 if (is_android) { |    7 if (is_android) { | 
|    8   import("//build/config/android/rules.gni")  # For generate_jni(). |    8   import("//build/config/android/rules.gni")  # For generate_jni(). | 
|    9 } |    9 } | 
|   10  |   10  | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   43     "wifi_data.cc", |   43     "wifi_data.cc", | 
|   44     "wifi_data.h", |   44     "wifi_data.h", | 
|   45     "wifi_data_provider.cc", |   45     "wifi_data_provider.cc", | 
|   46     "wifi_data_provider.h", |   46     "wifi_data_provider.h", | 
|   47     "wifi_data_provider_chromeos.cc", |   47     "wifi_data_provider_chromeos.cc", | 
|   48     "wifi_data_provider_chromeos.h", |   48     "wifi_data_provider_chromeos.h", | 
|   49     "wifi_data_provider_common.cc", |   49     "wifi_data_provider_common.cc", | 
|   50     "wifi_data_provider_common.h", |   50     "wifi_data_provider_common.h", | 
|   51     "wifi_data_provider_common_win.cc", |   51     "wifi_data_provider_common_win.cc", | 
|   52     "wifi_data_provider_common_win.h", |   52     "wifi_data_provider_common_win.h", | 
|   53     "wifi_data_provider_corewlan_mac.mm", |  | 
|   54     "wifi_data_provider_linux.cc", |   53     "wifi_data_provider_linux.cc", | 
|   55     "wifi_data_provider_linux.h", |   54     "wifi_data_provider_linux.h", | 
|   56     "wifi_data_provider_mac.cc", |  | 
|   57     "wifi_data_provider_mac.h", |   55     "wifi_data_provider_mac.h", | 
 |   56     "wifi_data_provider_mac.mm", | 
|   58     "wifi_data_provider_manager.cc", |   57     "wifi_data_provider_manager.cc", | 
|   59     "wifi_data_provider_manager.h", |   58     "wifi_data_provider_manager.h", | 
|   60     "wifi_data_provider_win.cc", |   59     "wifi_data_provider_win.cc", | 
|   61     "wifi_data_provider_win.h", |   60     "wifi_data_provider_win.h", | 
|   62     "wifi_polling_policy.h", |   61     "wifi_polling_policy.h", | 
|   63   ] |   62   ] | 
|   64  |   63  | 
|   65   deps = [ |   64   deps = [ | 
|   66     "//base", |   65     "//base", | 
|   67     "//google_apis:google_apis", |   66     "//google_apis:google_apis", | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  101     sources -= [ |  100     sources -= [ | 
|  102       "empty_wifi_data_provider.cc", |  101       "empty_wifi_data_provider.cc", | 
|  103       "empty_wifi_data_provider.h", |  102       "empty_wifi_data_provider.h", | 
|  104     ] |  103     ] | 
|  105   } |  104   } | 
|  106   if (is_chromeos) { |  105   if (is_chromeos) { | 
|  107     deps += [ "//chromeos" ] |  106     deps += [ "//chromeos" ] | 
|  108   } |  107   } | 
|  109  |  108  | 
|  110   if (is_mac) { |  109   if (is_mac) { | 
|  111     libs = [ "Foundation.framework" ] |  110     libs = [ | 
 |  111       "CoreWLAN.framework", | 
 |  112       "Foundation.framework", | 
 |  113     ] | 
|  112   } |  114   } | 
|  113 } |  115 } | 
|  114  |  116  | 
|  115 if (is_android) { |  117 if (is_android) { | 
|  116   generate_jni("geolocation_jni_headers") { |  118   generate_jni("geolocation_jni_headers") { | 
|  117     sources = [ |  119     sources = [ | 
|  118       "android/java/org/chromium/device/geolocation/LocationProviderAdapter.java
     ", |  120       "android/java/org/chromium/device/geolocation/LocationProviderAdapter.java
     ", | 
|  119     ] |  121     ] | 
|  120     jni_package = "device" |  122     jni_package = "device" | 
|  121   } |  123   } | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  202   } |  204   } | 
|  203  |  205  | 
|  204   if (is_android) { |  206   if (is_android) { | 
|  205     sources -= [ |  207     sources -= [ | 
|  206       "network_location_provider_unittest.cc", |  208       "network_location_provider_unittest.cc", | 
|  207       "wifi_data_provider_common_unittest.cc", |  209       "wifi_data_provider_common_unittest.cc", | 
|  208     ] |  210     ] | 
|  209     deps += [ ":geolocation_java_test_support" ] |  211     deps += [ ":geolocation_java_test_support" ] | 
|  210   } |  212   } | 
|  211 } |  213 } | 
| OLD | NEW |