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

Side by Side Diff: testing/android/on_device_instrumentation.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « testing/android/native_test.gyp ('k') | testing/chromoting/dependencies.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'conditions': [
7 ['OS=="android"', {
8 'variables' : {
9 'driver_apk_name': 'OnDeviceInstrumentationDriver',
10 'driver_apk_path': '<(PRODUCT_DIR)/apks/<(driver_apk_name).apk'
11 },
12 'targets': [
13 {
14 'target_name': 'reporter_java',
15 'type': 'none',
16 'dependencies': ['../../base/base.gyp:base_java'],
17 'variables': {
18 'java_in_dir': '../../testing/android/reporter/java',
19 },
20 'includes': [
21 '../../build/java.gypi',
22 ],
23 },
24 {
25 'target_name': 'broker_java',
26 'type': 'none',
27 'variables': {
28 'java_in_dir': '../../testing/android/broker/java',
29 },
30 'includes': [
31 '../../build/java.gypi',
32 ],
33 },
34 {
35 'target_name': 'driver_apk',
36 'type': 'none',
37 'dependencies': [
38 'broker_java',
39 'reporter_java',
40 'appurify_support.gyp:appurify_support_java',
41 '../../base/base.gyp:base_java_test_support',
42 ],
43 'variables': {
44 'apk_name': '<(driver_apk_name)',
45 'final_apk_path': '<(driver_apk_path)',
46 'java_in_dir': '../../testing/android/driver/java',
47 },
48 'includes': [
49 '../../build/java_apk.gypi',
50 ],
51 },
52 {
53 # This emulates gn's datadeps fields, allowing other APKs to declare
54 # that they require that this APK be built without including the
55 # driver's code.
56 'target_name': 'require_driver_apk',
57 'type': 'none',
58 'actions': [
59 {
60 'action_name': 'require_<(driver_apk_name)',
61 'message': 'Making sure <(driver_apk_path) has been built.',
62 'variables': {
63 'required_file': '<(PRODUCT_DIR)/driver_apk/<(driver_apk_name).a pk.required',
64 },
65 'inputs': [
66 '<(driver_apk_path)',
67 ],
68 'outputs': [
69 '<(required_file)',
70 ],
71 'action': [
72 'python', '../../build/android/gyp/touch.py', '<(required_file)' ,
73 ],
74 },
75 ],
76 },
77 ],
78 }],
79 ],
80 }
OLDNEW
« no previous file with comments | « testing/android/native_test.gyp ('k') | testing/chromoting/dependencies.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698