Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tiagovignatti/b7e6154bda4b842105136205ec833b78 to your computer and use it in GitHub Desktop.
Save tiagovignatti/b7e6154bda4b842105136205ec833b78 to your computer and use it in GitHub Desktop.
diff --git a/BUILD.gn b/BUILD.gn
index f23ce3d..dd02030 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -882,7 +882,7 @@ if (is_android) {
java_targets = [ "//weblayer/shell/android:weblayer_support_apk" ]
}
} else {
- source_set("weblayer_lib") {
+ component("weblayer_lib") {
public_deps = [ ":weblayer_lib_base" ]
}
}
diff --git a/public/main.h b/public/main.h
index 7e0118f..15e396d 100644
--- a/public/main.h
+++ b/public/main.h
@@ -28,7 +28,7 @@ class MainDelegate {
base::OnceClosure quit_closure) = 0;
};
-struct MainParams {
+struct WEBLAYER_EXPORT MainParams {
MainParams();
MainParams(const MainParams& other);
~MainParams();
diff --git a/shell/BUILD.gn b/shell/BUILD.gn
index 7b157f8..ee90316 100644
--- a/shell/BUILD.gn
+++ b/shell/BUILD.gn
@@ -14,7 +14,7 @@ if (is_android) {
import("//build/config/android/config.gni")
}
-shared_library("webengine_shell_lib") {
+static_library("webengine_shell_lib") {
testonly = true
sources = [
"app/shell_main_params.cc",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment