Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
| 8 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
| 9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
| 10 # standard Chrome. | 10 # standard Chrome. |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 396 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' , | 396 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources' , |
| 397 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 397 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
| 398 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', | 398 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', |
| 399 ], | 399 ], |
| 400 'conditions': [ | 400 'conditions': [ |
| 401 ['OS!="android"', { | 401 ['OS!="android"', { |
| 402 'dependencies': [ | 402 'dependencies': [ |
| 403 'browser/devtools/devtools_resources.gyp:devtools_resources', | 403 'browser/devtools/devtools_resources.gyp:devtools_resources', |
| 404 ], | 404 ], |
| 405 }], | 405 }], |
| 406 ['OS=="android"', { | |
| 407 'copies': [ | |
| 408 { | |
| 409 'destination': '<(PRODUCT_DIR)', | |
| 410 'files': [ | |
| 411 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak' | |
| 412 ], | |
| 413 }, | |
| 414 ], | |
| 415 }], | |
| 416 ['toolkit_views==1', { | 406 ['toolkit_views==1', { |
| 417 'dependencies': [ | 407 'dependencies': [ |
| 418 '<(DEPTH)/ui/views/resources/views_resources.gyp:views_resources' | 408 '<(DEPTH)/ui/views/resources/views_resources.gyp:views_resources' |
| 419 ], | 409 ], |
| 420 }], | 410 }], |
| 421 ], | 411 ], |
| 422 'actions': [ | 412 'actions': [ |
| 423 { | 413 { |
| 424 'action_name': 'repack_content_shell_pack', | 414 'action_name': 'repack_content_shell_pack', |
| 425 'variables': { | 415 'variables': { |
| 426 'pak_inputs': [ | 416 'pak_inputs': [ |
| 427 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources .pak', | 417 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources .pak', |
| 428 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res ources_100_percent.pak', | 418 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res ources_100_percent.pak', |
| 429 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource s_100_percent.pak', | 419 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource s_100_percent.pak', |
| 430 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak', | 420 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak', |
| 431 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', | 421 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resour ces.pak', |
| 432 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 422 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 433 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | 423 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
| 434 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 424 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| 435 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak', | 425 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak', |
| 436 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', | 426 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', |
| 437 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak', | 427 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak', |
| 438 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 428 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
| 439 ], | 429 ], |
| 430 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', | |
| 440 'conditions': [ | 431 'conditions': [ |
| 441 ['toolkit_views==1', { | 432 ['toolkit_views==1', { |
| 442 'pak_inputs': [ | 433 'pak_inputs': [ |
| 443 '<(SHARED_INTERMEDIATE_DIR)/ui/views/resources/views_resources _100_percent.pak', | 434 '<(SHARED_INTERMEDIATE_DIR)/ui/views/resources/views_resources _100_percent.pak', |
| 444 ], | 435 ], |
| 445 }], | 436 }], |
| 446 ['OS!="android"', { | 437 ['OS!="android"', { |
| 447 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resour ces.pak',], | 438 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resour ces.pak',], |
| 448 'pak_output': '<(PRODUCT_DIR)/content_shell.pak', | |
| 449 }, { | |
| 450 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell .pak', | |
| 451 }], | 439 }], |
| 452 ], | 440 ], |
| 453 }, | 441 }, |
| 454 'includes': [ '../build/repack_action.gypi' ], | 442 'includes': [ '../build/repack_action.gypi' ], |
| 455 }, | 443 }, |
| 456 ], | 444 ], |
| 457 }, | 445 }, |
| 458 { | 446 { |
| 459 # GN version: //content/shell:content_shell | 447 # GN version: //content/shell:content_shell |
| 460 'target_name': 'content_shell', | 448 'target_name': 'content_shell', |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 914 'jinja_inputs': ['shell/android/shell_apk/AndroidManifest.xml.jinja2 '], | 902 'jinja_inputs': ['shell/android/shell_apk/AndroidManifest.xml.jinja2 '], |
| 915 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_shell_manifest/A ndroidManifest.xml', | 903 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_shell_manifest/A ndroidManifest.xml', |
| 916 }, | 904 }, |
| 917 'includes': [ '../build/android/jinja_template.gypi' ], | 905 'includes': [ '../build/android/jinja_template.gypi' ], |
| 918 }, | 906 }, |
| 919 { | 907 { |
| 920 # GN version: //content/shell/android:content_shell_apk | 908 # GN version: //content/shell/android:content_shell_apk |
| 921 'target_name': 'content_shell_apk', | 909 'target_name': 'content_shell_apk', |
| 922 'type': 'none', | 910 'type': 'none', |
| 923 'dependencies': [ | 911 'dependencies': [ |
| 924 'content.gyp:content_icudata', | 912 'content.gyp:content_shell_assets_copy', |
| 925 'content.gyp:content_java', | 913 'content.gyp:content_java', |
| 926 'content.gyp:content_v8_external_data', | |
| 927 'content_java_test_support', | 914 'content_java_test_support', |
| 928 'content_shell_java', | 915 'content_shell_java', |
| 929 'libcontent_shell_content_view', | 916 'libcontent_shell_content_view', |
| 930 '../base/base.gyp:base_java', | 917 '../base/base.gyp:base_java', |
| 931 '../media/media.gyp:media_java', | 918 '../media/media.gyp:media_java', |
| 932 '../net/net.gyp:net_java', | 919 '../net/net.gyp:net_java', |
| 933 '../third_party/mesa/mesa.gyp:osmesa_in_lib_dir', | 920 '../third_party/mesa/mesa.gyp:osmesa_in_lib_dir', |
| 934 '../tools/android/forwarder/forwarder.gyp:forwarder', | 921 '../tools/android/forwarder/forwarder.gyp:forwarder', |
| 935 '../tools/imagediff/image_diff.gyp:image_diff#host', | 922 '../tools/imagediff/image_diff.gyp:image_diff#host', |
| 936 '../ui/android/ui_android.gyp:ui_java', | 923 '../ui/android/ui_android.gyp:ui_java', |
| 937 ], | 924 ], |
| 938 'variables': { | 925 'variables': { |
| 939 'apk_name': 'ContentShell', | 926 'apk_name': 'ContentShell', |
| 940 'manifest_package_name': 'org.chromium.content_shell_apk', | 927 'manifest_package_name': 'org.chromium.content_shell_apk', |
| 941 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_shell_m anifest/AndroidManifest.xml', | 928 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_shell_m anifest/AndroidManifest.xml', |
| 942 'java_in_dir': 'shell/android/shell_apk', | 929 'java_in_dir': 'shell/android/shell_apk', |
| 943 'resource_dir': 'shell/android/shell_apk/res', | 930 'resource_dir': 'shell/android/shell_apk/res', |
| 944 'native_lib_target': 'libcontent_shell_content_view', | 931 'native_lib_target': 'libcontent_shell_content_view', |
| 945 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], | 932 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], |
| 946 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', | 933 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', |
| 947 'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'], | 934 'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'], |
| 948 'conditions': [ | 935 'conditions': [ |
| 949 ['icu_use_data_file_flag==1', { | 936 ['icu_use_data_file_flag==1', { |
| 950 'additional_input_paths': [ | 937 'additional_input_paths': [ |
| 951 '<(PRODUCT_DIR)/icudtl.dat', | 938 '<(PRODUCT_DIR)/content_shell/assets/icudtl.dat', |
|
jbudorick
2015/10/26 23:02:04
<(asset_location)/icudtl.dat
michaelbai
2015/10/27 01:10:42
Done.
| |
| 952 ], | 939 ], |
| 953 }], | 940 }], |
| 954 ['v8_use_external_startup_data==1', { | 941 ['v8_use_external_startup_data==1', { |
| 955 'additional_input_paths': [ | 942 'additional_input_paths': [ |
| 956 '<(PRODUCT_DIR)/natives_blob.bin', | 943 '<(PRODUCT_DIR)/content_shell/assets/natives_blob_<(arch_suffi x).bin', |
|
jbudorick
2015/10/26 23:02:04
similarly, <(asset_location)/native_blob_<(arch_su
michaelbai
2015/10/27 01:10:42
Done.
| |
| 957 '<(PRODUCT_DIR)/snapshot_blob.bin', | 944 '<(PRODUCT_DIR)/content_shell/assets/snapshot_blob_<(arch_suff ix).bin', |
|
jbudorick
2015/10/26 23:02:04
here too
michaelbai
2015/10/27 01:10:42
Done.
| |
| 958 ], | 945 ], |
| 959 }], | 946 }], |
| 960 ], | 947 ], |
| 961 }, | 948 }, |
| 962 'includes': [ '../build/java_apk.gypi' ], | 949 'includes': [ |
| 950 '../build/android/v8_external_startup_data_arch_suffix.gypi', | |
| 951 '../build/java_apk.gypi', | |
| 952 ], | |
| 963 }, | 953 }, |
| 964 ], | 954 ], |
| 965 }], # OS=="android" | 955 }], # OS=="android" |
| 966 ['OS=="win"', { | 956 ['OS=="win"', { |
| 967 'targets': [ | 957 'targets': [ |
| 968 { | 958 { |
| 969 # GN version: //content/shell:crash_service | 959 # GN version: //content/shell:crash_service |
| 970 'target_name': 'content_shell_crash_service', | 960 'target_name': 'content_shell_crash_service', |
| 971 'type': 'executable', | 961 'type': 'executable', |
| 972 'dependencies': [ | 962 'dependencies': [ |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1015 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1005 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1016 '--destination_dir', '<(dest_dir)', | 1006 '--destination_dir', '<(dest_dir)', |
| 1017 ], | 1007 ], |
| 1018 }, | 1008 }, |
| 1019 ], | 1009 ], |
| 1020 }, | 1010 }, |
| 1021 ], | 1011 ], |
| 1022 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1012 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1023 ] | 1013 ] |
| 1024 } | 1014 } |
| OLD | NEW |