提交 44701367 编写于 作者: A Adam Barth

Merge pull request #2555 from abarth/use_glfw

Add a --use-glfw flag to //sky/tools/gn
......@@ -425,7 +425,10 @@ if (is_android) {
"//sky/shell/platform/glfw/window_impl.h",
]
deps += [ "//third_party/glfw" ]
deps += [
"//third_party/glfw",
"//ui/gl",
]
} else {
sources += [ "platform/linux/platform_view_linux.cc" ]
}
......
......@@ -97,6 +97,7 @@ def to_gn_args(args):
gn_args['enable_firebase'] = args.enable_firebase
gn_args['enable_gcm'] = args.enable_gcm
gn_args['use_glfw'] = args.use_glfw
return gn_args
......@@ -125,6 +126,7 @@ def parse_args(args):
parser.add_argument('--enable-firebase', action='store_true', default=False)
parser.add_argument('--enable-gcm', action='store_true', default=False)
parser.add_argument('--use-glfw', action='store_true', default=False)
return parser.parse_args(args)
......
......@@ -4,6 +4,8 @@
#include "sky/tools/sky_snapshot/loader.h"
#include <memory>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册