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

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

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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/ownership/BUILD.gn ('k') | components/policy/core/common/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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//components/policy/resources/policy_templates.gni") 7 import("//components/policy/resources/policy_templates.gni")
8 import("//third_party/protobuf/proto_library.gni") 8 import("//third_party/protobuf/proto_library.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 constants_header_path = "$policy_gen_dir/policy_constants.h" 75 constants_header_path = "$policy_gen_dir/policy_constants.h"
76 constants_source_path = "$policy_gen_dir/policy_constants.cc" 76 constants_source_path = "$policy_gen_dir/policy_constants.cc"
77 protobuf_decoder_path = "$policy_gen_dir/cloud_policy_generated.cc" 77 protobuf_decoder_path = "$policy_gen_dir/cloud_policy_generated.cc"
78 app_restrictions_path = "$policy_gen_dir/app_restrictions.xml" 78 app_restrictions_path = "$policy_gen_dir/app_restrictions.xml"
79 79
80 action("cloud_policy_code_generate") { 80 action("cloud_policy_code_generate") {
81 script = "tools/generate_policy_source.py" 81 script = "tools/generate_policy_source.py"
82 chrome_version_abspath = "//chrome/VERSION" 82 chrome_version_abspath = "//chrome/VERSION"
83 chrome_version_path = rebase_path(chrome_version_abspath, root_build_dir) 83 chrome_version_path = rebase_path(chrome_version_abspath, root_build_dir)
84 84
85 if (is_chromeos) { 85 if (use_cros_fe) {
86 chromeos_flag = "1" 86 chromeos_flag = "1"
87 } else { 87 } else {
88 chromeos_flag = "0" 88 chromeos_flag = "0"
89 } 89 }
90 90
91 inputs = [ 91 inputs = [
92 chrome_version_abspath, 92 chrome_version_abspath,
93 "resources/policy_templates.json", 93 "resources/policy_templates.json",
94 ] 94 ]
95 outputs = [ 95 outputs = [
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 "core/common/policy_test_utils.cc", 252 "core/common/policy_test_utils.cc",
253 "core/common/policy_test_utils.h", 253 "core/common/policy_test_utils.h",
254 "core/common/preferences_mock_mac.cc", 254 "core/common/preferences_mock_mac.cc",
255 "core/common/preferences_mock_mac.h", 255 "core/common/preferences_mock_mac.h",
256 "core/common/remote_commands/test_remote_command_job.cc", 256 "core/common/remote_commands/test_remote_command_job.cc",
257 "core/common/remote_commands/test_remote_command_job.h", 257 "core/common/remote_commands/test_remote_command_job.h",
258 "core/common/remote_commands/testing_remote_commands_server.cc", 258 "core/common/remote_commands/testing_remote_commands_server.cc",
259 "core/common/remote_commands/testing_remote_commands_server.h", 259 "core/common/remote_commands/testing_remote_commands_server.h",
260 ] 260 ]
261 261
262 if (is_chromeos) { 262 if (use_cros_fe) {
263 sources -= [ 263 sources -= [
264 "core/common/cloud/mock_user_cloud_policy_store.cc", 264 "core/common/cloud/mock_user_cloud_policy_store.cc",
265 "core/common/cloud/mock_user_cloud_policy_store.h", 265 "core/common/cloud/mock_user_cloud_policy_store.h",
266 ] 266 ]
267 } 267 }
268 268
269 deps = [ 269 deps = [
270 ":policy_component", 270 ":policy_component",
271 ":test_support", 271 ":test_support",
272 "//components/policy/proto", 272 "//components/policy/proto",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 group("app_restrictions_resources") { 333 group("app_restrictions_resources") {
334 deps = [ 334 deps = [
335 ":$build_config_target_name", 335 ":$build_config_target_name",
336 ":$zip_target_name", 336 ":$zip_target_name",
337 ] 337 ]
338 } 338 }
339 } 339 }
340 } 340 }
341 #TODO(GYP) chrome_manifest_bundle 341 #TODO(GYP) chrome_manifest_bundle
OLDNEW
« no previous file with comments | « components/ownership/BUILD.gn ('k') | components/policy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698