Index: sky/sdk/example/game/apk/BUILD.gn |
diff --git a/third_party/okhttp/BUILD.gn b/sky/sdk/example/game/apk/BUILD.gn |
similarity index 55% |
copy from third_party/okhttp/BUILD.gn |
copy to sky/sdk/example/game/apk/BUILD.gn |
index d84c51cad1601da0c35ff48ad86dda1106b1917e..4e64a21984e23802e563cc52c209b98039758869 100644 |
--- a/third_party/okhttp/BUILD.gn |
+++ b/sky/sdk/example/game/apk/BUILD.gn |
@@ -1,17 +1,12 @@ |
# Copyright 2015 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. |
+assert(is_android) |
+import("//build/config/android/config.gni") |
import("//build/config/android/rules.gni") |
-android_java_prebuilt("okio") { |
- jar_path = "okio-1.2.0.jar" |
-} |
- |
-android_java_prebuilt("okhttp") { |
- jar_path = "okhttp-2.2.0.jar" |
- |
- deps = [ |
- ":okio", |
- ] |
+android_resources("resources") { |
+ resource_dirs = [ "res" ] |
+ android_manifest = "AndroidManifest.xml" |
} |