summaryrefslogtreecommitdiff
path: root/gn/examples/simple_build/hello.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-11-18 12:57:48 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-12-04 17:11:30 +0000
commitcfab9198a9917f42cf08b1caf84ab9b71aac1911 (patch)
tree95c270fd507b85f633fe363836a0a834ea0fbd48 /gn/examples/simple_build/hello.cc
parent77c86be6077d3eee53d4b84ba5a2ff3b546e8324 (diff)
downloadqtwebengine-chromium-cfab9198a9917f42cf08b1caf84ab9b71aac1911.tar.gz
BASELINE: Update GN
Updated to last version before they required C++17 Change-Id: I27e599df6fdc4e9e9ff026a054ecc12842e3a4e3 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'gn/examples/simple_build/hello.cc')
-rw-r--r--gn/examples/simple_build/hello.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/gn/examples/simple_build/hello.cc b/gn/examples/simple_build/hello.cc
new file mode 100644
index 00000000000..c4aa4482949
--- /dev/null
+++ b/gn/examples/simple_build/hello.cc
@@ -0,0 +1,13 @@
+// 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 <stdio.h>
+
+#include "hello_shared.h"
+#include "hello_static.h"
+
+int main(int argc, char* argv[]) {
+ printf("%s, %s\n", GetStaticText(), GetSharedText());
+ return 0;
+}