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

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Created 4 years 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 4030 matching lines...) Expand 10 before | Expand all | Expand 10 after
4041 } 4041 }
4042 4042
4043 if (is_win) { 4043 if (is_win) {
4044 static_library("chrome_process_finder") { 4044 static_library("chrome_process_finder") {
4045 sources = [ 4045 sources = [
4046 "win/chrome_process_finder.cc", 4046 "win/chrome_process_finder.cc",
4047 "win/chrome_process_finder.h", 4047 "win/chrome_process_finder.h",
4048 ] 4048 ]
4049 deps = [ 4049 deps = [
4050 "//base", 4050 "//base",
4051 "//chrome/browser/policy:path_parser",
4051 "//chrome/common:constants", 4052 "//chrome/common:constants",
4052 ] 4053 ]
4053 if (enable_configuration_policy) {
4054 deps += [ "//chrome/browser/policy:path_parser" ]
4055 }
4056 } 4054 }
4057 } 4055 }
4058 4056
4059 source_set("theme_properties") { 4057 source_set("theme_properties") {
4060 sources = [ 4058 sources = [
4061 "themes/theme_properties.h", 4059 "themes/theme_properties.h",
4062 ] 4060 ]
4063 } 4061 }
4064 4062
4065 proto_library("resource_prefetch_predictor_proto") { 4063 proto_library("resource_prefetch_predictor_proto") {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
4170 "media/webrtc/fake_desktop_media_list.cc", 4168 "media/webrtc/fake_desktop_media_list.cc",
4171 "media/webrtc/fake_desktop_media_list.h", 4169 "media/webrtc/fake_desktop_media_list.h",
4172 "net/dns_probe_test_util.cc", 4170 "net/dns_probe_test_util.cc",
4173 "net/dns_probe_test_util.h", 4171 "net/dns_probe_test_util.h",
4174 "net/url_request_mock_util.cc", 4172 "net/url_request_mock_util.cc",
4175 "net/url_request_mock_util.h", 4173 "net/url_request_mock_util.h",
4176 "notifications/notification_test_util.cc", 4174 "notifications/notification_test_util.cc",
4177 "notifications/notification_test_util.h", 4175 "notifications/notification_test_util.h",
4178 "notifications/stub_notification_platform_bridge.cc", 4176 "notifications/stub_notification_platform_bridge.cc",
4179 "notifications/stub_notification_platform_bridge.h", 4177 "notifications/stub_notification_platform_bridge.h",
4178 "policy/test/local_policy_test_server.cc",
4179 "policy/test/local_policy_test_server.h",
4180 "search_engines/template_url_service_factory_test_util.cc", 4180 "search_engines/template_url_service_factory_test_util.cc",
4181 "search_engines/template_url_service_factory_test_util.h", 4181 "search_engines/template_url_service_factory_test_util.h",
4182 "search_engines/template_url_service_test_util.cc", 4182 "search_engines/template_url_service_test_util.cc",
4183 "search_engines/template_url_service_test_util.h", 4183 "search_engines/template_url_service_test_util.h",
4184 "signin/fake_account_fetcher_service_builder.cc", 4184 "signin/fake_account_fetcher_service_builder.cc",
4185 "signin/fake_account_fetcher_service_builder.h", 4185 "signin/fake_account_fetcher_service_builder.h",
4186 "signin/fake_gaia_cookie_manager_service_builder.cc", 4186 "signin/fake_gaia_cookie_manager_service_builder.cc",
4187 "signin/fake_gaia_cookie_manager_service_builder.h", 4187 "signin/fake_gaia_cookie_manager_service_builder.h",
4188 "signin/fake_profile_oauth2_token_service_builder.cc", 4188 "signin/fake_profile_oauth2_token_service_builder.cc",
4189 "signin/fake_profile_oauth2_token_service_builder.h", 4189 "signin/fake_profile_oauth2_token_service_builder.h",
(...skipping 22 matching lines...) Expand all
4212 ] 4212 ]
4213 deps = [ 4213 deps = [
4214 "//chrome/app/theme:theme_resources", 4214 "//chrome/app/theme:theme_resources",
4215 "//chrome/browser", 4215 "//chrome/browser",
4216 "//chrome/common", 4216 "//chrome/common",
4217 "//chrome/common/safe_browsing:proto", 4217 "//chrome/common/safe_browsing:proto",
4218 "//components/browser_sync:test_support", 4218 "//components/browser_sync:test_support",
4219 "//components/invalidation/impl", 4219 "//components/invalidation/impl",
4220 "//components/invalidation/impl:test_support", 4220 "//components/invalidation/impl:test_support",
4221 "//components/password_manager/core/browser:test_support", 4221 "//components/password_manager/core/browser:test_support",
4222 "//components/policy/core/browser:test_support",
4222 "//components/prefs:test_support", 4223 "//components/prefs:test_support",
4223 "//components/search_engines:test_support", 4224 "//components/search_engines:test_support",
4224 "//components/sessions:test_support", 4225 "//components/sessions:test_support",
4225 "//components/subresource_filter/core/browser:test_support", 4226 "//components/subresource_filter/core/browser:test_support",
4226 "//components/subresource_filter/core/common:test_support", 4227 "//components/subresource_filter/core/common:test_support",
4227 "//components/sync_preferences:test_support", 4228 "//components/sync_preferences:test_support",
4228 "//components/user_prefs/tracked:user_prefs_tracked_test_support", 4229 "//components/user_prefs/tracked:user_prefs_tracked_test_support",
4229 "//content/test:test_support", 4230 "//content/test:test_support",
4230 "//google_apis:test_support", 4231 "//google_apis:test_support",
4231 "//net:test_support", 4232 "//net:test_support",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
4310 "chromeos/policy/fake_device_cloud_policy_manager.h", 4311 "chromeos/policy/fake_device_cloud_policy_manager.h",
4311 "chromeos/settings/device_settings_test_helper.cc", 4312 "chromeos/settings/device_settings_test_helper.cc",
4312 "chromeos/settings/device_settings_test_helper.h", 4313 "chromeos/settings/device_settings_test_helper.h",
4313 "chromeos/settings/stub_install_attributes.cc", 4314 "chromeos/settings/stub_install_attributes.cc",
4314 "chromeos/settings/stub_install_attributes.h", 4315 "chromeos/settings/stub_install_attributes.h",
4315 ] 4316 ]
4316 configs += [ "//build/config/linux/dbus" ] 4317 configs += [ "//build/config/linux/dbus" ]
4317 deps += [ "//chromeos:test_support" ] 4318 deps += [ "//chromeos:test_support" ]
4318 } 4319 }
4319 4320
4320 if (enable_configuration_policy) {
4321 sources += [
4322 "policy/test/local_policy_test_server.cc",
4323 "policy/test/local_policy_test_server.h",
4324 ]
4325 public_deps += [ "//components/policy/core/browser:test_support" ]
4326 }
4327
4328 if (safe_browsing_mode == 1) { 4321 if (safe_browsing_mode == 1) {
4329 sources += [ 4322 sources += [
4330 "extensions/fake_safe_browsing_database_manager.cc", 4323 "extensions/fake_safe_browsing_database_manager.cc",
4331 "extensions/fake_safe_browsing_database_manager.h", 4324 "extensions/fake_safe_browsing_database_manager.h",
4332 ] 4325 ]
4333 } 4326 }
4334 4327
4335 if (enable_extensions) { 4328 if (enable_extensions) {
4336 sources += [ 4329 sources += [
4337 "extensions/api/messaging/native_messaging_test_util.cc", 4330 "extensions/api/messaging/native_messaging_test_util.cc",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
4437 # linking all of the test support. 4430 # linking all of the test support.
4438 static_library("pepper_cdm_test_constants") { 4431 static_library("pepper_cdm_test_constants") {
4439 testonly = true 4432 testonly = true
4440 visibility = [ "//chrome/*" ] 4433 visibility = [ "//chrome/*" ]
4441 sources = [ 4434 sources = [
4442 "media/pepper_cdm_test_constants.cc", 4435 "media/pepper_cdm_test_constants.cc",
4443 "media/pepper_cdm_test_constants.h", 4436 "media/pepper_cdm_test_constants.h",
4444 ] 4437 ]
4445 } 4438 }
4446 } 4439 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | components/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698