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

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

Issue 386943006: Pull buildtools to get GN r282653 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « components/autofill/content/browser/BUILD.gn ('k') | device/media_transfer_protocol/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 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 if (is_component_build) { 9 if (is_component_build) {
10 component("policy_component") { 10 component("policy_component") {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 rebase_path(protobuf_decoder_path, root_build_dir), 85 rebase_path(protobuf_decoder_path, root_build_dir),
86 os, 86 os,
87 chromeos_flag, 87 chromeos_flag,
88 rebase_path("resources/policy_templates.json", root_build_dir), 88 rebase_path("resources/policy_templates.json", root_build_dir),
89 ] 89 ]
90 } 90 }
91 91
92 proto_library("cloud_policy_proto_generated_compile") { 92 proto_library("cloud_policy_proto_generated_compile") {
93 sources = [ cloud_policy_proto_path ] 93 sources = [ cloud_policy_proto_path ]
94 94
95 proto_in_dir = policy_gen_dir
96 proto_out_dir = "policy/proto" 95 proto_out_dir = "policy/proto"
97 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:" 96 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
98 cc_include = "components/policy/policy_proto_export.h" 97 cc_include = "components/policy/policy_proto_export.h"
99 defines = [ "POLICY_PROTO_COMPILATION" ] 98 defines = [ "POLICY_PROTO_COMPILATION" ]
100 99
101 deps = [ 100 deps = [
102 ":cloud_policy_code_generate", 101 ":cloud_policy_code_generate",
103 ] 102 ]
104 } 103 }
105 104
106 # This target builds the "full" protobuf, used for tests only. 105 # This target builds the "full" protobuf, used for tests only.
107 proto_library("chrome_settings_proto_generated_compile") { 106 proto_library("chrome_settings_proto_generated_compile") {
108 sources = [ chrome_settings_proto_path ] 107 sources = [ chrome_settings_proto_path ]
109 proto_in_dir = policy_gen_dir
110 proto_out_dir = "policy/proto" 108 proto_out_dir = "policy/proto"
111 109
112 deps = [ 110 deps = [
113 ":cloud_policy_code_generate", 111 ":cloud_policy_code_generate",
114 ":cloud_policy_proto_generated_compile", 112 ":cloud_policy_proto_generated_compile",
115 ] 113 ]
116 } 114 }
117 115
118 static_library("policy") { 116 static_library("policy") {
119 sources = [ 117 sources = [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ":policy_component", 176 ":policy_component",
179 ":test_support", 177 ":test_support",
180 "//components/policy/proto", 178 "//components/policy/proto",
181 "//testing/gmock", 179 "//testing/gmock",
182 "//testing/gtest", 180 "//testing/gtest",
183 ] 181 ]
184 } 182 }
185 } 183 }
186 184
187 #TODO(GYP) policy templates, chrome_manifest_bundle 185 #TODO(GYP) policy templates, chrome_manifest_bundle
OLDNEW
« no previous file with comments | « components/autofill/content/browser/BUILD.gn ('k') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698