1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# 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',
'custom_tabs_client_shared_lib',
],
'includes': [ '../../build/java_apk.gypi' ],
},
{
'target_name': 'custom_tabs_client_shared_lib',
'type': 'none',
'variables': {
'java_in_dir': 'src/shared/src/main/java/org/chromium/customtabsclient/shared/',
'java_in_dir_suffix': '',
},
'dependencies': [
'custom_tabs_support_lib',
],
'includes': [ '../../build/java.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_v13_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',
'aidl_interface_file': 'common.aidl',
},
'sources': [
'<(java_in_dir)/ICustomTabsCallback.aidl',
'<(java_in_dir)/ICustomTabsService.aidl',
],
'includes': [ '../../build/java_aidl.gypi' ],
},
],
}
|