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

Side by Side Diff: remoting/remoting.gyp

Issue 8599010: Setup JS unittests for Chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded includes Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 # Use consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
11 # is brand-dependent and is defined further down. 11 # is brand-dependent and is defined further down.
12 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 12 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host',
13 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.', 13 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.',
14
15 # Variables for common_constants (used by JS unittests).
16 'variables': {
17 'version_py_path': '../chrome/tools/build/version.py',
18 'version_path': '../chrome/VERSION',
19 },
20 'version_py_path': '<(version_py_path)',
21 'version_path': '<(version_path)',
22 'version_full':
23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU ILD@.@PATCH@")',
24
14 'conditions': [ 25 'conditions': [
15 ['OS=="mac"', { 26 ['OS=="mac"', {
16 'conditions': [ 27 'conditions': [
17 ['branding=="Chrome"', { 28 ['branding=="Chrome"', {
18 'mac_bundle_id': 'com.google.Chrome', 29 'mac_bundle_id': 'com.google.Chrome',
19 'mac_creator': 'rimZ', 30 'mac_creator': 'rimZ',
20 }, { # else: branding!="Chrome" 31 }, { # else: branding!="Chrome"
21 'mac_bundle_id': 'org.chromium.Chromium', 32 'mac_bundle_id': 'org.chromium.Chromium',
22 'mac_creator': 'Cr24', 33 'mac_creator': 'Cr24',
23 }], # branding 34 }], # branding
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 'webapp/me2mom/util.js', 140 'webapp/me2mom/util.js',
130 'webapp/me2mom/wcs.js', 141 'webapp/me2mom/wcs.js',
131 'webapp/me2mom/wcs_loader.js', 142 'webapp/me2mom/wcs_loader.js',
132 'webapp/me2mom/xhr.js', 143 'webapp/me2mom/xhr.js',
133 'resources/chromoting16.png', 144 'resources/chromoting16.png',
134 'resources/chromoting48.png', 145 'resources/chromoting48.png',
135 'resources/chromoting128.png', 146 'resources/chromoting128.png',
136 ], 147 ],
137 }, 148 },
138 149
150 'includes': [
151 # The common_constants target is needed for the JS unittests.
152 '../chrome/common_constants.gypi',
153 '../chrome/js_unittest_vars.gypi',
154 ],
155
139 'target_defaults': { 156 'target_defaults': {
140 'defines': [ 157 'defines': [
141 ], 158 ],
142 'include_dirs': [ 159 'include_dirs': [
143 '..', # Root of Chrome checkout 160 '..', # Root of Chrome checkout
144 ], 161 ],
145 }, 162 },
146 163
147 'conditions': [ 164 'conditions': [
148 ['os_posix == 1', { 165 ['os_posix == 1', {
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 'type': 'executable', 873 'type': 'executable',
857 'dependencies': [ 874 'dependencies': [
858 'remoting_base', 875 'remoting_base',
859 'remoting_client', 876 'remoting_client',
860 'remoting_host', 877 'remoting_host',
861 'remoting_jingle_glue', 878 'remoting_jingle_glue',
862 'remoting_protocol', 879 'remoting_protocol',
863 '../base/base.gyp:base', 880 '../base/base.gyp:base',
864 '../base/base.gyp:base_i18n', 881 '../base/base.gyp:base_i18n',
865 '../base/base.gyp:test_support_base', 882 '../base/base.gyp:test_support_base',
883 'common_constants',
866 '../media/media.gyp:media', 884 '../media/media.gyp:media',
867 '../ui/ui.gyp:ui',
868 '../testing/gmock.gyp:gmock', 885 '../testing/gmock.gyp:gmock',
869 '../testing/gtest.gyp:gtest', 886 '../testing/gtest.gyp:gtest',
887 '../ui/ui.gyp:ui',
888 '../v8/tools/gyp/v8.gyp:v8',
870 ], 889 ],
871 'include_dirs': [ 890 'include_dirs': [
872 '../testing/gmock/include', 891 '../testing/gmock/include',
873 ], 892 ],
893 'includes': [
894 '../chrome/js_unittest_rules.gypi',
895 ],
874 'sources': [ 896 'sources': [
897 '../chrome/test/base/v8_unit_test.cc',
898 '../chrome/test/base/v8_unit_test.h',
899 '../chrome/test/run_all_unittests.cc',
875 'base/auth_token_util_unittest.cc', 900 'base/auth_token_util_unittest.cc',
876 'base/codec_test.cc', 901 'base/codec_test.cc',
877 'base/codec_test.h', 902 'base/codec_test.h',
878 'base/compound_buffer_unittest.cc', 903 'base/compound_buffer_unittest.cc',
879 'base/compressor_zlib_unittest.cc', 904 'base/compressor_zlib_unittest.cc',
880 'base/decoder_vp8_unittest.cc', 905 'base/decoder_vp8_unittest.cc',
881 'base/decompressor_zlib_unittest.cc', 906 'base/decompressor_zlib_unittest.cc',
882 'base/encode_decode_unittest.cc', 907 'base/encode_decode_unittest.cc',
883 'base/encoder_vp8_unittest.cc', 908 'base/encoder_vp8_unittest.cc',
884 'base/encoder_row_based_unittest.cc', 909 'base/encoder_row_based_unittest.cc',
(...skipping 27 matching lines...) Expand all
912 'protocol/fake_session.cc', 937 'protocol/fake_session.cc',
913 'protocol/fake_session.h', 938 'protocol/fake_session.h',
914 'protocol/jingle_messages_unittest.cc', 939 'protocol/jingle_messages_unittest.cc',
915 'protocol/jingle_session_unittest.cc', 940 'protocol/jingle_session_unittest.cc',
916 'protocol/message_decoder_unittest.cc', 941 'protocol/message_decoder_unittest.cc',
917 'protocol/message_reader_unittest.cc', 942 'protocol/message_reader_unittest.cc',
918 'protocol/protocol_mock_objects.cc', 943 'protocol/protocol_mock_objects.cc',
919 'protocol/protocol_mock_objects.h', 944 'protocol/protocol_mock_objects.h',
920 'protocol/rtp_video_reader_unittest.cc', 945 'protocol/rtp_video_reader_unittest.cc',
921 'protocol/rtp_video_writer_unittest.cc', 946 'protocol/rtp_video_writer_unittest.cc',
922 'run_all_unittests.cc', 947 'webapp/me2mom/debug_log.gtestjs',
948 'webapp/me2mom/debug_log.js',
923 ], 949 ],
924 'conditions': [ 950 'conditions': [
925 ['toolkit_uses_gtk == 1', { 951 ['toolkit_uses_gtk == 1', {
926 'dependencies': [ 952 'dependencies': [
927 # Needed for the following #include chain: 953 # Needed for the following #include chain:
928 # base/run_all_unittests.cc 954 # base/run_all_unittests.cc
929 # ../base/test_suite.h 955 # ../base/test_suite.h
930 # gtk/gtk.h 956 # gtk/gtk.h
931 '../build/linux/system.gyp:gtk', 957 '../build/linux/system.gyp:gtk',
932 '../build/linux/system.gyp:ssl', 958 '../build/linux/system.gyp:ssl',
933 ], 959 ],
934 'conditions': [ 960 'conditions': [
935 [ 'linux_use_tcmalloc==1', { 961 [ 'linux_use_tcmalloc==1', {
936 'dependencies': [ 962 'dependencies': [
937 '../base/allocator/allocator.gyp:allocator', 963 '../base/allocator/allocator.gyp:allocator',
938 ], 964 ],
939 }, 965 },
940 ], 966 ],
941 ], 967 ],
942 }], 968 }],
943 ], # end of 'conditions' 969 ], # end of 'conditions'
944 }, # end of target 'remoting_unittests' 970 }, # end of target 'remoting_unittests'
945 ], # end of targets 971 ], # end of targets
946 } 972 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698