summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/oak/oak.gyp2
-rw-r--r--ui/oak/oak.h8
-rw-r--r--ui/oak/oak_window.cc1
3 files changed, 6 insertions, 5 deletions
diff --git a/ui/oak/oak.gyp b/ui/oak/oak.gyp
index b564b99..f69b2ba 100644
--- a/ui/oak/oak.gyp
+++ b/ui/oak/oak.gyp
@@ -10,7 +10,7 @@
'targets': [
{
'target_name': 'oak',
- 'type': 'static_library',
+ 'type': '<(component)',
'dependencies': [
'../../base/base.gyp:base',
'../../base/base.gyp:base_i18n',
diff --git a/ui/oak/oak.h b/ui/oak/oak.h
index 47af72e..757ebad 100644
--- a/ui/oak/oak.h
+++ b/ui/oak/oak.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_OAK_OAK_WINDOW_H_
-#define ASH_OAK_OAK_WINDOW_H_
+#ifndef UI_OAK_OAK_H_
+#define UI_OAK_OAK_H_
#pragma once
#include "ui/oak/oak_export.h"
@@ -11,8 +11,8 @@
namespace oak {
// Shows the Oak window. Refocuses an existing one.
-void ShowOakWindow();
+OAK_EXPORT void ShowOakWindow();
} // namespace oak
-#endif // ASH_OAK_OAK_WINDOW_H_
+#endif // UI_OAK_OAK_H_
diff --git a/ui/oak/oak_window.cc b/ui/oak/oak_window.cc
index 6777b7e..5266336 100644
--- a/ui/oak/oak_window.cc
+++ b/ui/oak/oak_window.cc
@@ -4,6 +4,7 @@
#include "ui/oak/oak_window.h"
+#include "ui/oak/oak.h"
#include "base/utf_string_conversions.h"
#include "grit/ui_resources.h"
#include "ui/aura/root_window.h"