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 'lastchange_path': '../build/util/LASTCHANGE', | 7 'lastchange_path': '../build/util/LASTCHANGE', |
8 # 'branding_dir' is set in the 'conditions' section at the bottom. | 8 # 'branding_dir' is set in the 'conditions' section at the bottom. |
9 }, | 9 }, |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 # TODO(mark): <(branding_dir) should be defined by the | 325 # TODO(mark): <(branding_dir) should be defined by the |
326 # global condition block at the bottom of the file, but | 326 # global condition block at the bottom of the file, but |
327 # this doesn't work due to the following issue: | 327 # this doesn't work due to the following issue: |
328 # | 328 # |
329 # http://code.google.com/p/gyp/issues/detail?id=22 | 329 # http://code.google.com/p/gyp/issues/detail?id=22 |
330 # | 330 # |
331 # Remove this block once the above issue is fixed. | 331 # Remove this block once the above issue is fixed. |
332 [ 'branding == "Chrome"', { | 332 [ 'branding == "Chrome"', { |
333 'variables': { | 333 'variables': { |
334 'branding_dir': 'app/theme/google_chrome', | 334 'branding_dir': 'app/theme/google_chrome', |
| 335 'branding_dir_100': 'app/theme/default_100_percent/google_chrom
e', |
335 }, | 336 }, |
336 }, { # else branding!="Chrome" | 337 }, { # else branding!="Chrome" |
337 'variables': { | 338 'variables': { |
338 'branding_dir': 'app/theme/chromium', | 339 'branding_dir': 'app/theme/chromium', |
| 340 'branding_dir_100': 'app/theme/default_100_percent/chromium', |
339 }, | 341 }, |
340 }], | 342 }], |
341 ], | 343 ], |
342 }, | 344 }, |
343 { | 345 { |
344 'target_name': 'setup_unittests', | 346 'target_name': 'setup_unittests', |
345 'type': 'executable', | 347 'type': 'executable', |
346 'dependencies': [ | 348 'dependencies': [ |
347 'installer_util', | 349 'installer_util', |
348 'installer_util_strings', | 350 'installer_util_strings', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 ], | 417 ], |
416 }, | 418 }, |
417 ], | 419 ], |
418 }, | 420 }, |
419 ], | 421 ], |
420 }], | 422 }], |
421 ['OS=="linux" and branding=="Chrome"', { | 423 ['OS=="linux" and branding=="Chrome"', { |
422 'variables': { | 424 'variables': { |
423 # Always google_chrome since this only applies to branding==Chrome. | 425 # Always google_chrome since this only applies to branding==Chrome. |
424 'branding_dir': 'app/theme/google_chrome', | 426 'branding_dir': 'app/theme/google_chrome', |
| 427 'branding_dir_100': 'app/theme/default_100_percent/google_chrome', |
425 'version' : '<!(python <(version_py_path) -f ../chrome/VERSION -t "@MAJO
R@.@MINOR@.@BUILD@.@PATCH@")', | 428 'version' : '<!(python <(version_py_path) -f ../chrome/VERSION -t "@MAJO
R@.@MINOR@.@BUILD@.@PATCH@")', |
426 'revision' : '<!(python ../build/util/lastchange.py --revision-only)', | 429 'revision' : '<!(python ../build/util/lastchange.py --revision-only)', |
427 'packaging_files_common': [ | 430 'packaging_files_common': [ |
428 'installer/linux/internal/common/apt.include', | 431 'installer/linux/internal/common/apt.include', |
429 'installer/linux/internal/common/default-app.template', | 432 'installer/linux/internal/common/default-app.template', |
430 'installer/linux/internal/common/default-app-block.template', | 433 'installer/linux/internal/common/default-app-block.template', |
431 'installer/linux/internal/common/desktop.template', | 434 'installer/linux/internal/common/desktop.template', |
432 'installer/linux/internal/common/google-chrome/google-chrome.info', | 435 'installer/linux/internal/common/google-chrome/google-chrome.info', |
433 'installer/linux/internal/common/installer.include', | 436 'installer/linux/internal/common/installer.include', |
434 'installer/linux/internal/common/postinst.include', | 437 'installer/linux/internal/common/postinst.include', |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 { | 530 { |
528 'destination': '<(PRODUCT_DIR)/installer/common/', | 531 'destination': '<(PRODUCT_DIR)/installer/common/', |
529 'files': [ | 532 'files': [ |
530 '<@(packaging_files_common)', | 533 '<@(packaging_files_common)', |
531 ] | 534 ] |
532 }, | 535 }, |
533 # Additional theme resources needed for package building. | 536 # Additional theme resources needed for package building. |
534 { | 537 { |
535 'destination': '<(PRODUCT_DIR)/installer/theme/', | 538 'destination': '<(PRODUCT_DIR)/installer/theme/', |
536 'files': [ | 539 'files': [ |
537 'default_100_percent/<(branding_dir)/product_logo_16.png', | 540 '<(branding_dir_100)/product_logo_16.png', |
538 '<(branding_dir)/product_logo_22.png', | 541 '<(branding_dir)/product_logo_22.png', |
539 '<(branding_dir)/product_logo_24.png', | 542 '<(branding_dir)/product_logo_24.png', |
540 'default_100_percent/<(branding_dir)/product_logo_32.png', | 543 '<(branding_dir_100)/product_logo_32.png', |
541 '<(branding_dir)/product_logo_48.png', | 544 '<(branding_dir)/product_logo_48.png', |
542 '<(branding_dir)/product_logo_64.png', | 545 '<(branding_dir)/product_logo_64.png', |
543 '<(branding_dir)/product_logo_128.png', | 546 '<(branding_dir)/product_logo_128.png', |
544 '<(branding_dir)/product_logo_256.png', | 547 '<(branding_dir)/product_logo_256.png', |
545 '<(branding_dir)/product_logo_32.xpm', | 548 '<(branding_dir)/product_logo_32.xpm', |
546 '<(branding_dir)/BRANDING', | 549 '<(branding_dir)/BRANDING', |
547 ], | 550 ], |
548 }, | 551 }, |
549 ], | 552 ], |
550 'actions': [ | 553 'actions': [ |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1032 ], | 1035 ], |
1033 'sources': [ | 1036 'sources': [ |
1034 'installer/gcapi_mac/gcapi_example_client.mm', | 1037 'installer/gcapi_mac/gcapi_example_client.mm', |
1035 ], | 1038 ], |
1036 }, | 1039 }, |
1037 ], # targets | 1040 ], # targets |
1038 }], # OS=="mac" | 1041 }], # OS=="mac" |
1039 [ 'branding == "Chrome"', { | 1042 [ 'branding == "Chrome"', { |
1040 'variables': { | 1043 'variables': { |
1041 'branding_dir': 'app/theme/google_chrome', | 1044 'branding_dir': 'app/theme/google_chrome', |
| 1045 'branding_dir_100': 'app/theme/default_100_percent/google_chrome', |
1042 }, | 1046 }, |
1043 }, { # else branding!="Chrome" | 1047 }, { # else branding!="Chrome" |
1044 'variables': { | 1048 'variables': { |
1045 'branding_dir': 'app/theme/chromium', | 1049 'branding_dir': 'app/theme/chromium', |
| 1050 'branding_dir_100': 'app/theme/default_100_percent/chromium', |
1046 }, | 1051 }, |
1047 }], | 1052 }], |
1048 ], | 1053 ], |
1049 } | 1054 } |
OLD | NEW |