Index: third_party/custom_tabs_client/custom_tabs_client.gyp |
diff --git a/third_party/custom_tabs_client/custom_tabs_client.gyp b/third_party/custom_tabs_client/custom_tabs_client.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1294ecbff947f83ccf94db0ab33b2a21a7ec6d42 |
--- /dev/null |
+++ b/third_party/custom_tabs_client/custom_tabs_client.gyp |
@@ -0,0 +1,52 @@ |
+# Copyright (c) 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. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'custom_tabs_client_example_apk', |
+ 'type': 'none', |
+ 'variables': { |
+ 'java_in_dir': 'src/Application/src/main/', |
+ 'java_in_dir_suffix': 'java/', |
+ 'resource_dir': '<(java_in_dir)/res', |
+ 'apk_name': 'CustomTabsClientExample', |
+ 'run_findbugs': 0, |
+ }, |
+ 'dependencies': [ |
+ 'custom_tabs_support_lib', |
+ ], |
+ 'includes': [ '../../build/java_apk.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'custom_tabs_support_lib', |
+ 'type': 'none', |
+ 'variables': { |
+ 'java_in_dir': 'src/customtabs/src/', |
+ 'java_in_dir_suffix': '', |
+ }, |
+ 'dependencies': [ |
+ 'chrome_custom_tabs_service_aidl', |
+ '../android_tools/android_tools.gyp:android_support_annotations_javalib', |
+ ], |
+ 'includes': [ '../../build/java.gypi' ], |
+ }, |
+ { |
+ 'target_name': "chrome_custom_tabs_service_aidl", |
+ 'type': 'none', |
+ 'variables': { |
+ 'java_in_dir': 'src/customtabs/src/android/support/customtabs/', |
+ 'java_in_dir_suffix': '', |
+ # The filename should not end with ".aidl", as it upsets gradle. |
+ # 'aidl_interface_file': '<(java_in_dir)/common.aidl.txt', |
cjhopman
2015/08/12 22:52:32
Is this comment useful?
Yusuf
2015/08/12 22:54:05
No... Do you mind if I update that with a follow u
|
+ 'aidl_interface_file': 'common.aidl', |
+ }, |
+ 'sources': [ |
+ '<(java_in_dir)/ICustomTabsCallback.aidl', |
+ '<(java_in_dir)/ICustomTabsService.aidl', |
+ ], |
+ 'includes': [ '../../build/java_aidl.gypi' ], |
+ }, |
+ ], |
+} |