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

Side by Side Diff: components/policy/core/common/BUILD.gn

Issue 1847063004: Remove "#pragma comment(lib" in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 source_set("common") { 7 source_set("common") {
8 visibility = [ 8 visibility = [
9 "//components/policy/*", 9 "//components/policy/*",
10 "//components/syncable_prefs/*", 10 "//components/syncable_prefs/*",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "//components/json_schema", 141 "//components/json_schema",
142 "//components/policy", 142 "//components/policy",
143 "//components/prefs", 143 "//components/prefs",
144 "//google_apis", 144 "//google_apis",
145 "//net", 145 "//net",
146 "//third_party/re2", 146 "//third_party/re2",
147 "//url", 147 "//url",
148 ] 148 ]
149 149
150 if (is_win) { 150 if (is_win) {
151 libs = [ "netapi32.lib" ] 151 libs = [
152 "netapi32.lib",
153 "shlwapi.lib",
154 "userenv.lib",
155 "ntdsapi.lib",
156 ]
152 } 157 }
153 if (is_android) { 158 if (is_android) {
154 sources += [ "cloud/component_cloud_policy_service_stub.cc" ] 159 sources += [ "cloud/component_cloud_policy_service_stub.cc" ]
155 sources -= [ 160 sources -= [
156 "cloud/component_cloud_policy_service.cc", 161 "cloud/component_cloud_policy_service.cc",
157 "cloud/component_cloud_policy_store.cc", 162 "cloud/component_cloud_policy_store.cc",
158 "cloud/component_cloud_policy_store.h", 163 "cloud/component_cloud_policy_store.h",
159 "cloud/component_cloud_policy_updater.cc", 164 "cloud/component_cloud_policy_updater.cc",
160 "cloud/component_cloud_policy_updater.h", 165 "cloud/component_cloud_policy_updater.h",
161 "cloud/external_policy_data_fetcher.cc", 166 "cloud/external_policy_data_fetcher.cc",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 "//components/policy:policy_component_test_support", 299 "//components/policy:policy_component_test_support",
295 "//components/prefs:test_support", 300 "//components/prefs:test_support",
296 "//components/prefs:test_support", 301 "//components/prefs:test_support",
297 "//google_apis", 302 "//google_apis",
298 "//net:test_support", 303 "//net:test_support",
299 "//testing/gmock", 304 "//testing/gmock",
300 "//testing/gtest", 305 "//testing/gtest",
301 ] 306 ]
302 } 307 }
303 } 308 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698