summaryrefslogtreecommitdiffstats
path: root/build/apk_fake_jar.gypi
blob: 2787691c3423358ad2f09e3d0faab1b77dd43dc0 (plain)
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
# Copyright 2013 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.

# This file is meant to be included into a target to provide a rule
# to build Java in a consistent manner.

{
  'all_dependent_settings': {
    'variables': {
      'input_jars_paths': ['>(apk_output_jar_path)'],
      'library_dexed_jars_paths': ['>(apk_output_jar_path)'],
    },
  },
  # Add an action with the appropriate output. This allows the generated
  # buildfiles to determine which target the output corresponds to.
  'actions': [
    {
      'action_name': 'fake_generate_jar',
      'inputs': [],
      'outputs': ['>(apk_output_jar_path)'],
      'action': [],
    },
  ],
}