Index: components/sync/protocol/protocol_sources.gni |
diff --git a/components/sync/protocol/protocol_sources.gni b/components/sync/protocol/protocol_sources.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f703074c84d7b4896171db5dacbcd561863cb589 |
--- /dev/null |
+++ b/components/sync/protocol/protocol_sources.gni |
@@ -0,0 +1,14 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+protocol_gypi = exec_script( |
+ "//build/gypi_to_gn.py", |
+ [ |
+ rebase_path("//components/sync/protocol/protocol.gypi"), |
+ "--replace=<(sync_proto_sources_dir)=//components/sync/protocol", |
+ ], |
+ "scope", |
+ [ "//components/sync/protocol/protocol.gypi" ]) |
+ |
+sync_protocol_sources = protocol_gypi.sync_proto_source_paths |