blob: 46bad3aa850b7bffeb7477f7597621a185bb6eec [file] [log] [blame]
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{
'variables': {
'cobalt_code': 1,
},
'targets': [
{
'target_name': 'cobalt',
'type': '<(final_executable_type)',
'sources': [
'main.cc',
],
'conditions': [
['OS=="lb_shell"', {
'dependencies': [
'<(DEPTH)/cobalt/browser/<(actual_target_arch)/platform_browser.gyp:platform_browser',
],
}],
['OS=="starboard"', {
'dependencies': [
'<(DEPTH)/cobalt/browser/starboard/platform_browser.gyp:platform_browser',
],
}],
['cobalt_copy_test_data == 1', {
'dependencies': [
'<(DEPTH)/cobalt/browser/browser.gyp:browser_copy_test_data',
'<(DEPTH)/cobalt/xhr/xhr.gyp:xhr_copy_test_data',
],
}],
['cobalt_copy_debug_console == 1', {
'dependencies': [
'<(DEPTH)/cobalt/browser/browser.gyp:browser_copy_debug_console',
],
}],
],
},
{
'target_name': 'cobalt_deploy',
'type': 'none',
'dependencies': [
'cobalt',
],
'variables': {
'executable_name': 'cobalt',
},
'includes': [ '../build/deploy.gypi' ],
},
{
'target_name': 'snapshot_app_stats',
'type': '<(final_executable_type)',
'sources': [
'snapshot_app_stats.cc',
],
'dependencies': [
'cobalt',
],
'conditions': [
['OS=="lb_shell"', {
'dependencies': [
'<(DEPTH)/cobalt/browser/<(actual_target_arch)/platform_browser.gyp:platform_browser',
],
}],
['OS=="starboard"', {
'dependencies': [
'<(DEPTH)/cobalt/browser/starboard/platform_browser.gyp:platform_browser',
],
}],
],
},
{
'target_name': 'snapshot_app_stats_deploy',
'type': 'none',
'dependencies': [
'snapshot_app_stats',
],
'variables': {
'executable_name': 'snapshot_app_stats',
},
'includes': [ '../build/deploy.gypi' ],
},
],
}