sources = gypi_values.c_source_files
}
+# Some targets need to depend on the PPAPI version only. This target exists so
+# they can include this header without header check warnings.
+source_set("ppapi_macros") {
+ sources = [ "c/pp_macros.h" ]
+}
+
source_set("ppapi_cpp_objects") {
sources = gypi_values.cpp_source_files
"PPAPI_THUNK_IMPLEMENTATION",
]
+ public_deps = [
+ blink_target,
+ ]
deps = [
":ppapi_c",
"//base",
} else if (is_win) {
cflags = [ "/wd4267" ] # size_t to int truncation.
}
-
- deps += [ blink_target ]
- forward_dependent_configs_from = [ blink_target ]
}
source_set("ppapi_ipc") {
"proxy/var_serialization_rules.h",
]
+ defines = [ "PPAPI_PROXY_IMPLEMENTATION" ]
+
deps = [
":ppapi_c",
":ppapi_shared",
}
static_library("ppapi_unittest_shared") {
+ testonly = true
sources = [
"proxy/ppapi_proxy_test.cc",
"proxy/ppapi_proxy_test.h",