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

Side by Side Diff: remoting/remoting.gyp

Issue 16031003: Build both v1 and v2 apps on the bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « no previous file | remoting/webapp/appsv2.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 10
(...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after
2019 ], 2019 ],
2020 'process_outputs_as_sources': 1, 2020 'process_outputs_as_sources': 1,
2021 'message': 'Running message compiler on <(RULE_INPUT_PATH).', 2021 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
2022 }, 2022 },
2023 ], 2023 ],
2024 }], 2024 }],
2025 ], # end of 'conditions' 2025 ], # end of 'conditions'
2026 }, # end of target 'remoting_host_event_logger' 2026 }, # end of target 'remoting_host_event_logger'
2027 2027
2028 { 2028 {
2029 'target_name': 'remoting_webapp', 2029 'target_name': 'remoting_webapp',
Sergey Ulanov 2013/05/24 21:39:42 Why build both webapps as part of the same target?
Jamie 2013/05/25 03:30:45 I don't feel strongly one way or the other, but on
weitao 2013/05/28 17:22:33 I will keep the v1 and v2 builds in the same targe
Sergey Ulanov 2013/05/29 02:15:16 Well, then we could have two targets remoting_weba
2030 'type': 'none', 2030 'type': 'none',
2031 'dependencies': [ 2031 'dependencies': [
2032 'remoting_resources', 2032 'remoting_resources',
2033 'remoting_host_plugin', 2033 'remoting_host_plugin',
2034 ], 2034 ],
2035 'sources': [ 2035 'sources': [
2036 'webapp/build-webapp.py', 2036 'webapp/build-webapp.py',
2037 '<(remoting_version_path)', 2037 '<(remoting_version_path)',
2038 '<(chrome_version_path)', 2038 '<(chrome_version_path)',
2039 '<@(remoting_webapp_patch_files)', 2039 '<@(remoting_webapp_patch_files)',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 }, { 2074 }, {
2075 'variables': { 2075 'variables': {
2076 'remoting_webapp_patch_files': [], 2076 'remoting_webapp_patch_files': [],
2077 'remoting_webapp_apps_v2_js_files': [], 2077 'remoting_webapp_apps_v2_js_files': [],
2078 }, 2078 },
2079 }], 2079 }],
2080 ], 2080 ],
2081 2081
2082 # Can't use a 'copies' because we need to manipulate 2082 # Can't use a 'copies' because we need to manipulate
2083 # the manifest file to get the right plugin name. 2083 # the manifest file to get the right plugin name.
2084 # Also we need to move the plugin into the me2mom 2084 # Also we need to move the plugin into the me2mom
Lambros 2013/05/24 19:28:24 nit: s/me2mom/webapp I'm not sure this whole comm
Jamie 2013/05/25 03:30:45 Sgtm
weitao 2013/05/28 17:22:33 Removed.
2085 # folder, which means 2 copies, and gyp doesn't 2085 # folder, which means 2 copies, and gyp doesn't
2086 # seem to guarantee the ordering of 2 copies statements 2086 # seem to guarantee the ordering of 2 copies statements
2087 # when the actual project is generated. 2087 # when the actual project is generated.
2088 'actions': [ 2088 'actions': [
2089 { 2089 {
2090 'action_name': 'Build Remoting WebApp', 2090 'action_name': 'Build Remoting WebApp',
2091 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', 2091 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
2092 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', 2092 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
2093 'inputs': [ 2093 'inputs': [
2094 'webapp/build-webapp.py', 2094 'webapp/build-webapp.py',
2095 '<(remoting_version_path)', 2095 '<(remoting_version_path)',
2096 '<(chrome_version_path)', 2096 '<(chrome_version_path)',
2097 '<@(remoting_webapp_files)',
2098 '<@(remoting_webapp_js_files)',
2099 '<@(remoting_webapp_locale_files)',
2100 ],
2101 'conditions': [
2102 ['enable_remoting_host==1', {
2103 'inputs': [
2104 '<(plugin_path)',
2105 ],
2106 }],
2107 ],
2108 'outputs': [
2109 '<(_output_dir)',
2110 '<(_zip_path)',
2111 ],
2112 'action': [
2113 'python', 'webapp/build-webapp.py',
2114 '<(buildtype)',
2115 '<(version_full)',
2116 '<(host_plugin_mime_type)',
2117 '<(_output_dir)',
2118 '<(_zip_path)',
2119 '<(plugin_path)',
2120 '<@(remoting_webapp_files)',
2121 '<@(remoting_webapp_js_files)',
2122 '<@(remoting_webapp_apps_v2_js_files)',
Lambros 2013/05/24 19:28:24 Remove apps_v2_js_files from here? You've already
weitao 2013/05/28 17:22:33 Removed and sorted.
2123 '--locales',
2124 '<@(remoting_webapp_locale_files)',
2125 ],
2126 'msvs_cygwin_shell': 1,
2127 },
2128 {
2129 'action_name': 'Build Remoting WebApp V2',
2130 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.V2',
2131 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.V2.zip',
2132 'inputs': [
2133 'webapp/build-webapp.py',
2134 '<(remoting_version_path)',
2135 '<(chrome_version_path)',
2097 '<@(remoting_webapp_patch_files)', 2136 '<@(remoting_webapp_patch_files)',
2098 '<@(remoting_webapp_files)', 2137 '<@(remoting_webapp_files)',
2099 '<@(remoting_webapp_js_files)', 2138 '<@(remoting_webapp_js_files)',
2100 '<@(remoting_webapp_apps_v2_js_files)', 2139 '<@(remoting_webapp_apps_v2_js_files)',
2101 '<@(remoting_webapp_locale_files)', 2140 '<@(remoting_webapp_locale_files)',
2102 ], 2141 ],
2103 'conditions': [ 2142 'conditions': [
2104 ['enable_remoting_host==1', { 2143 ['enable_remoting_host==1', {
2105 'inputs': [ 2144 'inputs': [
2106 '<(plugin_path)', 2145 '<(plugin_path)',
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 '../base/allocator/allocator.gyp:allocator', 2800 '../base/allocator/allocator.gyp:allocator',
2762 ], 2801 ],
2763 }, 2802 },
2764 ], 2803 ],
2765 ], 2804 ],
2766 }], # end of 'toolkit_uses_gtk == 1' 2805 }], # end of 'toolkit_uses_gtk == 1'
2767 ], # end of 'conditions' 2806 ], # end of 'conditions'
2768 }, # end of target 'remoting_unittests' 2807 }, # end of target 'remoting_unittests'
2769 ], # end of targets 2808 ], # end of targets
2770 } 2809 }
OLDNEW
« no previous file with comments | « no previous file | remoting/webapp/appsv2.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698