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

Unified Diff: components/policy/tools/generate_policy_source.py

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/policy/proto/policy_proto_export.h ('k') | components/search_engines/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/tools/generate_policy_source.py
diff --git a/components/policy/tools/generate_policy_source.py b/components/policy/tools/generate_policy_source.py
index a8311c5d67cb01ff7f5333ec5a7efe1662fce7bb..04445612e51e84db03ddbd97a2e572c1794141c3 100755
--- a/components/policy/tools/generate_policy_source.py
+++ b/components/policy/tools/generate_policy_source.py
@@ -660,16 +660,16 @@ class SchemaNodesGenerator:
self.properties_nodes)
def _WritePolicyConstantSource(policies, os, f, riskTags):
- f.write('#include "policy/policy_constants.h"\n'
+ f.write('#include "components/policy/policy_constants.h"\n'
'\n'
'#include <algorithm>\n'
'#include <climits>\n'
'\n'
'#include "base/logging.h"\n'
'#include "base/memory/ptr_util.h"\n'
- '#include "policy/risk_tag.h"\n'
'#include "components/policy/core/common/policy_types.h"\n'
'#include "components/policy/core/common/schema_internal.h"\n'
+ '#include "components/policy/risk_tag.h"\n'
'\n'
'namespace policy {\n'
'\n')
@@ -1017,8 +1017,8 @@ CPP_HEAD = '''
#include "components/policy/core/common/external_data_fetcher.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
-#include "policy/policy_constants.h"
-#include "policy/proto/cloud_policy.pb.h"
+#include "components/policy/policy_constants.h"
+#include "components/policy/proto/cloud_policy.pb.h"
using google::protobuf::RepeatedPtrField;
« no previous file with comments | « components/policy/proto/policy_proto_export.h ('k') | components/search_engines/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698