Index: tools/json_schema_compiler/cpp_bundle_generator.py |
diff --git a/tools/json_schema_compiler/cpp_bundle_generator.py b/tools/json_schema_compiler/cpp_bundle_generator.py |
index 62c754b3993e92350eb3805c342664d2e2497432..0a4f9a6c7a8f4391de68e439bfcd0a94a99f1bec 100644 |
--- a/tools/json_schema_compiler/cpp_bundle_generator.py |
+++ b/tools/json_schema_compiler/cpp_bundle_generator.py |
@@ -183,8 +183,9 @@ class _APICCGenerator(object): |
c = code.Code() |
c.Append(cpp_util.CHROMIUM_LICENSE) |
c.Append() |
- c.Append('#include "%s"' % (os.path.join(self._bundle._source_file_dir, |
- 'generated_api.h'))) |
+ c.Append('#include "%s"' % ( |
+ os.path.join(self._bundle._impl_dir, |
+ 'generated_api_registration.h'))) |
c.Append() |
for namespace in self._bundle._model.namespaces.values(): |
namespace_name = namespace.unix_name.replace("experimental_", "") |