Index: tools/gn/example/hello_static.cc |
diff --git a/mojo/services/public/interfaces/surfaces/surface_id.mojom b/tools/gn/example/hello_static.cc |
similarity index 69% |
copy from mojo/services/public/interfaces/surfaces/surface_id.mojom |
copy to tools/gn/example/hello_static.cc |
index 5a7686da33112b7d5d64204c42d5f6da6efadc39..cdf4e67b05c2fa40eda9e2729c30e3f0bb55ee13 100644 |
--- a/mojo/services/public/interfaces/surfaces/surface_id.mojom |
+++ b/tools/gn/example/hello_static.cc |
@@ -2,10 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module mojo { |
- |
-struct SurfaceId { |
- uint64 id; |
-}; |
+#include "hello_static.h" |
+const char* GetStaticText() { |
+ return "Hello"; |
} |