summaryrefslogtreecommitdiff
path: root/gn/examples/simple_build/hello_shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gn/examples/simple_build/hello_shared.cc')
-rw-r--r--gn/examples/simple_build/hello_shared.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gn/examples/simple_build/hello_shared.cc b/gn/examples/simple_build/hello_shared.cc
new file mode 100644
index 00000000000..58be84c27b4
--- /dev/null
+++ b/gn/examples/simple_build/hello_shared.cc
@@ -0,0 +1,9 @@
+// Copyright 2014 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.
+
+#include "hello_shared.h"
+
+const char* GetSharedText() {
+ return "world";
+}