OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 gypi_values = exec_script( | 5 gypi_values = exec_script( |
6 "//build/gypi_to_gn.py", | 6 "//build/gypi_to_gn.py", |
7 [ rebase_path("ppapi_sources.gypi") ], | 7 [ rebase_path("ppapi_sources.gypi") ], |
8 "scope", | 8 "scope", |
9 [ "ppapi_sources.gypi" ]) | 9 [ "ppapi_sources.gypi" ]) |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "lib/gl/gles2/gles2.c", | 61 "lib/gl/gles2/gles2.c", |
62 ] | 62 ] |
63 | 63 |
64 include_dirs = [ "lib/gl/include" ] | 64 include_dirs = [ "lib/gl/include" ] |
65 | 65 |
66 deps = [ | 66 deps = [ |
67 ":ppapi_c", | 67 ":ppapi_c", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 # TODO(GYP) bug 377890, re-enable this when it links. | 71 # TODO(brettw) argument list is too long. Need to add response files. |
72 #shared_library("ppapi_tests") { | 72 #shared_library("ppapi_tests") { |
73 # sources = gypi_values.test_common_source_files + | 73 # sources = gypi_values.test_common_source_files + |
74 # gypi_values.test_trusted_source_files | 74 # gypi_values.test_trusted_source_files |
75 # | 75 # |
76 # defines = [ "GL_GLEXT_PROTOTYPES" ] | 76 # defines = [ "GL_GLEXT_PROTOTYPES" ] |
77 # include_dirs = [ "lib/gl/include" ] | 77 # include_dirs = [ "lib/gl/include" ] |
78 # | 78 # |
79 # deps = [ | 79 # deps = [ |
80 # ":ppapi_cpp", | 80 # ":ppapi_cpp", |
81 # ":ppapi_shared", | 81 # ":ppapi_shared", |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 "//ui/surface", | 716 "//ui/surface", |
717 #blink_target, TODO(GYP) | 717 #blink_target, TODO(GYP) |
718 ] | 718 ] |
719 | 719 |
720 if (is_win) { | 720 if (is_win) { |
721 cflags = [ "/wd4267" ] # size_t to int truncation. | 721 cflags = [ "/wd4267" ] # size_t to int truncation. |
722 } | 722 } |
723 } | 723 } |
724 | 724 |
725 # TODO(GYP) other targets from ppapi_tests.gyp | 725 # TODO(GYP) other targets from ppapi_tests.gyp |
OLD | NEW |