Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / components / chrome_apps.gypi
blob4d01ece34f3c6e5e9af7b023fb7a5e7a60c3a1d3
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.
5   'variables': {
6     'chromium_code': 1,
7     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components/chrome_apps',
8   },
9   'targets': [
10     {
11       'target_name': 'chrome_apps_resources',
12       'type': 'none',
13       'actions': [
14         {
15           'action_name': 'chrome_apps_resources',
16           'variables': {
17             'grit_grd_file': 'chrome_apps/chrome_apps_resources.grd',
18           },
19           'includes': [ '../build/grit_action.gypi' ],
20         },
21       ],
22       'includes': [ '../build/grit_target.gypi' ],
23       'copies': [
24         {
25           'destination': '<(PRODUCT_DIR)',
26           'files': [
27             '<(SHARED_INTERMEDIATE_DIR)/components/chrome_apps/chrome_apps_resources.pak',
28           ],
29         },
30       ],
31     },
32     {
33       'target_name': 'chrome_apps',
34       'type': '<(component)',
35       'dependencies': [
36         '../base/base.gyp:base',
37         'chrome_apps_resources',
38       ],
39       'defines': [
40         'CHROME_APPS_IMPLEMENTATION',
41       ],
42       'sources': [
43         '<(grit_out_dir)/grit/chrome_apps_resources_map.cc',
44         '<(grit_out_dir)/grit/chrome_apps_resources_map.h',
45         'chrome_apps/chrome_apps_export.h',
46         'chrome_apps/chrome_apps_resource_util.cc',
47         'chrome_apps/chrome_apps_resource_util.h',
48       ]
49     }
50   ]