Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1300)

Unified Diff: third_party/custom_tabs_client/BUILD.gn

Issue 1358243006: Port custom_tabs_client from GYP to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/secondary/third_party/android_tools/BUILD.gn ('k') | tools/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/custom_tabs_client/BUILD.gn
diff --git a/third_party/custom_tabs_client/BUILD.gn b/third_party/custom_tabs_client/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..830c70a86af4c5632905c1c32a8f99c3d5df7544
--- /dev/null
+++ b/third_party/custom_tabs_client/BUILD.gn
@@ -0,0 +1,49 @@
+# 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.
+
+import("//build/config/android/rules.gni")
+
+android_resources("chrome_tabs_client_example_apk_resources") {
+ resource_dirs = [ "src/Application/src/main/res" ]
+ android_manifest = "src/Application/src/main/AndroidManifest.xml"
+ custom_package = "org.chromium.customtabsclient"
+}
+
+android_apk("custom_tabs_client_example_apk") {
+ DEPRECATED_java_in_dir = "src/Application/src/main/java"
+ android_manifest = "src/Application/src/main/AndroidManifest.xml"
+ apk_name = "CustomTabsClientExample"
+ deps = [
+ ":chrome_tabs_client_example_apk_resources",
+ ":custom_tabs_support_lib",
+ ":custom_tabs_client_shared_lib",
+ ]
+ chromium_code = false
+}
+
+android_library("custom_tabs_client_shared_lib") {
+ DEPRECATED_java_in_dir =
+ "src/shared/src/main/java/org/chromium/customtabsclient/shared"
+ deps = [
+ ":custom_tabs_support_lib",
+ ]
+}
+
+android_library("custom_tabs_support_lib") {
+ DEPRECATED_java_in_dir = "src/customtabs/src"
+ deps = [
+ "//third_party/android_tools:android_support_annotations_javalib",
+ ]
+ srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ]
+}
+
+android_aidl("chrome_custom_tabs_service_aidl") {
+ interface_file = "common.aidl"
+
+ java_in_dir = "src/customtabs/src/android/support/customtabs"
+ sources = [
+ "$java_in_dir/ICustomTabsCallback.aidl",
+ "$java_in_dir/ICustomTabsService.aidl",
+ ]
+}
« no previous file with comments | « build/secondary/third_party/android_tools/BUILD.gn ('k') | tools/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698