De-duplicate BASE_IMPLEMENTATION define in the GN build.
[chromium-blink-merge.git] / remoting / app_remoting_webapp_files.gypi
blob0d5751c1ddb620a60c03572ee1565dcec452f002
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.
6   'variables': {
7     'ar_shared_resource_files': [
8       'webapp/app_remoting/html/ar_dialog.css',
9       'webapp/app_remoting/html/ar_main.css',
10       'webapp/app_remoting/html/feedback_consent.css',
11       'webapp/app_remoting/html/context_menu.css',
12       'resources/drag.webp',
13       '<@(remoting_webapp_resource_files)',
14     ],
16     # Variables for feedback_consent.html.
17     'ar_feedback_consent_template':
18       '<(DEPTH)/remoting/webapp/app_remoting/html/template_feedback_consent.html',
19     # These JS files are specific to the feedback consent page and are not part
20     # of the main JS files.
21     'ar_feedback_consent_html_js_files': [
22       'webapp/app_remoting/js/feedback_consent.js',
23     ],
25     # All the JavaScript files required by feedback_consent.html.
26     'ar_feedback_consent_html_all_js_files': [
27       'webapp/app_remoting/js/feedback_consent.js',
28       'webapp/base/js/base.js',
29       'webapp/crd/js/error.js',
30       'webapp/crd/js/oauth2_api.js',
31       'webapp/crd/js/oauth2_api_impl.js',
32       'webapp/crd/js/plugin_settings.js',
33       'webapp/crd/js/l10n.js',
34       'webapp/crd/js/xhr.js',
35     ],
37     # Variables for main.html.
38     # These template files are used to construct the webapp html files.
39     'ar_main_template':
40       '<(DEPTH)/remoting/webapp/app_remoting/html/template_lg.html',
41     'ar_main_template_files': [
42       'webapp/base/html/client_plugin.html',
43       'webapp/base/html/dialog_auth.html',
44       'webapp/app_remoting/html/context_menu.html',
45       'webapp/app_remoting/html/idle_dialog.html',
46     ],
47     'ar_main_js_files': [
48       'webapp/app_remoting/js/application_context_menu.js',
49       'webapp/app_remoting/js/app_remoting.js',
50       'webapp/app_remoting/js/ar_main.js',
51       'webapp/app_remoting/js/context_menu_adapter.js',
52       'webapp/app_remoting/js/context_menu_chrome.js',
53       'webapp/app_remoting/js/context_menu_dom.js',
54       'webapp/app_remoting/js/drag_and_drop.js',
55       'webapp/app_remoting/js/idle_detector.js',
56       'webapp/app_remoting/js/keyboard_layouts_menu.js',
57       'webapp/app_remoting/js/loading_window.js',
58       'webapp/app_remoting/js/submenu_manager.js',
59       'webapp/app_remoting/js/window_activation_menu.js',
60       'webapp/base/js/application.js',
61       'webapp/base/js/auth_dialog.js',
62       'webapp/base/js/base.js',
63       'webapp/base/js/message_window_helper.js',
64       'webapp/base/js/message_window_manager.js',
65       '<@(remoting_webapp_js_auth_client2host_files)',
66       '<@(remoting_webapp_js_auth_google_files)',
67       '<@(remoting_webapp_js_cast_extension_files)',
68       '<@(remoting_webapp_js_client_files)',
69       '<@(remoting_webapp_js_core_files)',
70       '<@(remoting_webapp_js_gnubby_auth_files)',
71       '<@(remoting_webapp_js_host_files)',
72       '<@(remoting_webapp_js_logging_files)',
73       '<@(remoting_webapp_js_signaling_files)',
74       '<@(remoting_webapp_js_ui_files)',
75     ],
77     'ar_background_js_files': [
78       'webapp/app_remoting/js/ar_background.js',
79       'webapp/base/js/platform.js',
80     ],
82     'ar_all_js_files': [
83       '<@(ar_main_js_files)',
84       '<@(ar_feedback_consent_html_js_files)',
85       '<@(remoting_webapp_message_window_html_js_files)',
86       '<@(remoting_webapp_wcs_sandbox_html_js_files)',
87       # Referenced from the manifest.
88       '<@(ar_background_js_files)',
89     ],
91     # Files that contain localizable strings.
92     'app_remoting_webapp_localizable_files': [
93       '<(ar_main_template)',
94       '<@(ar_main_template_files)',
95       '<(ar_feedback_consent_template)',
96       '<(remoting_webapp_template_message_window)',
97       '<(remoting_webapp_template_wcs_sandbox)',
98       '<@(ar_all_js_files)',
99     ],
101   },  # end of variables