summaryrefslogtreecommitdiffstats
path: root/remoting/app_remoting_webapp.gyp
blob: d05bd09118b44617a11fd4e84df619b85ed18d22 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2014 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.

{
  'includes': [
    '../remoting/remoting_locales.gypi',
    '../remoting/app_remoting_webapp_build.gypi',
  ],
  'target_defaults': {
    'variables': {
      'ar_internal': 0,
    },
   'conditions': [
      ['run_jscompile != 0', {
        'dependencies': [
          'app_remoting_webapp_compile.gypi:verify_main.html',
          'app_remoting_webapp_compile.gypi:verify_background.js',
          'app_remoting_webapp_compile.gypi:verify_feedback_consent.html',
        ],
      'inputs': [
        # Include zip as input so that this action is run after the build.
        '<(zip_path)',
      ],
      }],
    ], # conditions
  },
  'targets': [
    {
      # GN version: //remoting/webapp:ar_sample_app
      # Sample AppRemoting app.
      'target_name': 'ar_sample_app',
      'app_key': 'Sample_App',
      'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
      'app_client_id': 'sample_client_id',
      'app_name': 'App Remoting Client',
      'app_description': 'App Remoting client',
      'app_capabilities': ['GOOGLE_DRIVE', 'CLOUD_PRINT'],
      'manifest_key': 'remotingdevbuild',
    },
  ],  # end of targets
}