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

Side by Side Diff: build/apk_test.gypi

Issue 2331893004: Remove GYP files in breakpad, build, and tools. (Closed)
Patch Set: 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 | « build/apk_fake_jar.gypi ('k') | build/buildflag_header.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 (c) 2012 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 # This file is meant to be included into a target to provide a rule
6 # to build APK based test suites.
7 #
8 # To use this, create a gyp target with the following form:
9 # {
10 # 'target_name': 'test_suite_name_apk',
11 # 'type': 'none',
12 # 'variables': {
13 # 'test_suite_name': 'test_suite_name', # string
14 # 'input_jars_paths': ['/path/to/test_suite.jar', ... ], # list
15 # },
16 # 'includes': ['path/to/this/gypi/file'],
17 # }
18 #
19
20 {
21 'dependencies': [
22 '<(DEPTH)/base/base.gyp:base_java',
23 '<(DEPTH)/build/android/pylib/device/commands/commands.gyp:chromium_commands ',
24 '<(DEPTH)/build/android/pylib/remote/device/dummy/dummy.gyp:require_remote_d evice_dummy_apk',
25 '<(DEPTH)/testing/android/appurify_support.gyp:appurify_support_java',
26 '<(DEPTH)/testing/android/on_device_instrumentation.gyp:reporter_java',
27 '<(DEPTH)/testing/android/native_test.gyp:native_test_java',
28 '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
29 ],
30 'conditions': [
31 ['OS == "android"', {
32 'variables': {
33 # These are used to configure java_apk.gypi included below.
34 'test_type': 'gtest',
35 'apk_name': '<(test_suite_name)',
36 'intermediate_dir': '<(PRODUCT_DIR)/<(test_suite_name)_apk',
37 'generated_src_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/<(test_suite_name)_ jinja', ],
38 'final_apk_path': '<(intermediate_dir)/<(test_suite_name)-debug.apk',
39 'java_in_dir': '<(DEPTH)/build/android/empty',
40 'native_lib_target': 'lib<(test_suite_name)',
41 # TODO(yfriedman, cjhopman): Support managed installs for gtests.
42 'gyp_managed_install': 0,
43 'variables': {
44 'use_native_activity%': "false",
45 'android_manifest_path%': '',
46 },
47 'use_native_activity%': '<(use_native_activity)',
48 'jinja_variables': [
49 'native_library_name=<(test_suite_name)',
50 'use_native_activity=<(use_native_activity)',
51 ],
52 'conditions': [
53 ['component == "shared_library"', {
54 'jinja_variables': [
55 'is_component_build=true',
56 ],
57 }, {
58 'jinja_variables': [
59 'is_component_build=false',
60 ],
61 }],
62 ['android_manifest_path == ""', {
63 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/<(test_suite_n ame)_jinja/AndroidManifest.xml',
64 'manifest_template': '<(DEPTH)/testing/android/native_test/java',
65 }, {
66 'android_manifest_path%': '<(android_manifest_path)',
67 'manifest_template': '',
68 }],
69 ],
70 },
71 'conditions': [
72 ['manifest_template != ""', {
73 'variables': {
74 'jinja_inputs': '<(manifest_template)/AndroidManifest.xml.jinja2',
75 'jinja_output': '<(android_manifest_path)',
76 },
77 'includes': ['android/jinja_template.gypi'],
78 }],
79 ],
80 'includes': [ 'java_apk.gypi', 'android/test_runner.gypi' ],
81 }], # 'OS == "android"
82 ], # conditions
83 }
OLDNEW
« no previous file with comments | « build/apk_fake_jar.gypi ('k') | build/buildflag_header.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698