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 'generated_src_dir': 'src/chromium_gensrc', | 7 'generated_src_dir': 'src/chromium_gensrc', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'defines': [ | 10 'defines': [ |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 ], | 675 ], |
676 }, | 676 }, |
677 'conditions': [ | 677 'conditions': [ |
678 ['OS=="win"', { | 678 ['OS=="win"', { |
679 'defines': [ | 679 'defines': [ |
680 'BUILD_GL32', | 680 'BUILD_GL32', |
681 'KEYWORD1=GLAPI', | 681 'KEYWORD1=GLAPI', |
682 'KEYWORD2=GLAPIENTRY', | 682 'KEYWORD2=GLAPIENTRY', |
683 ], | 683 ], |
684 }], | 684 }], |
685 ['OS=="linux"', { | |
686 'link_settings': { | |
687 'libraries': [ | |
688 '-ldl', | |
689 '-lm', | |
690 '-lstdc++', | |
691 ], | |
692 }, | |
693 }], | |
694 ], | 685 ], |
695 'include_dirs': [ | 686 'include_dirs': [ |
696 'src/src/mapi', | 687 'src/src/mapi', |
697 'src/src/mesa', | 688 'src/src/mesa', |
698 'src/src/mesa/drivers', | 689 'src/src/mesa/drivers', |
699 '<(generated_src_dir)/mesa', | 690 '<(generated_src_dir)/mesa', |
700 ], | 691 ], |
701 'msvs_disabled_warnings': [ | 692 'msvs_disabled_warnings': [ |
702 4005, 4018, 4065, 4090, 4099, 4291, 4345, 4267, | 693 4005, 4018, 4065, 4090, 4099, 4291, 4345, 4267, |
703 ], | 694 ], |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 '<(PRODUCT_DIR)/libosmesa.so', | 731 '<(PRODUCT_DIR)/libosmesa.so', |
741 '<(SHARED_LIB_DIR)/libosmesa.so', | 732 '<(SHARED_LIB_DIR)/libosmesa.so', |
742 ], | 733 ], |
743 }, | 734 }, |
744 ], | 735 ], |
745 }, | 736 }, |
746 ], | 737 ], |
747 }], | 738 }], |
748 ], | 739 ], |
749 } | 740 } |
OLD | NEW |