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

Side by Side Diff: content/content_tests.gypi

Issue 1422793004: Reland Reland Switch Chrome Android using v8 arch specific external data name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dependences Created 5 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
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 'layouttest_support_content_sources': [ 7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h', 8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc', 9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h', 10 'public/test/nested_message_pump_android.h',
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 ], 1008 ],
1009 'dependencies': [ 1009 'dependencies': [
1010 '../ui/compositor/compositor.gyp:compositor', 1010 '../ui/compositor/compositor.gyp:compositor',
1011 '../third_party/libvpx_new/libvpx.gyp:libvpx_new', 1011 '../third_party/libvpx_new/libvpx.gyp:libvpx_new',
1012 ], 1012 ],
1013 }], 1013 }],
1014 ['OS=="android"', { 1014 ['OS=="android"', {
1015 'dependencies': [ 1015 'dependencies': [
1016 '../ui/android/ui_android.gyp:ui_android', 1016 '../ui/android/ui_android.gyp:ui_android',
1017 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', 1017 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1018 'content.gyp:content_v8_external_data', 1018 'content.gyp:content_shell_assets_copy',
1019 ], 1019 ],
1020 }], 1020 }],
1021 ['v8_use_external_startup_data==1 and OS!="ios"', { 1021 ['v8_use_external_startup_data==1 and OS!="ios"', {
1022 'dependencies': [ 1022 'dependencies': [
1023 '../gin/gin.gyp:gin', 1023 '../gin/gin.gyp:gin',
1024 ], 1024 ],
1025 }], 1025 }],
1026 ], 1026 ],
1027 }, 1027 },
1028 { 1028 {
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 'type': 'none', 1864 'type': 'none',
1865 'dependencies': [ 1865 'dependencies': [
1866 'content.gyp:content_java', 1866 'content.gyp:content_java',
1867 'content_unittests', 1867 'content_unittests',
1868 ], 1868 ],
1869 'conditions': [ 1869 'conditions': [
1870 ['v8_use_external_startup_data==1', { 1870 ['v8_use_external_startup_data==1', {
1871 'dependencies': [ 1871 'dependencies': [
1872 '../v8/tools/gyp/v8.gyp:v8_external_snapshot', 1872 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1873 ], 1873 ],
1874 'copies': [ 1874 'variables': {
1875 { 1875 'dest_path': '<(asset_location)',
1876 'destination': '<(asset_location)', 1876 'renaming_sources': [
1877 'files': [ 1877 '<(PRODUCT_DIR)/natives_blob.bin',
1878 '<(PRODUCT_DIR)/natives_blob.bin', 1878 '<(PRODUCT_DIR)/snapshot_blob.bin',
1879 '<(PRODUCT_DIR)/snapshot_blob.bin', 1879 ],
1880 ], 1880 'renaming_destinations': [
1881 }, 1881 'natives_blob_<(arch_suffix).bin',
1882 ], 1882 'snapshot_blob_<(arch_suffix).bin',
1883 ],
1884 'clear': 1,
1885 },
1886 'includes': ['../build/android/copy_ex.gypi'],
1883 }], 1887 }],
1884 ], 1888 ],
1885 'variables': { 1889 'variables': {
1886 'test_suite_name': 'content_unittests', 1890 'test_suite_name': 'content_unittests',
1887 'isolate_file': 'content_unittests.isolate', 1891 'isolate_file': 'content_unittests.isolate',
1888 'conditions': [ 1892 'conditions': [
1889 ['v8_use_external_startup_data==1', { 1893 ['v8_use_external_startup_data==1', {
1890 'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets', 1894 'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1891 'additional_input_paths': [ 1895 'additional_input_paths': [
1892 '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob.bin' , 1896 '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob_<(ar ch_suffix).bin',
jbudorick 2015/10/26 23:02:04 <(asset_location)/natives_blob_<(arch_suffix).bin
michaelbai 2015/10/27 01:10:42 wouldn't work, can use declared variable in the co
1893 '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob.bin ', 1897 '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob_<(a rch_suffix).bin',
jbudorick 2015/10/26 23:02:04 same
michaelbai 2015/10/27 01:10:42 ditto
1894 ], 1898 ],
1895 }], 1899 }],
1896 ], 1900 ],
1897 }, 1901 },
1898 'includes': [ '../build/apk_test.gypi' ], 1902 'includes': [
1903 '../build/apk_test.gypi',
1904 '../build/android/v8_external_startup_data_arch_suffix.gypi',
1905 ],
1899 }, 1906 },
1900 { 1907 {
1901 'target_name': 'content_shell_browsertests_java', 1908 'target_name': 'content_shell_browsertests_java',
1902 'type': 'none', 1909 'type': 'none',
1903 'dependencies': [ 1910 'dependencies': [
1904 'content.gyp:content_java', 1911 'content.gyp:content_java',
1905 'content_shell_java', 1912 'content_shell_java',
1906 '../base/base.gyp:base_java', 1913 '../base/base.gyp:base_java',
1907 '../testing/android/native_test.gyp:native_test_java', 1914 '../testing/android/native_test.gyp:native_test_java',
1908 '../ui/android/ui_android.gyp:ui_java', 1915 '../ui/android/ui_android.gyp:ui_java',
(...skipping 11 matching lines...) Expand all
1920 'jinja_inputs': ['shell/android/browsertests_apk/AndroidManifest.xml .jinja2'], 1927 'jinja_inputs': ['shell/android/browsertests_apk/AndroidManifest.xml .jinja2'],
1921 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_man ifest/AndroidManifest.xml', 1928 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_man ifest/AndroidManifest.xml',
1922 }, 1929 },
1923 'includes': [ '../build/android/jinja_template.gypi' ], 1930 'includes': [ '../build/android/jinja_template.gypi' ],
1924 }, 1931 },
1925 { 1932 {
1926 # TODO(GN) 1933 # TODO(GN)
1927 'target_name': 'content_browsertests_apk', 1934 'target_name': 'content_browsertests_apk',
1928 'type': 'none', 1935 'type': 'none',
1929 'dependencies': [ 1936 'dependencies': [
1930 'content.gyp:content_icudata', 1937 'content.gyp:content_shell_assets_copy',
1931 'content.gyp:content_java', 1938 'content.gyp:content_java',
1932 'content.gyp:content_v8_external_data',
1933 'content_browsertests', 1939 'content_browsertests',
1934 'content_shell_browsertests_java', 1940 'content_shell_browsertests_java',
1935 'content_java_test_support', 1941 'content_java_test_support',
1936 'content_shell_java', 1942 'content_shell_java',
1937 ], 1943 ],
1938 'variables': { 1944 'variables': {
1939 'test_suite_name': 'content_browsertests', 1945 'test_suite_name': 'content_browsertests',
1940 'isolate_file': 'content_browsertests.isolate', 1946 'isolate_file': 'content_browsertests.isolate',
1941 'java_in_dir': 'shell/android/browsertests_apk', 1947 'java_in_dir': 'shell/android/browsertests_apk',
1942 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_browser tests_manifest/AndroidManifest.xml', 1948 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_browser tests_manifest/AndroidManifest.xml',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1988 'includes': [ '../build/android/jinja_template.gypi' ], 1994 'includes': [ '../build/android/jinja_template.gypi' ],
1989 }, 1995 },
1990 { 1996 {
1991 # GN: //content/shell/android:chromium_linker_test_apk 1997 # GN: //content/shell/android:chromium_linker_test_apk
1992 'target_name': 'chromium_linker_test_apk', 1998 'target_name': 'chromium_linker_test_apk',
1993 'type': 'none', 1999 'type': 'none',
1994 'conditions': [ 2000 'conditions': [
1995 ['target_arch != "x64"', { 2001 ['target_arch != "x64"', {
1996 'dependencies': [ 2002 'dependencies': [
1997 'chromium_android_linker_test', 2003 'chromium_android_linker_test',
1998 'content.gyp:content_icudata', 2004 'content.gyp:content_shell_assets_copy',
1999 'content.gyp:content_java', 2005 'content.gyp:content_java',
2000 'content.gyp:content_v8_external_data',
2001 'content_shell_java', 2006 'content_shell_java',
2002 ], 2007 ],
2003 'variables': { 2008 'variables': {
2004 'apk_name': 'ChromiumLinkerTest', 2009 'apk_name': 'ChromiumLinkerTest',
2005 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chromium_li nker_test_manifest/AndroidManifest.xml', 2010 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chromium_li nker_test_manifest/AndroidManifest.xml',
2006 'java_in_dir': 'shell/android/linker_test_apk', 2011 'java_in_dir': 'shell/android/linker_test_apk',
2007 'resource_dir': 'shell/android/linker_test_apk/res', 2012 'resource_dir': 'shell/android/linker_test_apk/res',
2008 'native_lib_target': 'libchromium_android_linker_test', 2013 'native_lib_target': 'libchromium_android_linker_test',
2009 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'], 2014 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/ content_shell.pak'],
2010 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', 2015 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
2197 'content_unittests_apk.isolate', 2202 'content_unittests_apk.isolate',
2198 ], 2203 ],
2199 }, 2204 },
2200 ], 2205 ],
2201 }, 2206 },
2202 ], 2207 ],
2203 ], 2208 ],
2204 }], 2209 }],
2205 ], 2210 ],
2206 } 2211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698