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

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

Issue 1810423002: [iOS/GN] Fix compilation of ios_chrome_unittests with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resources
Patch Set: Fix link error Created 4 years, 9 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 | « components/dom_distiller/ios/BUILD.gn ('k') | ios/chrome/browser/BUILD.gn » ('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 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 # GYP version: components/policy.gypi:policy_component_core_browser 7 # GYP version: components/policy.gypi:policy_component_core_browser
8 source_set("browser") { 8 source_set("browser") {
9 visibility = [ "//components/policy/*" ] 9 visibility = [ "//components/policy/*" ]
10 sources = [ 10 sources = [
11 # Note that these sources are always included, even for builds that disable 11 # Note that these sources are always included, even for builds that disable
12 # policy. Most source files should go in the conditional sources list 12 # policy. Most source files should go in the conditional sources list
13 # below. url_blacklist_manager.h is used by managed mode. 13 # below. url_blacklist_manager.h is used by managed mode.
14 "url_blacklist_manager.cc", 14 "url_blacklist_manager.cc",
15 "url_blacklist_manager.h", 15 "url_blacklist_manager.h",
16 ] 16 ]
17 17
18 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] 18 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ]
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//base/third_party/dynamic_annotations", 22 "//base/third_party/dynamic_annotations",
23 "//components/bookmarks/managed", 23 "//components/bookmarks/managed",
24 "//components/keyed_service/core", 24 "//components/keyed_service/core",
25 "//components/policy/core/common", 25 "//components/policy/core/common",
26 "//components/pref_registry", 26 "//components/pref_registry",
27 "//components/prefs", 27 "//components/prefs",
28 "//components/strings", 28 "//components/strings",
29 "//components/url_matcher", 29 "//components/url_matcher",
30 "//net",
30 "//ui/base", 31 "//ui/base",
31 ] 32 ]
32 33
33 if (is_android) { 34 if (is_android) {
34 sources += [ 35 sources += [
35 "android/android_combined_policy_provider.cc", 36 "android/android_combined_policy_provider.cc",
36 "android/android_combined_policy_provider.h", 37 "android/android_combined_policy_provider.h",
37 "android/component_jni_registrar.cc", 38 "android/component_jni_registrar.cc",
38 "android/component_jni_registrar.h", 39 "android/component_jni_registrar.h",
39 "android/policy_converter.cc", 40 "android/policy_converter.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 "//components/prefs:test_support", 103 "//components/prefs:test_support",
103 "//components/proxy_config", 104 "//components/proxy_config",
104 "//components/url_formatter", 105 "//components/url_formatter",
105 "//google_apis", 106 "//google_apis",
106 "//net", 107 "//net",
107 "//testing/gmock", 108 "//testing/gmock",
108 "//testing/gtest", 109 "//testing/gtest",
109 ] 110 ]
110 } 111 }
111 } 112 }
OLDNEW
« no previous file with comments | « components/dom_distiller/ios/BUILD.gn ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698