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

Side by Side Diff: chrome/chrome_test_support.gypi

Issue 2321703002: Remove all gyp[i] files in //chrome (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 | « chrome/chrome_syzygy.gypi ('k') | chrome/chrome_watcher/chrome_watcher.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 # Create a test support APK, and allow a test apk to depend on it, without the t est
6 # apk incorporating the test support apk's Java code.
7 #
8 # Inputs:
9 # test_support_apk_name - the name of the test support apk
10 # test_support_apk_target - a GYP target name to use internally in this file.
11 # test_support_apk_manifest_path - the full path of the manifest file for the test
12 # support apk
13 # test_support_dependencies - The dependencies of the test support APK. This s hould
14 # include all the APK's code.
15 #
16 # The corresponding test apk should depend on "require_<(test_support_apk_target )"
17 # It should not depend on "<(test_support_apk_target)" since, if it does, the te st
18 # apk will incorporate the code of the test support apk.
19 {
20 'conditions': [
21 ['OS=="android"', {
22 'variables' : {
23 'test_support_apk_path': '<(PRODUCT_DIR)/apks/<(test_support_apk_name).a pk'
24 },
25 'targets': [
26 {
27 'target_name': '<(test_support_apk_target)',
28 'type': 'none',
29 'dependencies': ['<@(test_support_apk_dependencies)',],
30 'variables': {
31 'apk_name': '<(test_support_apk_name)',
32 'final_apk_path': '<(test_support_apk_path)',
33 'java_in_dir': '<(DEPTH)/chrome/android/javatests',
34 'java_in_dir_suffix': '/src_dummy',
35 'android_manifest_path': '<(test_support_apk_manifest_path)',
36 },
37 'includes': [
38 '../build/java_apk.gypi',
39 ],
40 },
41 {
42 # This emulates gn's datadeps fields, allowing other APKs to declare
43 # that they require that this APK be built without including the
44 # test_support's code.
45 'target_name': 'require_<(test_support_apk_target)',
46 'type': 'none',
47 'actions': [
48 {
49 'action_name': 'require_<(test_support_apk_name)',
50 'message': 'Making sure <(test_support_apk_path) has been built.',
51 'variables': {
52 'required_file': '<(PRODUCT_DIR)/test_support_apk/<(test_support _apk_name).apk.required',
53 },
54 'inputs': [
55 '<(test_support_apk_path)',
56 ],
57 'outputs': [
58 '<(required_file)',
59 ],
60 'action': [
61 'python', '<(DEPTH)/build/android/gyp/touch.py', '<(required_fil e)',
62 ],
63 },
64 ],
65 },
66 ],
67 }],
68 ],
69 }
OLDNEW
« no previous file with comments | « chrome/chrome_syzygy.gypi ('k') | chrome/chrome_watcher/chrome_watcher.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698