| # Copyright 2014 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/features.gni") |
| import("//build/config/nacl/config.gni") |
| import("//build/config/nacl/rules.gni") |
| import("//components/nacl/features.gni") |
| import("//components/nacl/target_cpu.gni") |
| import("//ppapi/buildflags/buildflags.gni") |
| import("//testing/test.gni") |
| if (is_mac) { |
| import("//build/config/mac/rules.gni") |
| } |
| |
| assert(enable_ppapi) |
| |
| # PPAPI is not supported (e.g. there is no effective sandbox) and must not be |
| # shipped for Chrome on Windows. |
| assert(!(is_win && is_official_build)) |
| |
| executable("pepper_hash_for_uma") { |
| sources = [ "tools/pepper_hash_for_uma.cc" ] |
| |
| deps = [ |
| "//base", |
| "//build/win:default_exe_manifest", |
| ] |
| } |
| |
| source_set("ppapi_gles2_lib") { |
| include_dirs = [ "lib/gl/include" ] |
| sources = [ |
| "lib/gl/gles2/gl2ext_ppapi.c", |
| "lib/gl/gles2/gl2ext_ppapi.h", |
| "lib/gl/gles2/gles2.c", |
| ] |
| deps = [ "//ppapi/cpp" ] |
| } |